-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: fix test-vm-cached-data to work with old v8 #6317
Conversation
hmm... not sure there's enough value at this point with v6 right around the corner. If we were going to pull this back to v4 then I think I'd be +1 for sure. |
@jasnell I figured we would probably not want it... but had already made the patch and it was small enough I figured we might want to be explicit |
this would need to be rebased now ;-) |
7da4fd4
to
c7066fb
Compare
9388716
to
2af4e57
Compare
@jasnell rebased |
LGTM but can you capitalize 'while' and use 'Refs:' in the commit log? |
LGTM, but may be we should just turn the only |
e70f2cc
to
43166c0
Compare
I've updated with both of your suggestions @bnoordhuis / @indutny PTAL and let me know if this is ok |
LGTM |
2 similar comments
LGTM |
LGTM |
43166c0
to
e26f1e7
Compare
While `let` no longer needs to run in `strict mode` in v8 5.x it throws in v8 4. This modification will make the test-vm-cached-data work in older version of node. Refs: nodejs#6280 PR-URL: nodejs#6317 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
e26f1e7
to
9460b20
Compare
While `let` no longer needs to run in `strict mode` in v8 5.x it throws in v8 4. This modification will make the test-vm-cached-data work in older version of node. Refs: #6280 PR-URL: #6317 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
while
let
no longer needs to run instrict mode
in v8 5.x it throwsin v8 4. This modification will make the test-vm-cached-data work in
older version of node.
I am under the impression that these changes were made to test features that will only be available in v8 5. So perhaps we don't care to support older versions. Either way it might be nice to be explicit with the code being shelled out.
I've currently marked #6280 as
dont-land-on-v5.x
, but we can change that if this lands/cc @jasnell @indutny