- From: <bugzilla@jessica.w3.org>
- Date: Wed, 14 Jan 2015 19:27:04 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27823 --- Comment #11 from Domenic Denicola <d@domenic.me> --- > My rationale was that for the common functionality provided by EventTarget we wanted to inherit rather than create a mixin and that therefore we should inherit for the common functionality provided by XMLHttpRequestEventTarget as well. I still don't get it. What common functionality is provided by XMLHttpRequestEventTarget that is not already provided by EventTarget? It seems more like it's just working around the awkard need to add onX for all the events. Stated another way, most classes that fire events have a very simple hierarchy: they inherit from EventTarget, and have onX properties on their own prototype. However, XMLHttpRequestUpload and XMLHttpRequest are now exceptions to that rule. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Wednesday, 14 January 2015 19:27:08 UTC