[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 #5 from Anne <annevk@opera.com> 2012-03-12 13:27:13 UTC ---
The new syntax for this is:

[TreatNonCallableAsNull]
callback EventHandler = any (Event event);

For window.onerror you will need something special, e.g.

[TreatNonCallableAsNull]
callback ErrorEventHandler = any (any... args);

To reference it you would use "EventHandler?".

-- 
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 Monday, 12 March 2012 13:27:24 UTC