I think it would be extremely surprising to chrome JS authors if instanceof 
works differently in content and chrome, resulting in very hard to diagnose 
bugs.

Andreas

On Dec 31, 2012, at 12:16 AM, "Robert O'Callahan" <[email protected]> wrote:

> On Fri, Dec 28, 2012 at 8:20 PM, Boris Zbarsky <[email protected]> wrote:
> 
>> Well, it really has to change as exposed to web content (or we have to
>> convince every single other browser to change behavior and get the
>> ECMAScript spec changed and so forth).
>> 
> 
> How bad would it be to make "<expr> instanceof <expression resolving to
> WebIDL interface>" special-cased to re-map the RHS to the appropriate
> WebIDL interface object for <expr>?
> 
> Rob
> -- 
> Jesus called them together and said, “You know that the rulers of the
> Gentiles lord it over them, and their high officials exercise authority
> over them. Not so with you. Instead, whoever wants to become great among
> you must be your servant, and whoever wants to be first must be your
> slave — just
> as the Son of Man did not come to be served, but to serve, and to give his
> life as a ransom for many.” [Matthew 20:25-28]
> _______________________________________________
> dev-platform mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-platform

_______________________________________________
dev-platform mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to