W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

[Bug 13686] Either remove the special case from onmessage (to call start()) or add it also to addEventListener listeners

From: <bugzilla@jessica.w3.org>
Date: Mon, 08 Aug 2011 21:26:25 +0000
To: public-webapps@w3.org
Message-Id: <E1QqXL7-00012I-0W@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13686

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #6 from Ian 'Hixie' Hickson <ian@hixie.ch> 2011-08-08 21:26:24 UTC ---
It makes sense to have onmessage be magical because you can only ever hook one
event listener using an event handler attribute, and if you are hooking one
event listener, requiring you to start() the queue immediately as well is just
extra boilerplate. The common case should be simple.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Monday, 8 August 2011 21:26:26 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT