Re: [WebIDL] Simplify callbacks

On Thu, 10 Nov 2011 18:15:46 +0100, Jonas Sicking <> wrote:
> It has most certainly sailed in many cases. Like for the EventListener
> interface I strongly doubt that we can change it.
> However if there are newer interfaces I suspect that we can change it
> there. Especially if not all implementations support the
> pass-in-object-rather-than-Function syntax.
> And it's most certainly not sailed for interfaces not defined yet.
> So in short, "consistency" is the opposite of what we want here, so we
> should not create WebIDL constructs which encourages it.

My latest proposal was actually to have legacycallback for the  
EventListener behavior and just have callback for the new behavior.  
legacycallback would accept the object-stuff, callback would not. But it  
seems some people like the object stuff :-(

Anne van Kesteren

Received on Monday, 14 November 2011 22:29:17 UTC