[html5] r8800 - [e] (0) Remove commented out SYNCLOAD stuff relating to XMLDocument.load() Affec [...]

whatwg at whatwg.org whatwg at whatwg.org
Fri Sep 19 16:22:39 PDT 2014


Author: ianh
Date: 2014-09-19 16:22:36 -0700 (Fri, 19 Sep 2014)
New Revision: 8800

Modified:
   complete.html
   index
   source
Log:
[e] (0) Remove commented out SYNCLOAD stuff relating to XMLDocument.load()
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2014-09-19 23:19:48 UTC (rev 8799)
+++ complete.html	2014-09-19 23:22:36 UTC (rev 8800)
@@ -6354,8 +6354,6 @@
   
   
 
-
-
   <p>The <dfn id=dom-xmldocument-load><code>load(<var>url</var>)</code></dfn> method
   must run the following steps:</p>
 
@@ -6365,7 +6363,7 @@
    successful, throw a <code id=loading-xml-documents:syntaxerror><a href=#syntaxerror>SyntaxError</a></code> exception and abort these steps. Otherwise, let <var>url</var> be the resulting <a href=#absolute-url id=loading-xml-documents:absolute-url>absolute URL</a>.<li><p>If the <a href=#origin-2 id=loading-xml-documents:origin-2>origin</a> of <var>url</var> is not the same as the
    <a href=#origin-2 id=loading-xml-documents:origin-2-2>origin</a> of <var>document</var>, throw a <code id=loading-xml-documents:securityerror><a href=#securityerror>SecurityError</a></code> exception
    and abort these steps.<li><p>Remove all child nodes of <var>document</var>, without firing any mutation
-   events.<li><p>Set the <a href=#current-document-readiness id=loading-xml-documents:current-document-readiness>current document readiness</a> of <var>document</var> to "<code>loading</code>".<li><p> Run the remainder of these steps <a href=#in-parallel id=loading-xml-documents:in-parallel>in parallel</a>, and return true from the
+   events.<li><p>Set the <a href=#current-document-readiness id=loading-xml-documents:current-document-readiness>current document readiness</a> of <var>document</var> to "<code>loading</code>".<li><p>Run the remainder of these steps <a href=#in-parallel id=loading-xml-documents:in-parallel>in parallel</a>, and return true from the
    method.<li><p>Let <var>result</var> be a <code id=loading-xml-documents:document><a href=#document>Document</a></code> object.<li><p>Let <var>success</var> be false.<li><p><a href=#fetch id=loading-xml-documents:fetch>Fetch</a> <var>url</var> from the <a href=#origin-2 id=loading-xml-documents:origin-2-3>origin</a> of
    <var>document</var>, using the <a href=#api-referrer-source id=loading-xml-documents:api-referrer-source>API referrer source</a> specified by the
    <a href=#entry-settings-object id=loading-xml-documents:entry-settings-object-2>entry settings object</a>, with the <i>blocking flag</i> set and the <i>force same-origin flag</i> set.<li>
@@ -6380,7 +6378,7 @@
 
    <li>
 
-    <p> <a href=#queue-a-task id=loading-xml-documents:queue-a-task>Queue a task</a> to run the following steps. </p>
+    <p><a href=#queue-a-task id=loading-xml-documents:queue-a-task>Queue a task</a> to run the following steps.</p>
 
     <ol><li><p>Set the <a href=#current-document-readiness id=loading-xml-documents:current-document-readiness-2>current document readiness</a> of <var>document</var> to
      "<code>complete</code>".<li><p>Replace all the children of <var>document</var> by the children of <var>result</var> (even if it has no children), firing mutation events as if a

Modified: index
===================================================================
--- index	2014-09-19 23:19:48 UTC (rev 8799)
+++ index	2014-09-19 23:22:36 UTC (rev 8800)
@@ -6354,8 +6354,6 @@
   
   
 
-
-
   <p>The <dfn id=dom-xmldocument-load><code>load(<var>url</var>)</code></dfn> method
   must run the following steps:</p>
 
@@ -6365,7 +6363,7 @@
    successful, throw a <code id=loading-xml-documents:syntaxerror><a href=#syntaxerror>SyntaxError</a></code> exception and abort these steps. Otherwise, let <var>url</var> be the resulting <a href=#absolute-url id=loading-xml-documents:absolute-url>absolute URL</a>.<li><p>If the <a href=#origin-2 id=loading-xml-documents:origin-2>origin</a> of <var>url</var> is not the same as the
    <a href=#origin-2 id=loading-xml-documents:origin-2-2>origin</a> of <var>document</var>, throw a <code id=loading-xml-documents:securityerror><a href=#securityerror>SecurityError</a></code> exception
    and abort these steps.<li><p>Remove all child nodes of <var>document</var>, without firing any mutation
