W3C home > Mailing lists > Public > public-html-diffs@w3.org > August 2009

hixie: Update to latest Web IDL. (whatwg r3556)

From: poot <cvsmail@w3.org>
Date: Sat, 8 Aug 2009 09:21:48 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090808002148.952812BBF2@toro.w3.mag.keio.ac.jp>
hixie: Update to latest Web IDL. (whatwg r3556)

http://dev.w3.org/cvsweb/html5/webstorage/Overview.html?r1=1.57&r2=1.58&f=h
http://html5.org/tools/web-apps-tracker?from=3555&to=3556

===================================================================
RCS file: /sources/public/html5/webstorage/Overview.html,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -d -r1.57 -r1.58
--- Overview.html	6 Aug 2009 23:43:35 -0000	1.57
+++ Overview.html	8 Aug 2009 00:21:04 -0000	1.58
@@ -174,7 +174,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 6 August 2009</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-date-1-january-1970">Editor's Draft 8 August 2009</h2>
    <!--:ZZZ-->
    <dl><!-- ZZZ: update the month/day (twice), (un)comment out
     <dt>This Version:</dt>
@@ -241,7 +241,7 @@
   specification's progress along the W3C Recommendation track.
   <!--ZZZ:-->
   <!--This specification is the 23 April 2009 Working Draft.-->
-  This specification is the 6 August 2009 Editor's Draft.
+  This specification is the 8 August 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
@@ -403,10 +403,10 @@
   the official term ECMAScript, since the term JavaScript is more
   widely known. <a href="#references">[ECMA262]</a><h2 id="storage"><span class="secno">4 </span>The API</h2><h3 id="the-storage-interface"><span class="secno">4.1 </span>The <code><a href="#storage-0">Storage</a></code> interface</h3><pre class="idl">interface <dfn id="storage-0">Storage</dfn> {
   readonly attribute unsigned long <a href="#dom-storage-length" title="dom-Storage-length">length</a>;
-  [IndexGetter] any <a href="#dom-storage-key" title="dom-Storage-key">key</a>(in unsigned long index);
-  [NameGetter] any <a href="#dom-storage-getitem" title="dom-Storage-getItem">getItem</a>(in DOMString key);
-  [NameSetter, NameCreator] void <a href="#dom-storage-setitem" title="dom-Storage-setItem">setItem</a>(in DOMString key, in any data);
-  [NameDeleter] void <a href="#dom-storage-removeitem" title="dom-Storage-removeItem">removeItem</a>(in DOMString key);
+  getter any <a href="#dom-storage-key" title="dom-Storage-key">key</a>(in unsigned long index);
+  getter any <a href="#dom-storage-getitem" title="dom-Storage-getItem">getItem</a>(in DOMString key);
+  setter creator void <a href="#dom-storage-setitem" title="dom-Storage-setItem">setItem</a>(in DOMString key, in any data);
+  deleter void <a href="#dom-storage-removeitem" title="dom-Storage-removeItem">removeItem</a>(in DOMString key);
   void <a href="#dom-storage-clear" title="dom-Storage-clear">clear</a>();
 };</pre><!-- v2 ideas:
     a getInfo() method that returns an object that tells you:
@@ -480,9 +480,11 @@
   --><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">4.2 </span>The <code title="dom-sessionStorage"><a href="#dom-sessionstorage">sessionStorage</a></code> attribute</h3><pre class="idl">[Supplemental] interface <span>Window</span> {
+  underlying list of key/value pairs see is required.<h3 id="the-sessionstorage-attribute"><span class="secno">4.2 </span>The <code title="dom-sessionStorage"><a href="#dom-sessionstorage">sessionStorage</a></code> attribute</h3><pre class="idl">[Supplemental, NoInterfaceObject]
+interface <span>WindowSessionStorage</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>
+};
+<span>Window</span> implements <span>WindowSessionStorage</span>;</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
@@ -521,9 +523,11 @@
   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">4.3 </span>The <code title="dom-localStorage"><a href="#dom-localstorage">localStorage</a></code> attribute</h3><pre class="idl">[Supplemental] interface <span>Window</span> {
+  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">4.3 </span>The <code title="dom-localStorage"><a href="#dom-localstorage">localStorage</a></code> attribute</h3><pre class="idl">[Supplemental, NoInterfaceObject]
+interface <span>WindowLocalStorage</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>
+};
+<span>Window</span> implements <span>WindowLocalStorage</span>;</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
Received on Saturday, 8 August 2009 00:22:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:14:08 GMT