Proxying built-ins (Was: [[Invoke]] and implicit method calls)

Anne van Kesteren annevk at annevk.nl
Thu Sep 26 05:44:29 PDT 2013


On Thu, Sep 26, 2013 at 12:22 AM, Brendan Eich <brendan at mozilla.com> wrote:
> Boris Zbarsky wrote:
>> The web _does_ in general rely on being able to apply methods from some
>> built-in (including DOM) prototype in one realm to objects from another
>> realm.
>
> This goes back to the dawn of JS. You can set location on a reachable frame
> or window, even if not same-origin.

Probably does not matter much, but the cross-origin case might become
proxy objects long term due to process isolation.


-- 
http://annevankesteren.nl/


More information about the es-discuss mailing list