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


--- Comment #7 from Bobby Holley (:bholley) <bobbyholley@gmail.com> ---
Ok, I think I remember what I was getting at in comment 4 when I was referring
to implicit Function conversion.

IIUC, callers can equivalently do:

foo.addEventListener("evt", func);
foo.addEventListener("evt", {handleEvent: func});

My understanding was that the bindings were supposed to implicitly box the
former into the latter. If that happens, where does the box get created? The
options I can think of are:
* The scope of |foo|
* The scope of |func|
* The scope of the caller

Depending on what the answer there is, we get a different entry point.

You are receiving this mail because:
You are on the CC list for the bug.

Received on Wednesday, 29 January 2014 17:06:23 UTC