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

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