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

[Bug 24403] WebIDL callbacks should probably default to pushing a new entry settings object

From: <bugzilla@jessica.w3.org>
Date: Wed, 29 Jan 2014 19:11:35 +0000
To: public-script-coord@w3.org
Message-ID: <bug-24403-3890-sbKVMrAGNw@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24403

--- Comment #9 from Boris Zbarsky <bzbarsky@mit.edu> ---
> My understanding was that the bindings were supposed to implicitly box the
> former into the latter.

Not quite.  The bindings in both cases create a WebIDL EventListener object
wrapping the JS object.  This WebIDL object has a handleEvent method.  That
method, when called, does different things depending on whether the JS object
it wraps is callable or not.

> If that happens, where does the box get created?

The question is somewhat meaningless, since the "box" has no corresponding JS
object.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Wednesday, 29 January 2014 19:11:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:37:51 UTC