webstorage; hixie: This member should be nullable, since we null it sometimes. (whatwg r7044)

webstorage; hixie: This member should be nullable, since we null it
sometimes. (whatwg r7044)

http://dev.w3.org/cvsweb/html5/webstorage/Overview.html?r1=1.188&r2=1.189&f=h
http://html5.org/tools/web-apps-tracker?from=7043&to=7044

===================================================================
RCS file: /sources/public/html5/webstorage/Overview.html,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- Overview.html 2 Apr 2012 21:15:41 -0000 1.188
+++ Overview.html 2 Apr 2012 21:39:57 -0000 1.189
@@ -892,7 +892,7 @@
 
   <pre class="idl">[Constructor(DOMString type, optional <a href="#storageeventinit">StorageEventInit</a> eventInitDict)]
 interface <dfn id="storageevent">StorageEvent</dfn> : <span>Event</span> {
-  readonly attribute DOMString <a href="#dom-storageevent-key" title="dom-StorageEvent-key">key</a>;
+  readonly attribute DOMString? <a href="#dom-storageevent-key" title="dom-StorageEvent-key">key</a>;
   readonly attribute DOMString? <a href="#dom-storageevent-oldvalue" title="dom-StorageEvent-oldValue">oldValue</a>;
   readonly attribute DOMString? <a href="#dom-storageevent-newvalue" title="dom-StorageEvent-newValue">newValue</a>;
   readonly attribute DOMString <a href="#dom-storageevent-url" title="dom-StorageEvent-url">url</a>;
@@ -900,7 +900,7 @@
 };
 
 dictionary <dfn id="storageeventinit">StorageEventInit</dfn> : <span>EventInit</span> {
-  DOMString key;
+  DOMString? key;
   DOMString? oldValue;
   DOMString? newValue;
   DOMString url;
@@ -909,8 +909,8 @@
 
   <p>The <dfn id="dom-storageevent-key" title="dom-StorageEvent-key"><code>key</code></dfn>
   attribute must return the value it was initialized to. When the
-  object is created, this attribute must be initialized to the empty
-  string. It represents the key being changed.</p>
+  object is created, this attribute must be initialized to null. It
+  represents the key being changed.</p>
 
   <p>The <dfn id="dom-storageevent-oldvalue" title="dom-StorageEvent-oldValue"><code>oldValue</code></dfn>
   attribute must return the value it was initialized to. When the

Received on Monday, 2 April 2012 21:40:09 UTC