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

[Bug 12320] ECMAScript binding forbids using ECMAScript to implement many interfaces.

From: <bugzilla@jessica.w3.org>
Date: Wed, 16 Mar 2011 20:07:21 +0000
To: public-script-coord@w3.org
Message-Id: <E1Pzx05-0008Hx-RQ@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12320

Jonas Sicking <jonas@sicking.cc> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonas@sicking.cc

--- Comment #1 from Jonas Sicking <jonas@sicking.cc> 2011-03-16 20:07:20 UTC ---
The thing we're trying to avoid here is requiring it to be possible to do:

mynode = {
           nodeType: 1,
           nodeName: "foo",
           baseURI: "...",
           ownerDocument: myDoc,
           ... <rest of Node and Element APIs> ...
         };
document.documentElement.appendChild(mynode);


Every single DOM implementation out there uses a lot of internal interfaces in
order to implement the DOM. Not only that, they require the implementation of a
lot of these internal interfaces to be "trusted" in that they can't perform
certain actions such as modify the DOM or navigate the page.

While we could argue about if this is a silly limitation in the DOM
implementations, it's unlikely to change anytime soon. Thus it needs to be
documented and required by implementations.

-- 
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, 16 March 2011 20:07:23 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 May 2013 19:30:03 UTC