[html5] r2570 - [e] (0) Note that the sync model for Storage doesn't imply disk-level consistenc [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Dec 24 04:07:07 PST 2008


Author: ianh
Date: 2008-12-24 04:07:06 -0800 (Wed, 24 Dec 2008)
New Revision: 2570

Modified:
   index
   source
Log:
[e] (0) Note that the sync model for Storage doesn't imply disk-level consistency. (credit: zx)

Modified: index
===================================================================
--- index	2008-12-24 12:01:33 UTC (rev 2569)
+++ index	2008-12-24 12:07:06 UTC (rev 2570)
@@ -38635,15 +38635,20 @@
   method must atomically cause the list associated with the object to
   be emptied of all key/value pairs.</p>
 
-  <p>When the <code title=dom-Storage-setItem><a href=#dom-storage-setitem>setItem()</a></code>,
-  <code title=dom-Storage-removeItem><a href=#dom-storage-removeitem>removeItem()</a></code>, and <code title=dom-Storage-clear><a href=#dom-storage-clear>clear()</a></code> methods are invoked, events
+  <p class=note>When the <code title=dom-Storage-setItem><a href=#dom-storage-setitem>setItem()</a></code>, <code title=dom-Storage-removeItem><a href=#dom-storage-removeitem>removeItem()</a></code>, and <code title=dom-Storage-clear><a href=#dom-storage-clear>clear()</a></code> methods are invoked, events
   are fired on other <code><a href=#htmldocument>HTMLDocument</a></code> objects that can access
   the newly stored or removed data, as defined in the sections on the
   <code title=dom-sessionStorage><a href=#dom-sessionstorage>sessionStorage</a></code> and <code title=dom-localStorage><a href=#dom-localstorage>localStorage</a></code> attributes.</p> <!--
   not normative, see the sections below for the normative statement
   -->
 
+  <p class=note>This specification does not require that the above
+  methods wait until the data has been physically written to
+  disk. Only consistency in what different scripts accessing the same
+  underlying list of key/value pairs see is required.</p>
 
+
+
   <h5 id=the-sessionstorage-attribute><span class=secno>5.10.1.3 </span>The <code title=dom-sessionStorage><a href=#dom-sessionstorage>sessionStorage</a></code> attribute</h5>
 
   <p>The <dfn id=dom-sessionstorage title=dom-sessionStorage><code>sessionStorage</code></dfn>
@@ -54965,8 +54970,8 @@
   Terrence Wood, Thomas Broyer, Thomas O'Connor, Tim Altman, Tim
   Johansson, Tommy Thorsen, Travis Leithead, Tyler Close, Vladimir
   Vukićević, Wakaba, Wayne Pollock, Wellington Fernando
-  de Macedo, William Swanson, Wolfram Kriesing, Yi-An Huang, and
-  Øistein E. Andersen, for their useful and substantial
+  de Macedo, William Swanson, Wolfram Kriesing, Yi-An Huang, Zhenbin
+  Xu, and Øistein E. Andersen, for their useful and substantial
   comments.</p>
 
   <p>Thanks also to everyone who has ever posted about HTML5 to their

Modified: source
===================================================================
--- source	2008-12-24 12:01:33 UTC (rev 2569)
+++ source	2008-12-24 12:07:06 UTC (rev 2570)
@@ -43995,8 +43995,9 @@
   method must atomically cause the list associated with the object to
   be emptied of all key/value pairs.</p>
 
-  <p>When the <code title="dom-Storage-setItem">setItem()</code>,
-  <code title="dom-Storage-removeItem">removeItem()</code>, and <code
+  <p class="note">When the <code
+  title="dom-Storage-setItem">setItem()</code>, <code
+  title="dom-Storage-removeItem">removeItem()</code>, and <code
   title="dom-Storage-clear">clear()</code> methods are invoked, events
   are fired on other <code>HTMLDocument</code> objects that can access
   the newly stored or removed data, as defined in the sections on the
@@ -44005,7 +44006,13 @@
   not normative, see the sections below for the normative statement
   -->
 
+  <p class="note">This specification does not require that the above
+  methods wait until the data has been physically written to
+  disk. Only consistency in what different scripts accessing the same
+  underlying list of key/value pairs see is required.</p>
 
+
+
   <h5>The <code title="dom-sessionStorage">sessionStorage</code> attribute</h5>
 
   <p>The <dfn
@@ -60075,8 +60082,8 @@
   Terrence Wood, Thomas Broyer, Thomas O'Connor, Tim Altman, Tim
   Johansson, Tommy Thorsen, Travis Leithead, Tyler Close, Vladimir
   Vuki&#x0107;evi&#x0107;, Wakaba, Wayne Pollock, Wellington Fernando
-  de Macedo, William Swanson, Wolfram Kriesing, Yi-An Huang, and
-  Øistein E. Andersen, for their useful and substantial
+  de Macedo, William Swanson, Wolfram Kriesing, Yi-An Huang, Zhenbin
+  Xu, and Øistein E. Andersen, for their useful and substantial
   comments.</p>
 
   <p>Thanks also to everyone who has ever posted about HTML5 to their




More information about the Commit-Watchers mailing list