| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
V8's behavior changed in c3bd741efd. Top-level variables in a module are no longer context-allocated by default.
Sorry, something went wrong.
|
Adding reviewers of the PR that added the test in the first place. |
Sorry, something went wrong.
| process.exit(55); No newline at end of file | ||
| process.exit(55); | ||
|
|
||
| (function force_context_allocation() { return t + k; }) |
There was a problem hiding this comment.
Can you add a comment explaining why this is necessary. I worry that with the rate of code changes, the git commit message may get lost.
Sorry, something went wrong.
There was a problem hiding this comment.
Done.
Sorry, something went wrong.
|
Added a comment as @cjihrig suggested. New CI job: https://ci.nodejs.org/job/node-test-pull-request/12726/ |
Sorry, something went wrong.
V8's behavior changed in c3bd741efd. Top-level variables in a module are no longer context-allocated by default. PR-URL: #18312 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
V8's behavior changed in c3bd741efd. Top-level variables in a module are no longer context-allocated by default. PR-URL: #18312 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
V8's behavior changed in c3bd741efd. Top-level variables in a module are no longer context-allocated by default. PR-URL: #18312 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
V8's behavior changed in c3bd741efd. Top-level variables in a module are no longer context-allocated by default. PR-URL: #18312 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
setting don't land for 6 / 8 since the commit this is guarding against is not in the versions of V8 in either release stream |
Sorry, something went wrong.
V8's behavior changed in c3bd741efd. Top-level variables in a module are no longer context-allocated by default. PR-URL: nodejs#18312 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
| Back | FazBrowse Home | New Git URL |
This is to anticipate test/parallel/test-inspector-esm.js failing due to V8's behavior changing in c3bd741efd.
Top-level variables in a module are then no longer context-allocated by default. That however is expected in the test. This change forces context allocation by closing over top-level variables.
Checklist
Affected core subsystem(s)
test