- From: poot <cvsmail@w3.org>
- Date: Wed, 18 Aug 2010 10:33:17 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Make the structured clone algorithm using DATA_CLONE_ERR rather than NOT_SUPPORTED_ERR, for sicking. (whatwg r5311) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4232&r2=1.4233&f=h http://html5.org/tools/web-apps-tracker?from=5310&to=5311 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4232 retrieving revision 1.4233 diff -u -d -r1.4232 -r1.4233 --- Overview.html 18 Aug 2010 01:13:26 -0000 1.4232 +++ Overview.html 18 Aug 2010 01:28:07 -0000 1.4233 @@ -6585,9 +6585,9 @@ <dd> - <ol><li><p>If <var title="">input</var> is in <var title="">memory</var>, then throw a - <code><a href="#not_supported_err">NOT_SUPPORTED_ERR</a></code> exception and abort the overall - <a href="#structured-clone">structured clone</a> algorithm.</li> + <ol><li><p>If <var title="">input</var> is in <var title="">memory</var>, then throw a <code><a href="#data_clone_err">DATA_CLONE_ERR</a></code> + exception and abort the overall <a href="#structured-clone">structured clone</a> + algorithm.</li> <li><p>Otherwise, let <var title="">new memory</var> be a list consisting of the items in <var title="">memory</var> with the @@ -6619,8 +6619,8 @@ <dt>If <var title="">input</var> is another native object type (e.g. <code>Error</code>)</dt> <dt>If <var title="">input</var> is a host object (e.g. a DOM node)</dt> - <dd><p>Throw a <code><a href="#not_supported_err">NOT_SUPPORTED_ERR</a></code> exception and abort - the overall <a href="#structured-clone">structured clone</a> algorithm.</dd> + <dd><p>Throw a <code><a href="#data_clone_err">DATA_CLONE_ERR</a></code> exception and abort the + overall <a href="#structured-clone">structured clone</a> algorithm.</dd> </dl></div><h4 id="domstringmap-0"><span class="secno">2.7.6 </span>DOMStringMap</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <code><a href="#domstringmap">DOMStringMap</a></code> interface represents a set of name-value pairs. It exposes these using the scripting language's @@ -6729,12 +6729,18 @@ <li value="18"><dfn id="security_err"><code>SECURITY_ERR</code></dfn></li> <!-- actually in XHR for now --> <li value="19"><dfn id="network_err"><code>NETWORK_ERR</code></dfn></li> <!-- actually in XHR for now --> <li value="20"><dfn id="abort_err"><code>ABORT_ERR</code></dfn></li> <!-- actually in XHR for now --> - <li value="21"><dfn id="url_mismatch_err"><code>URL_MISMATCH_ERR</code></dfn></li> <!-- actually in workers for now --> + <li value="21"><dfn id="url_mismatch_err"><code>URL_MISMATCH_ERR</code></dfn></li> <!-- actually defined right here for now --> <li value="22"><dfn id="quota_exceeded_err"><code>QUOTA_EXCEEDED_ERR</code></dfn></li> <!-- actually defined right here for now --> -<!--v2DATAGRID <li value="23"><dfn><code>DATAGRID_MODEL_ERR</code></dfn></li> --> <!-- actually defined right here for now --> + <li value="23"><dfn id="timeout_err"><code>TIMEOUT_ERR</code></dfn></li> <!-- actually in XHR for now --> + <li value="24"><dfn id="data_clone_err"><code>DATA_CLONE_ERR</code></dfn></li> <!-- actually defined right here for now --> +<!--v2DATAGRID <li value="24"><dfn><code>DATAGRID_MODEL_ERR</code></dfn></li> --> <!-- actually defined right here for now --> <li value="81"><dfn id="parse_err"><code>PARSE_ERR</code></dfn></li> <!-- actually defined in dom3ls --> <li value="82"><dfn id="serialize_err"><code>SERIALIZE_ERR</code></dfn></li> <!-- actually defined in dom3ls --> - </ol><div class="impl"> + </ol><pre class="impl">[Supplemental] exception DOMException { + const unsigned short <a href="#url_mismatch_err">URL_MISMATCH_ERR</a> = 21; + const unsigned short <a href="#quota_exceeded_err">QUOTA_EXCEEDED_ERR</a> = 22; + const unsigned short <a href="#data_clone_err">DATA_CLONE_ERR</a> = 24; +};</pre><div class="impl"> <h4 id="garbage-collection"><span class="secno">2.7.9 </span>Garbage collection</h4><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i></p>
Received on Wednesday, 18 August 2010 01:28:54 UTC