W3C home > Mailing lists > Public > public-html-diffs@w3.org > April 2012

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

From: poot <cvsmail@w3.org>
Date: Mon, 02 Apr 2012 17:40:06 -0400
To: public-html-diffs@w3.org
Message-Id: <E1SEoys-0003MA-Li@jay.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 2 April 2012 21:40:09 GMT