-   events.<li><p>Set the <a href=#current-document-readiness id=loading-xml-documents:current-document-readiness>current document readiness</a> of <var>document</var> to "<code>loading</code>".<li><p> Run the remainder of these steps <a href=#in-parallel id=loading-xml-documents:in-parallel>in parallel</a>, and return true from the
+   events.<li><p>Set the <a href=#current-document-readiness id=loading-xml-documents:current-document-readiness>current document readiness</a> of <var>document</var> to "<code>loading</code>".<li><p>Run the remainder of these steps <a href=#in-parallel id=loading-xml-documents:in-parallel>in parallel</a>, and return true from the
    method.<li><p>Let <var>result</var> be a <code id=loading-xml-documents:document><a href=#document>Document</a></code> object.<li><p>Let <var>success</var> be false.<li><p><a href=#fetch id=loading-xml-documents:fetch>Fetch</a> <var>url</var> from the <a href=#origin-2 id=loading-xml-documents:origin-2-3>origin</a> of
    <var>document</var>, using the <a href=#api-referrer-source id=loading-xml-documents:api-referrer-source>API referrer source</a> specified by the
    <a href=#entry-settings-object id=loading-xml-documents:entry-settings-object-2>entry settings object</a>, with the <i>blocking flag</i> set and the <i>force same-origin flag</i> set.<li>
@@ -6380,7 +6378,7 @@
 
    <li>
 
-    <p> <a href=#queue-a-task id=loading-xml-documents:queue-a-task>Queue a task</a> to run the following steps. </p>
+    <p><a href=#queue-a-task id=loading-xml-documents:queue-a-task>Queue a task</a> to run the following steps.</p>
 
     <ol><li><p>Set the <a href=#current-document-readiness id=loading-xml-documents:current-document-readiness-2>current document readiness</a> of <var>document</var> to
      "<code>complete</code>".<li><p>Replace all the children of <var>document</var> by the children of <var>result</var> (even if it has no children), firing mutation events as if a

Modified: source
===================================================================
--- source	2014-09-19 23:19:48 UTC (rev 8799)
+++ source	2014-09-19 23:22:36 UTC (rev 8800)
@@ -9348,30 +9348,18 @@
   <h4>Loading XML documents</h4>
 
   <pre class="idl">partial interface <span>XMLDocument</span> {
-<!--SYNCLOAD           attribute boolean <span data-x="dom-XMLDocument-async">async</span>;
--->  boolean <span data-x="dom-XMLDocument-load">load</span>(DOMString url);
+  boolean <span data-x="dom-XMLDocument-load">load</span>(DOMString url);
 };</pre>
 
   <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/576 -->
   <!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/577 -->
   <!-- http://www.hixie.ch/tests/adhoc/dom/level0/document/load/001.html -->
 
-<!--SYNCLOAD
-  <p>The <dfn><code data-x="dom-XMLDocument-async">async</code></dfn> attribute must initially be
-  true. On getting, it must return its current value. On setting, its current value must be changed
-  to the new value.</p>
--->
-
   <p>The <dfn><code data-x="dom-XMLDocument-load">load(<var>url</var>)</code></dfn> method
   must run the following steps:</p>
 
   <ol>
 
-<!--SYNCLOAD
-   <li><p>If <code data-x="dom-XMLDocument-async">async</code> is set to false and the <var>document</var> is <span>load-blocked</span>, return false and abort these
-   steps.</p></li>
--->
-
    <li><p>Let <var>document</var> be the <code>XMLDocument</code> object on which the
    method was invoked.</p></li>
 
@@ -9383,19 +9371,14 @@
    <span>origin</span> of <var>document</var>, throw a <code>SecurityError</code> exception
    and abort these steps.</p></li>
 
-<!--SYNCLOAD
-   <li><p>If <code data-x="dom-XMLDocument-async">async</code> is set to false, let <var>document</var> be <dfn>load-blocked</dfn>.</p></li>
--->
-
    <li><p>Remove all child nodes of <var>document</var>, without firing any mutation
    events.</p></li> <!-- as of 2010-07-26, only Opera fired mutation events here. -->
 
    <li><p>Set the <span>current document readiness</span> of <var>document</var> to "<code
    data-x="">loading</code>".</p></li>
 
-   <li><p><!--SYNCLOAD If <code data-x="dom-XMLDocument-async">async</code> is set to true, then
-   run--> Run the remainder of these steps <span>in parallel</span>, and return true from the
-   method.<!--SYNCLOAD Otherwise, continue running these steps without yet returning.--></p></li>
+   <li><p>Run the remainder of these steps <span>in parallel</span>, and return true from the
+   method.</p></li>
 
    <li><p>Let <var>result</var> be a <code>Document</code> object.</p></li>
 
@@ -9429,9 +9412,7 @@
 
    <li>
 
-    <p><!--SYNCLOAD If <code data-x="dom-XMLDocument-async">async</code> is set to true, then
-    <span>queue--> <span>Queue a task</span> to run the following steps. <!--SYNCLOAD Otherwise, run
-    them synchronously.--></p>
+    <p><span>Queue a task</span> to run the following steps.</p>
 
     <ol>
 
@@ -9451,13 +9432,7 @@
     </ol>
 
    </li>
-<!--SYNCLOAD
-   <li><p>If <code data-x="dom-XMLDocument-async">async</code> was set to false when this algorithm
-   started, let <var>document</var> be no longer <span>load-blocked</span>.</p></li>
 
-   <li><p>If <code data-x="dom-XMLDocument-async">async</code> was set to false when this algorithm
-   started, return <var>success</var>.</p></li>
--->
   </ol>
 
   </div>



More information about the Commit-Watchers mailing list