On Tue, Jan 1, 2013 at 2:26 PM, Bobby Holley <bobbyhol...@gmail.com> wrote:

> But IIUC the magic already works via XPConnect/nsDOMClassInfo quirks. This
> is why Gaia developers are starting to rely on it, and why Boris is
> wondering whether he should propagate that magic into WebIDL bindings.
>
> So we've already been implementing this for years, and so continuing to do
> it is unlikely to pique the interest of other vendors. Thus, if we can't
> solve this at the spec level now, it's unclear to me what else we can do.
> And I'm more in favor of aligning with the spec than preserving our
> non-standard sugar.
>

Yes, that is a good point. I hadn't considered that other browsers already
follow the spec here, so following the spec isn't likely to break Web
content.

Though, if you look at pages like
http://stackoverflow.com/questions/384286/javascript-isdom-how-do-you-check-if-a-javascript-object-is-a-dom-object,
it's sad to see that all the answers are wrong, and the closest-to-correct
answer fails because of the issue at hand.

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