[html5] r7044 - [giow] (2) This member should be nullable, since we null it sometimes. Fixing ht [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 2 14:39:55 PDT 2012


Author: ianh
Date: 2012-04-02 14:39:53 -0700 (Mon, 02 Apr 2012)
New Revision: 7044

Modified:
   complete.html
   index
   source
Log:
[giow] (2) This member should be nullable, since we null it sometimes.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=16469
Affected topics: Web Storage

Modified: complete.html
===================================================================
--- complete.html	2012-04-02 21:15:09 UTC (rev 7043)
+++ complete.html	2012-04-02 21:39:53 UTC (rev 7044)
@@ -81989,7 +81989,7 @@
 
   <pre class=idl>[Constructor(DOMString type, optional <a href=#storageeventinit>StorageEventInit</a> eventInitDict)]
 interface <dfn id=storageevent>StorageEvent</dfn> : <a href=#event>Event</a> {
-  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>;
@@ -81997,7 +81997,7 @@
 };
 
 dictionary <dfn id=storageeventinit>StorageEventInit</dfn> : <a href=#eventinit>EventInit</a> {
-  DOMString key;
+  DOMString? key;
   DOMString? oldValue;
   DOMString? newValue;
   DOMString url;
@@ -82006,8 +82006,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

Modified: index
===================================================================
--- index	2012-04-02 21:15:09 UTC (rev 7043)
+++ index	2012-04-02 21:39:53 UTC (rev 7044)
@@ -81989,7 +81989,7 @@
 
   <pre class=idl>[Constructor(DOMString type, optional <a href=#storageeventinit>StorageEventInit</a> eventInitDict)]
 interface <dfn id=storageevent>StorageEvent</dfn> : <a href=#event>Event</a> {
-  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>;
@@ -81997,7 +81997,7 @@
 };
 
 dictionary <dfn id=storageeventinit>StorageEventInit</dfn> : <a href=#eventinit>EventInit</a> {
-  DOMString key;
+  DOMString? key;
   DOMString? oldValue;
   DOMString? newValue;
   DOMString url;
@@ -82006,8 +82006,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

Modified: source
===================================================================
--- source	2012-04-02 21:15:09 UTC (rev 7043)
+++ source	2012-04-02 21:39:53 UTC (rev 7044)
@@ -95201,7 +95201,7 @@
 
   <pre class="idl">[Constructor(DOMString type, optional <span>StorageEventInit</span> eventInitDict)]
 interface <dfn>StorageEvent</dfn> : <span>Event</span> {
-  readonly attribute DOMString <span title="dom-StorageEvent-key">key</span>;
+  readonly attribute DOMString? <span title="dom-StorageEvent-key">key</span>;
   readonly attribute DOMString? <span title="dom-StorageEvent-oldValue">oldValue</span>;
   readonly attribute DOMString? <span title="dom-StorageEvent-newValue">newValue</span>;
   readonly attribute DOMString <span title="dom-StorageEvent-url">url</span>;
@@ -95209,7 +95209,7 @@
 };
 
 dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
-  DOMString key;
+  DOMString? key;
   DOMString? oldValue;
   DOMString? newValue;
   DOMString url;
@@ -95218,8 +95218,8 @@
 
   <p>The <dfn 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
   title="dom-StorageEvent-oldValue"><code>oldValue</code></dfn>




More information about the Commit-Watchers mailing list