W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2011

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

From: <bugzilla@jessica.w3.org>
Date: Wed, 25 May 2011 04:41:41 +0000
To: public-script-coord@w3.org
Message-Id: <E1QP5uf-0000dH-Ps@jessica.w3.org>

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


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:03 UTC