[Bug 12295] Make `node instanceof otherWindow.Node` evaluate to false

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12295

Allen Wirfs-Brock <allen@wirfs-brock.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |allen@wirfs-brock.com

--- Comment #3 from Allen Wirfs-Brock <allen@wirfs-brock.com> 2011-04-27 22:38:49 UTC ---
(In reply to comment #2)

expanding upon markm's comment.  instanceof is not a reliable way to perform
"is-a" testing in JavaScript. Even in situations where there is only a single
frame or global context.  If there is real a  need for such tests in the
context of DOM/Web APIs then the WebIDL ECMAScript binding might want to
consider defining some other way to perform them.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 27 April 2011 22:38:51 UTC