-
Notifications
You must be signed in to change notification settings - Fork 339
vm.Script inheritance error #555
Comments
This is somewhat interesting; the native code checks that the script object (the |
@jdalton do you have a scenario where you wanted to do something like this and expected it to work? I did check the other case, where you take a non- |
I ran into some code working in node-V8 and not in node-chakracore. The workaround was to set the prototype to that of the ContextifyScript prototype instead of |
I'm curious what the intent of the code was; why was the code removing the prototype? |
Creating a "safe" reference to the |
In node-chakracore 10.1.0 the following throws
It does not throw in Node 10.x in v8
The text was updated successfully, but these errors were encountered: