W3C home > Mailing lists > Public > public-webapi@w3.org > April 2008

RE: [DOML3Events] Add success/failure boolean to add/removeEventListener?

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 16 Apr 2008 18:53:27 +0000 (UTC)
To: Travis Leithead <travil@windows.microsoft.com>
Cc: Web API public <public-webapi@w3.org>, Doug Schepers <schepers@w3.org>
Message-ID: <Pine.LNX.4.62.0804161853150.22086@hixie.dreamhostps.com>

On Wed, 16 Apr 2008, Travis Leithead wrote:
>
> I just wanted to send this request to the list to generate some 
> discussion. Today, addEventListener and removeEventListener return 
> 'void' (nothing). In other words, a web-dev cannot know if one of these 
> methods succeeded or not.

When can they fail?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 16 April 2008 18:55:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 16 April 2008 18:55:15 GMT