[html5] r5770 - [e] (0) Add references to HTML spec since structured clone is defined there. Fix [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Jan 11 11:57:09 PST 2011


Author: ianh
Date: 2011-01-11 11:57:08 -0800 (Tue, 11 Jan 2011)
New Revision: 5770

Modified:
   complete.html
   source
Log:
[e] (0) Add references to HTML spec since structured clone is defined there.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11589

Modified: complete.html
===================================================================
--- complete.html	2011-01-11 19:51:33 UTC (rev 5769)
+++ complete.html	2011-01-11 19:57:08 UTC (rev 5770)
@@ -74817,7 +74817,8 @@
   key/value pairs, which are sometimes called items. Keys are
   strings. Any string (including the empty string) is a valid
   key. Values can be any data type supported by the <a href=#structured-clone>structured
-  clone</a> algorithm.</p>
+  clone</a> algorithm.
+  </p>
 
   <p>Each <code><a href=#storage-0>Storage</a></code> object is associated with a list of
   key/value pairs when it is created, as defined in the sections on
@@ -74855,14 +74856,16 @@
   <p>The <dfn id=dom-storage-getitem title=dom-Storage-getItem><code>getItem(<var title="">key</var>)</code></dfn> method must return a
   <a href=#structured-clone>structured clone</a> of the current value associated with
   the given <var title="">key</var>. If the given <var title="">key</var> does not exist in the list associated with the
-  object then this method must return null.</p>
+  object then this method must return null.
+  </p>
 
   <p>The <dfn id=dom-storage-setitem title=dom-Storage-setItem><code>setItem(<var title="">key</var>, <var title="">value</var>)</code></dfn> method
   must first create a <a href=#structured-clone>structured clone</a> of the given <var title="">value</var>. If this raises an exception, then the
   exception must be thrown and the list associated with the object is
   left unchanged. If constructing the stuctured clone would involve
   constructing a new <code><a href=#imagedata>ImageData</a></code> object, then throw a
-  <code><a href=#not_supported_err>NOT_SUPPORTED_ERR</a></code> exception instead.</p>
+  <code><a href=#not_supported_err>NOT_SUPPORTED_ERR</a></code> exception instead.
+  </p>
 
   <!-- ImageData isn't supported because reading such objects is
   synchronous, and getData() is synchronous, and therefore if the
@@ -75097,7 +75100,8 @@
   <a href=#structured-clone>structured clone</a> of the old value of the key in
   question, or null if the key is newly added, and its <code title=dom-StorageEvent-newValue><a href=#dom-storageevent-newvalue>newValue</a></code> attribute set to a
   <a href=#structured-clone>structured clone</a> of the new value of the key in
-  question, or null if the key was removed.</p>
+  question, or null if the key was removed.
+  </p>
 
   <p>Otherwise, if the event is being fired due to an invocation of
   the <code title=dom-Storage-clear><a href=#dom-storage-clear>clear()</a></code> method, the event

Modified: source
===================================================================
--- source	2011-01-11 19:51:33 UTC (rev 5769)
+++ source	2011-01-11 19:57:08 UTC (rev 5770)
@@ -84707,7 +84707,11 @@
   key/value pairs, which are sometimes called items. Keys are
   strings. Any string (including the empty string) is a valid
   key. Values can be any data type supported by the <span>structured
-  clone</span> algorithm.</p>
+  clone</span> algorithm.
+  <!--END complete--><!--END epub-->
+  <a href="#refsHTML">[HTML]</a>
+  <!--START complete--><!--START epub-->
+  </p>
 
   <p>Each <code>Storage</code> object is associated with a list of
   key/value pairs when it is created, as defined in the sections on
@@ -84751,7 +84755,11 @@
   <span>structured clone</span> of the current value associated with
   the given <var title="">key</var>. If the given <var
   title="">key</var> does not exist in the list associated with the
-  object then this method must return null.</p>
+  object then this method must return null.
+  <!--END complete--><!--END epub-->
+  <a href="#refsHTML">[HTML]</a>
+  <!--START complete--><!--START epub-->
+  </p>
 
   <p>The <dfn title="dom-Storage-setItem"><code>setItem(<var
   title="">key</var>, <var title="">value</var>)</code></dfn> method
@@ -84760,7 +84768,11 @@
   exception must be thrown and the list associated with the object is
   left unchanged. If constructing the stuctured clone would involve
   constructing a new <code>ImageData</code> object, then throw a
-  <code>NOT_SUPPORTED_ERR</code> exception instead.</p>
+  <code>NOT_SUPPORTED_ERR</code> exception instead.
+  <!--END complete--><!--END epub-->
+  <a href="#refsHTML">[HTML]</a>
+  <!--START complete--><!--START epub-->
+  </p>
 
   <!-- ImageData isn't supported because reading such objects is
   synchronous, and getData() is synchronous, and therefore if the
@@ -85024,7 +85036,11 @@
   question, or null if the key is newly added, and its <code
   title="dom-StorageEvent-newValue">newValue</code> attribute set to a
   <span>structured clone</span> of the new value of the key in
-  question, or null if the key was removed.</p>
+  question, or null if the key was removed.
+  <!--END complete--><!--END epub-->
+  <a href="#refsHTML">[HTML]</a>
+  <!--START complete--><!--START epub-->
+  </p>
 
   <p>Otherwise, if the event is being fired due to an invocation of
   the <code title="dom-Storage-clear">clear()</code> method, the event




More information about the Commit-Watchers mailing list