[Bug 5814] WebIDL: Resolve the callback issue

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5814





--- Comment #3 from Ian 'Hixie' Hickson <ian@hixie.ch>  2008-11-25 00:03:04 ---
I guess I can live with that, but it still seems heavy-duty to me.

I'd prefer something like:

  callback TimeoutHandler ([Variadic] in any args);

...at the top level, i.e. introducing a new type, followed by just using it as
if it was a defined type.

I don't mind it being turned into an interface for languages that have no
function types, but it is first and foremost a callback, not an interface,
IMHO.

The { handleEvent: function() ... } thing seems like an accident to me, not
something we should encourage.


-- 
Configure bugmail: http://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 Tuesday, 25 November 2008 00:03:12 UTC