- From: Ian Hickson <ian@hixie.ch>
- Date: Mon, 13 Jul 2009 10:35:32 +0000 (UTC)
- To: João Eiras <joaoe@opera.com>
- Cc: "public-webapps@w3.org" <public-webapps@w3.org>, www-dom@w3.org
Received on Monday, 13 July 2009 10:36:06 UTC
On Mon, 13 Jul 2009, João Eiras wrote: > > The interface for StorageEvent defines initStorageEvent() and > initStorageEventNS(). For these functions to be of any use, there must be a > way to create new event objects, and that way is using document.createEvent. > However, there is no reference to document.createEvent in the entire > webstorage spec. > Should document.createEvent be extended ? createEvent() takes any interface name that inherits from Event and creates an object of that type. See DOM3 Events for details. (Currently the text in DOM3 Events is pretty vague, but it looks like that section just hasn't been updated yet to take into account RFC2119 terms and so on -- the text looks unchanged from when the draft was a note. Doug, can you confirm that this is the case?) -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 13 July 2009 10:36:06 UTC