On Mon, Dec 31, 2012 at 11:23 AM, Andreas Gal <g...@mozilla.com> wrote:

> 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.
>

What if we made it work that way in content as well?

Yes, ultra-dirty and all that, but in terms of least-surprise, stuff like
"iframe.contentDocument.documentElement instanceof Node" being false is
pretty surprising to most authors too.

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
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to