- From: Cameron McCormack <cam@mcc.id.au>
- Date: Wed, 23 Sep 2009 10:13:19 +1000
- To: Anne van Kesteren <annevk@opera.com>
- Cc: Doug Schepers <schepers@w3.org>, www-dom@w3.org
Anne van Kesteren: > Furthermore I think putting createEvent on Document was a mistake in > to begin with. Especially with the design we have now where DOM > events are often used outside the context of documents. (Think of > e.g. Web Workers.) I guess you’re saying it should really be WindowEvent rather than DocumentEvent. Then it would make sense to have WorkerUtils implements WindowEvent; in Web Workers. (Well, we could do that now, but it would be strange to have createEvent() on Document in regular windows but on the global object in workers.) Maybe we should also have: [Constructor] interface UIEvent : Event { // … }; etc. -- Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 23 September 2009 00:14:00 UTC