You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
open file test/parallel/test-env-newprotomethod-remove-unnecessary-prototypes.js
Remove if (!common.isChakraEngine) line
run test via command out/Release/node /Users/mikekaufman/thub/mike-kaufman/node-chakracore/test/parallel/test-env-newprotomethod-remove-unnecessary-prototypes.js
expected: test passes actual: test fails because prototype method is present
The text was updated successfully, but these errors were encountered:
It looks like V8 has a way to create a function which cannot be used as a constructor and doesn't contain a prototype property. We don't currently have a way to pass that flag to the engine using JSRT so we end up with a function that always has a prototype. Trying to delete the prototype is blocked since the property is not configurable.
repro:
test/parallel/test-env-newprotomethod-remove-unnecessary-prototypes.js
if (!common.isChakraEngine)
lineout/Release/node /Users/mikekaufman/thub/mike-kaufman/node-chakracore/test/parallel/test-env-newprotomethod-remove-unnecessary-prototypes.js
expected: test passes
actual: test fails because prototype method is present
The text was updated successfully, but these errors were encountered: