[html5] r7499 - [giow] (2) Storage.getItem() can return null. Fixing https://www.w3.org/Bugs/Pub [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Nov 1 16:08:53 PDT 2012
Author: ianh
Date: 2012-11-01 16:08:51 -0700 (Thu, 01 Nov 2012)
New Revision: 7499
Modified:
complete.html
index
source
Log:
[giow] (2) Storage.getItem() can return null.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=18737
Affected topics: Web Storage
Modified: complete.html
===================================================================
--- complete.html 2012-11-01 23:07:03 UTC (rev 7498)
+++ complete.html 2012-11-01 23:08:51 UTC (rev 7499)
@@ -86842,7 +86842,7 @@
<pre class=idl>interface <dfn id=storage-0>Storage</dfn> {
readonly attribute unsigned long <a href=#dom-storage-length title=dom-Storage-length>length</a>;
DOMString? <a href=#dom-storage-key title=dom-Storage-key>key</a>(unsigned long index);
- getter DOMString <a href=#dom-storage-getitem title=dom-Storage-getItem>getItem</a>(DOMString key);
+ getter DOMString? <a href=#dom-storage-getitem title=dom-Storage-getItem>getItem</a>(DOMString key);
setter creator void <a href=#dom-storage-setitem title=dom-Storage-setItem>setItem</a>(DOMString key, DOMString value);
deleter void <a href=#dom-storage-removeitem title=dom-Storage-removeItem>removeItem</a>(DOMString key);
void <a href=#dom-storage-clear title=dom-Storage-clear>clear</a>();
Modified: index
===================================================================
--- index 2012-11-01 23:07:03 UTC (rev 7498)
+++ index 2012-11-01 23:08:51 UTC (rev 7499)
@@ -86842,7 +86842,7 @@
<pre class=idl>interface <dfn id=storage-0>Storage</dfn> {
readonly attribute unsigned long <a href=#dom-storage-length title=dom-Storage-length>length</a>;
DOMString? <a href=#dom-storage-key title=dom-Storage-key>key</a>(unsigned long index);
- getter DOMString <a href=#dom-storage-getitem title=dom-Storage-getItem>getItem</a>(DOMString key);
+ getter DOMString? <a href=#dom-storage-getitem title=dom-Storage-getItem>getItem</a>(DOMString key);
setter creator void <a href=#dom-storage-setitem title=dom-Storage-setItem>setItem</a>(DOMString key, DOMString value);
deleter void <a href=#dom-storage-removeitem title=dom-Storage-removeItem>removeItem</a>(DOMString key);
void <a href=#dom-storage-clear title=dom-Storage-clear>clear</a>();
Modified: source
===================================================================
--- source 2012-11-01 23:07:03 UTC (rev 7498)
+++ source 2012-11-01 23:08:51 UTC (rev 7499)
@@ -100910,7 +100910,7 @@
<pre class="idl">interface <dfn>Storage</dfn> {
readonly attribute unsigned long <span title="dom-Storage-length">length</span>;
DOMString? <span title="dom-Storage-key">key</span>(unsigned long index);
- getter DOMString <span title="dom-Storage-getItem">getItem</span>(DOMString key);
+ getter DOMString? <span title="dom-Storage-getItem">getItem</span>(DOMString key);
setter creator void <span title="dom-Storage-setItem">setItem</span>(DOMString key, DOMString value);
deleter void <span title="dom-Storage-removeItem">removeItem</span>(DOMString key);
void <span title="dom-Storage-clear">clear</span>();
More information about the Commit-Watchers
mailing list