Permalink
Browse files

[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

git-svn-id: http://svn.whatwg.org/webapps@7044 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Apr 2, 2012
1 parent 629099d commit 60bd780351299c4f69a26df10db52a9763aa3517
Showing with 12 additions and 12 deletions.
  1. +4 −4 complete.html
  2. +4 −4 index
  3. +4 −4 source
View
@@ -81989,15 +81989,15 @@ <h5 id=event-definition-0><span class=secno>11.2.4.1 </span>Event definition</h5
<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>;
readonly attribute <a href=#storage-0>Storage</a>? <a href=#dom-storageevent-storagearea title=dom-StorageEvent-storageArea>storageArea</a>;
};
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 @@ <h5 id=event-definition-0><span class=secno>11.2.4.1 </span>Event definition</h5
<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
View
8 index
@@ -81989,15 +81989,15 @@ interface <dfn id=windowlocalstorage>WindowLocalStorage</dfn> {
<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>;
readonly attribute <a href=#storage-0>Storage</a>? <a href=#dom-storageevent-storagearea title=dom-StorageEvent-storageArea>storageArea</a>;
};
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 @@ dictionary <dfn id=storageeventinit>StorageEventInit</dfn> : <a href=#eventinit>
<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
View
8 source
@@ -95201,15 +95201,15 @@ interface <dfn>WindowLocalStorage</dfn> {
<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>;
readonly attribute <span>Storage</span>? <span title="dom-StorageEvent-storageArea">storageArea</span>;
};
dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
- DOMString key;
+ DOMString? key;
DOMString? oldValue;
DOMString? newValue;
DOMString url;
@@ -95218,8 +95218,8 @@ dictionary <dfn>StorageEventInit</dfn> : <span>EventInit</span> {
<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>

0 comments on commit 60bd780

Please sign in to comment.