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 }}
Repository navigation
Change from 0.10 => 1.2; enumerable of this.escape in vm.runInNewContext was false, now true #864
@smikes I commented on that here. It looks like V8 needs to grow some new APIs to fix this issue. I have it on my radar but I'm stretched rather thin at the moment.
Activity
anba commentedon Feb 17, 2015
I guess this is related to https://code.google.com/p/v8/issues/detail?id=3861. GetOwnPropertyNames() is called here.
smikes commentedon Feb 17, 2015
Testing with
clonePropertyin the REPL correctly generates anescapewithenumerable: false:where
cloneProperty.jsis:bnoordhuis commentedon Feb 17, 2015
I suspect that's caused by the named property interceptor for the global object here.
Not sure what the best way to fix it is. The interceptor needs to retrieve the actual property attributes somehow without causing infinite recursion.
vm: pass attributes from sandbox
smikes commentedon Feb 19, 2015
@boordhuis - Indeed, getting attributes for properties of the global is tricky. I have a PR (#885) for the sandbox side, which was easy.
I tried something like this:
But that set off an infinite recursion, as you predicted. Any suggestions?
bnoordhuis commentedon Feb 19, 2015
@smikes I commented on that here. It looks like V8 needs to grow some new APIs to fix this issue. I have it on my radar but I'm stretched rather thin at the moment.
bnoordhuis commentedon Feb 20, 2015
https://codereview.chromium.org/942003003/
Add v8::Object::GetRealNamedPropertyAttributes()
Fishrock123 commentedon Mar 6, 2015
Looks like the v8 patch landed.
vm: fix property descriptors of sandbox properties
domenic commentedon Jun 5, 2015
This can be closed as it's fixed in next.
vm: fix property descriptors of sandbox properties
vm: fix property descriptors of sandbox properties
vm: fix property descriptors of sandbox properties
vm: fix property descriptors of sandbox properties
vm: fix property descriptors of sandbox properties
vm: fix property descriptors of sandbox properties
vm: fix property descriptors of sandbox properties
vm: fix property descriptors of sandbox properties