W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2015

Re: [components] Isolated Imports and Foreign Custom Elements

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 01 May 2015 21:35:46 -0700
Cc: Anne van Kesteren <annevk@annevk.nl>, WebApps WG <public-webapps@w3.org>
Message-id: <C447387D-4C01-4C0A-B35E-E745D6856F4E@apple.com>
To: Domenic Denicola <d@domenic.me>

On May 1, 2015, at 4:35 PM, Domenic Denicola <d@domenic.me> wrote:

>> alert(weirdArray.__proto__ == localArray.__proto__)
> This alerts false in IE, Firefox, and Chrome.

That is what I'd expect it to do. (It does the same in Safari).

I guess I didn't explain why I put this line in, so for clarity: this line demonstrates that the instance created was not of the local browsing context's Array, but rather of the distinct Array from the other frame. Which shows that there is a well-defined meaning to creating instances of constructors from another global object. Apologies if this was too subtle.

Received on Saturday, 2 May 2015 04:36:17 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:31 UTC