W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

[Bug 12574] AbstractWorker and WorkerGlobalScope should inherit EventTarget

From: <bugzilla@jessica.w3.org>
Date: Tue, 21 Jun 2011 17:58:53 +0000
To: public-webapps@w3.org
Message-Id: <E1QZ5Dx-0004Gq-Fd@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12574

Jonas Sicking <jonas@sicking.cc> changed:

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

--- Comment #3 from Jonas Sicking <jonas@sicking.cc> 2011-06-21 17:58:52 UTC ---
All other specifications that define EventTargets are putting them on the
prototype chain. DOM Core[1], indexedDB[2], and XHR[3] already does this.

Further, it actually makes it possible to extend the EventTarget interface
which is a good thing (for example it lets people implement the "enumerate all
registered listener API which is asked for every now and then by overriding
add/removeEventListener).

[1]http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-node
[2]http://dvcs.w3.org/hg/IndexedDB/raw-file/tip/Overview.html#request-api
[3]http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#the-xmlhttprequest-interface

We're planning on making the same change to other interfaces, like FileReader
and WebSocket in Firefox.

-- 
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 Tuesday, 21 June 2011 17:59:00 GMT

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