Uh oh!
There was an error while loading. Please reload this page.
test: fix test-vm-cached-data to work with old v8 - #6317
Merged
Conversation
jasnell
commented
Apr 20, 2016
Member
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. |
MylesBorins
commented
Apr 20, 2016
ContributorAuthor
@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 |
jasnell
commented
Apr 20, 2016
Member
this would need to be rebased now ;-) |
estliberitasforce-pushed
the
master
branch
2 times, most recently
from
April 26, 2016 05:23
7da4fd4 to
c7066fbCompareMylesBorinsforce-pushed
the
fix-vm-cached-data
branch
from
April 27, 2016 19:44
9388716 to
2af4e57CompareMylesBorins
commented
Apr 27, 2016
ContributorAuthor
@jasnell rebased |
bnoordhuis
commented
Apr 28, 2016
Member
LGTM but can you capitalize 'while' and use 'Refs:' in the commit log? |
indutny
commented
Apr 28, 2016
Member
LGTM, but may be we should just turn the only |
MylesBorinsforce-pushed
the
fix-vm-cached-data
branch
2 times, most recently
from
May 9, 2016 20:34
e70f2cc to
43166c0CompareMylesBorins
commented
May 9, 2016
ContributorAuthor
I've updated with both of your suggestions @bnoordhuis / @indutny PTAL and let me know if this is ok |
indutny
commented
May 9, 2016
Member
LGTM |
2 similar comments
bnoordhuis
commented
May 10, 2016
Member
LGTM |
targos
commented
May 10, 2016
Member
LGTM |
MylesBorinsforce-pushed
the
fix-vm-cached-data
branch
from
May 11, 2016 19:06
43166c0 to
e26f1e7CompareWhile `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>
MylesBorinsforce-pushed
the
fix-vm-cached-data
branch
from
May 11, 2016 19:07
e26f1e7 to
9460b20Compareevanlucas pushed a commit
that referenced
this pull request
May 17, 2016
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
while
letno longer needs to run instrict modein 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