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

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 30 Jun 2011 02:25:25 +0000
To: public-script-coord@w3.org
Message-Id: <E1Qc6wX-0005lu-Or@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12320

Garrett <dhtmlkitchen@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dhtmlkitchen@gmail.com

--- Comment #10 from Garrett <dhtmlkitchen@gmail.com> 2011-06-30 02:25:23 UTC ---
Regarding comment #1, if the object is not a node (and it isn't), then passing
that thing to
appendChild results in an error. What needs fixing?


"In a web page, script that implements the EventListener interface,which is
used to register a callback that the DOM Events implementation invokes, would
be considered to be a user object."

Missing particle "a". "In a web page" is not needed. I don't know how a script
can implement anything, but a user-defined object can be said to implement
EventListener, e.g.

var ud = {
 handleEvent : Function.prototype
};

I'm not that comfortable with the term "user object". I usually say
"user-defined".

-- 
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 Thursday, 30 June 2011 02:25:26 UTC

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