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

html5/webstorage Overview.html,1.188,1.189

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Mon, 02 Apr 2012 21:39:59 +0000
To: public-html-commits@w3.org
Message-Id: <E1SEoyl-0001vW-M6@lionel-hutz.w3.org>
Update of /sources/public/html5/webstorage
In directory hutz:/tmp/cvs-serv7391

Modified Files:
	Overview.html 
Log Message:
This member should be nullable, since we null it sometimes. (whatwg r7044)

Index: Overview.html
===================================================================
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:02 GMT

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