Commit a9bab5fd authored by Ali Ijaz Sheikh's avatar Ali Ijaz Sheikh Committed by James M Snell
Browse files

test: v8-flags is sensitive to script caching

V8 may cache compiled scripts, and it is not safe to assume that the
V8 flags can be changed after an isolate has been created. In this
particular case, since we are using the same script multiple times,
the test would fail if V8 cached the result of the compilation.

Ref: https://github.com/nodejs/node/issues/6280
Fixes: https://github.com/nodejs/node/issues/6258
PR-URL: https://github.com/nodejs/node/pull/6316


Reviewed-By: default avatarbnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatartargos - Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: default avatarcjihrig - Colin Ihrig <cjihrig@gmail.com>
parent c83204e2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment