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
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:36:56 UTC