[Bug 15358] Use the new callback syntax for Function and event handler attributes.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15358

--- Comment #3 from Cameron McCormack <cam@mcc.id.au> 2012-02-01 01:02:33 UTC ---
(In reply to comment #2)
> Wouldn't this mean you can't assign a zero-argument method as a callback?

No, zero-argument Functions can be passed in just like they could before with
[Callback] interface.

> Surely the return value should be boolean, not void. What about things like
> onbeforeunload, where the value can be as string, too?

Either broaden the return type, or use separate callback definitions for the
event handler IDL attributes that have different return types.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 1 February 2012 01:02:35 UTC