[html5] r1496 - /

whatwg at whatwg.org whatwg at whatwg.org
Sun Apr 27 17:30:51 PDT 2008


Author: ianh
Date: 2008-04-27 17:30:50 -0700 (Sun, 27 Apr 2008)
New Revision: 1496

Modified:
   index
   source
Log:
[e] (0) Note about handling nulls in the Storage API.

Modified: index
===================================================================
--- index	2008-04-28 00:29:28 UTC (rev 1495)
+++ index	2008-04-28 00:30:50 UTC (rev 1496)
@@ -31860,9 +31860,11 @@
 
   <h4 id=the-storage><span class=secno>4.10.2 </span>The <code><a
    href="#storage0">Storage</a></code> interface</h4>
+  <!-- XXX shouldn't we define somewhere how null values get handled
+  in these methods? Do they get converted to the empty string or
+  something? -->
 
-  <pre class=idl>
-interface <dfn id=storage0>Storage</dfn> {
+  <pre class=idl>interface <dfn id=storage0>Storage</dfn> {
   readonly attribute unsigned long <a href="#length8" title=dom-Storage-length>length</a>;
   [IndexGetter] DOMString <a href="#keyn" title=dom-Storage-key>key</a>(in unsigned long index);
   [NameGetter] DOMString <a href="#getitem" title=dom-Storage-getItem>getItem</a>(in DOMString key);

Modified: source
===================================================================
--- source	2008-04-28 00:29:28 UTC (rev 1495)
+++ source	2008-04-28 00:30:50 UTC (rev 1496)
@@ -29586,8 +29586,10 @@
 
   <h4>The <code>Storage</code> interface</h4>
 
-  <pre class="idl">
-interface <dfn>Storage</dfn> {
+  <!-- XXX shouldn't we define somewhere how null values get handled
+  in these methods? Do they get converted to the empty string or
+  something? -->
+  <pre class="idl">interface <dfn>Storage</dfn> {
   readonly attribute unsigned long <span title="dom-Storage-length">length</span>;
   [IndexGetter] DOMString <span title="dom-Storage-key">key</span>(in unsigned long index);
   [NameGetter] DOMString <span title="dom-Storage-getItem">getItem</span>(in DOMString key);




More information about the Commit-Watchers mailing list