[Bug 22346] Security: When invoking a method, getter, or setter on an object using the property descriptor of another, we need to do a security check

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22346

--- Comment #3 from Boris Zbarsky <bzbarsky@mit.edu> ---
For what it's worth, in Gecko the effective script origin of an object is the
effective script origin of its associated global.

And every object has an associated global: that's needed to set up its initial
prototype chain properly...  Note that in some cases (e.g. adoptNode) the
associated global can effectively change.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 24 July 2013 02:00:34 UTC