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

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

--- Comment #4 from Cameron McCormack <cam@mcc.id.au> 2011-05-25 04:41:40 UTC ---
I've added wording to the spec requiring that each ECMAScript global
environment gets its own copies of interface objects, interface prototype
objects, etc.  So now `node instanceof otherWindow.Object` will be false.

http://dev.w3.org/2006/webapi/WebIDL/#es-environment

The "Host object [[HasInstance]]" section is still in the spec, which does
currently require `node instanceof otherWindow.Node` to be true, but that will
disappear once multiple inheritance has been removed (the default
[[HasInstance]] will work fine then).

(Also added wording dotted around the spec to define which global environment
each DOM object is associated with, and which global environment exceptions get
associated with when they are created and thrown.)

-- 
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, 25 May 2011 04:41:43 UTC