W3C home > Mailing lists > Public > public-html-commits@w3.org > June 2009

html5/webstorage Overview.html,1.45,1.46

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 26 Jun 2009 08:43:18 +0000
To: public-html-commits@w3.org
Message-Id: <E1MK71i-00072J-LN@lionel-hutz.w3.org>
Update of /sources/public/html5/webstorage
In directory hutz:/tmp/cvs-serv27033

Modified Files:
	Overview.html 
Log Message:
Move openDatabase(), localStorage, and sessionStorage from HTML5 to Web Storage. Make it clearer where constructors are supposed to be visible. (whatwg r3325)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/webstorage/Overview.html,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- Overview.html	23 Jun 2009 01:34:03 -0000	1.45
+++ Overview.html	26 Jun 2009 08:43:16 -0000	1.46
@@ -166,7 +166,7 @@
    <h1>Web Storage</h1>
    <!--ZZZ:-->
    <!--<h2 class="no-num no-toc">W3C Working Draft 23 April 2009</h2>-->
-   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 23 June 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 26 June 2009</h2>
    <!--:ZZZ-->
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out
     <dt>This Version:</dt>
@@ -234,7 +234,7 @@
   specification's progress along the W3C Recommendation track.
   <!--ZZZ:-->
   <!--This specification is the 23 April 2009 Working Draft.-->
-  This specification is the 23 June 2009 Editor's Draft.
+  This specification is the 26 June 2009 Editor's Draft.
   <!--:ZZZ-->
   </p><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
   February 2004 W3C Patent Policy</a>. W3C maintains a <a href="http://www.w3.org/2004/01/pp-impl/42538/status" rel="disclosure">public list of
@@ -480,7 +480,9 @@
   --><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.<h3 id="the-sessionstorage-attribute"><span class="secno">3.3 </span>The <code title="dom-sessionStorage"><a href="#dom-sessionstorage">sessionStorage</a></code> attribute</h3><p>The <dfn id="dom-sessionstorage" title="dom-sessionStorage"><code>sessionStorage</code></dfn>
+  underlying list of key/value pairs see is required.<h3 id="the-sessionstorage-attribute"><span class="secno">3.3 </span>The <code title="dom-sessionStorage"><a href="#dom-sessionstorage">sessionStorage</a></code> attribute</h3><pre class="idl">[Supplemental] interface <span>Window</span> {
+  readonly attribute <a href="#storage-0">Storage</a> <a href="#dom-sessionstorage" title="dom-sessionStorage">sessionStorage</a>;
+};</pre><p>The <dfn id="dom-sessionstorage" title="dom-sessionStorage"><code>sessionStorage</code></dfn>
   attribute represents the set of storage areas specific to the
   current <span>top-level browsing context</span>.<p>Each <span>top-level browsing context</span> has a unique set of
   session storage areas, one for each <span>origin</span>.<p>User agents should not expire data from a browsing context's
@@ -519,7 +521,9 @@
   every <code>HTMLDocument</code> object whose <code>Window</code>
   object's <code title="dom-sessionStorage"><a href="#dom-sessionstorage">sessionStorage</a></code>
   attribute's <code><a href="#storage-0">Storage</a></code> object is associated with the same
-  storage area, other than <var title="">x</var>, a <code title="event-storage"><a href="#event-storage">storage</a></code> event must be fired, as <a href="#event-storage" title="event-storage">described below</a>.<h3 id="the-localstorage-attribute"><span class="secno">3.4 </span>The <code title="dom-localStorage"><a href="#dom-localstorage">localStorage</a></code> attribute</h3><p>The <dfn id="dom-localstorage" title="dom-localStorage"><code>localStorage</code></dfn>
+  storage area, other than <var title="">x</var>, a <code title="event-storage"><a href="#event-storage">storage</a></code> event must be fired, as <a href="#event-storage" title="event-storage">described below</a>.<h3 id="the-localstorage-attribute"><span class="secno">3.4 </span>The <code title="dom-localStorage"><a href="#dom-localstorage">localStorage</a></code> attribute</h3><pre class="idl">[Supplemental] interface <span>Window</span> {
+  readonly attribute <a href="#storage-0">Storage</a> <a href="#dom-localstorage" title="dom-localStorage">localStorage</a>;
+};</pre><p>The <dfn id="dom-localstorage" title="dom-localStorage"><code>localStorage</code></dfn>
   object provides a <code><a href="#storage-0">Storage</a></code> object for an
   <span>origin</span>.<p>User agents must have a set of local storage areas, one for each
   <span>origin</span>.<p>User agents should expire data from the local storage areas only
@@ -632,7 +636,14 @@
   allow authors to manage schema changes incrementally and
   non-destructively, and without running the risk of old code (e.g. in
   another browser window) trying to write to a database with incorrect
-  assumptions.<p>The <dfn id="dom-opendatabase" title="dom-opendatabase"><code>openDatabase()</code></dfn> method on
+  assumptions.<pre class="idl">[Supplemental] interface <span>Window</span> {
+  <a href="#database">Database</a> <a href="#dom-opendatabase" title="dom-opendatabase">openDatabase</a>(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize);
+};
+
+[Supplemental] interface <span>WorkerUtils</span> {
+  <a href="#database">Database</a> <a href="#dom-opendatabase" title="dom-opendatabase">openDatabase</a>(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize);
+  <a href="#databasesync">DatabaseSync</a> <a href="#dom-opendatabase-sync" title="dom-opendatabase-sync">openDatabaseSync</a>(in DOMString name, in DOMString version, in DOMString displayName, in unsigned long estimatedSize);
+};</pre><p>The <dfn id="dom-opendatabase" title="dom-opendatabase"><code>openDatabase()</code></dfn> method on
   the <code>Window</code> and <code>WorkerUtils</code> interfaces must
   return a newly constructed <code><a href="#database">Database</a></code> object that
   represents the database requested.<p>The <dfn id="dom-opendatabase-sync" title="dom-opendatabase-sync"><code>openDatabaseSync()</code></dfn>
Received on Friday, 26 June 2009 08:43:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 26 June 2009 08:43:27 GMT