Skip to content

test: force context allocation in test module

Rodrigo Muino Tomonari requested to merge github/fork/hashseed/fixloopmjs into master

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
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Merge request reports

Loading