- From: poot <cvsmail@w3.org>
- Date: Wed, 24 Dec 2008 21:13:12 +0900 (JST)
- To: public-html-diffs@w3.org
Note that the sync model for Storage doesn't imply disk-level consistency. (credit: zx) (whatwg r2570) clear() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1741.html#dom-storage-clear removeItem(key) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1741.html#dom-storage-removeitem 5.10.1.3 The sessionStorage attribute http://people.w3.org/mike/diffs/html5/spec/Overview.1.1741.html#the-sessionstorage-attribute Index http://people.w3.org/mike/diffs/html5/spec/Overview.1.1741.html#index http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1740&r2=1.1741&f=h http://html5.org/tools/web-apps-tracker?from=2569&to=2570 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1740 retrieving revision 1.1741 diff -u -d -r1.1740 -r1.1741 --- Overview.html 24 Dec 2008 12:01:37 -0000 1.1740 +++ Overview.html 24 Dec 2008 12:07:10 -0000 1.1741 @@ -31424,13 +31424,15 @@ area must either be successful, or the data storage area must not be changed at all.<p>The <dfn id=dom-storage-clear title=dom-Storage-clear><code>clear()</code></dfn> method must atomically cause the list associated with the object to - be emptied of all key/value pairs.<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 + be emptied of all key/value pairs.<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 - --><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> + --><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.<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> attribute represents the set of storage areas specific to the current <a href=#top-level-browsing-context>top-level browsing context</a>.<p>Each <a href=#top-level-browsing-context>top-level browsing context</a> has a unique set of session storage areas, one for each <a href=#origin-0>origin</a>.<p>User agents should not expire data from a browsing context's @@ -45100,8 +45102,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>Thanks also to everyone who has ever posted about HTML5 to their blogs, public mailing lists, or forums, including the <a href=http://lists.w3.org/Archives/Public/public-html/>W3C public-html list</a> and the <a href=http://www.whatwg.org/mailing-list>various WHATWG lists</a>.
Received on Wednesday, 24 December 2008 12:13:48 UTC