[html5] r1142 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Dec 10 18:20:55 PST 2007


Author: ianh
Date: 2007-12-10 18:20:52 -0800 (Mon, 10 Dec 2007)
New Revision: 1142

Modified:
   index
   source
Log:
[g] (2) Define which exception to throw when out of disk space (will likely change again when we have more exceptions defined).

Modified: index
===================================================================
--- index	2007-12-11 01:37:50 UTC (rev 1141)
+++ index	2007-12-11 02:20:52 UTC (rev 1142)
@@ -29902,8 +29902,7 @@
 
   <p>If the storage area space limit is reached during a <code
    title=dom-Storage-setItem><a href="#setitem">setItem()</a></code> call,
-   the user agent should raise an exception.</p>
-  <!-- XXX which one? -->
+   the user agent must raise an <code>INVALID_ACCESS_ERR</code> exception.
 
   <p>A mostly arbitrary limit of five megabytes per domain is recommended.
    Implementation feedback is welcome and will be used to update this

Modified: source
===================================================================
--- source	2007-12-11 01:37:50 UTC (rev 1141)
+++ source	2007-12-11 02:20:52 UTC (rev 1142)
@@ -27437,7 +27437,7 @@
 
   <p>If the storage area space limit is reached during a <code
   title="dom-Storage-setItem">setItem()</code> call, the user agent
-  should raise an exception.</p> <!-- XXX which one? -->
+  must raise an <code>INVALID_ACCESS_ERR</code> exception.</p>
 
   <p>A mostly arbitrary limit of five megabytes per domain is
   recommended. Implementation feedback is welcome and will be used to




More information about the Commit-Watchers mailing list