Skip to content

test: remove unused --expose-native-as V8 flag

test-preload.js was using a V8 flag (--expose-native-as) that made an V8 internally used object available. As this test does not use this object, this commit removes the usage of this flag.

In some distant past, this internally used object may have had some external use, but currently is essentially an empty object.

In the near future, the V8 internal infrastructure (JS Natives) producing the object exposed by --expose-native-as will be phased out. For more details, visit: https://bugs.chromium.org/p/v8/issues/detail?id=7624

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading