[html5] r6719 - [giow] (1) Move XMLDocumentLoader.load to XMLDocument. Fixing http://www.w3.org/ [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Oct 20 16:03:24 PDT 2011
Author: ianh
Date: 2011-10-20 16:03:22 -0700 (Thu, 20 Oct 2011)
New Revision: 6719
Modified:
complete.html
index
source
Log:
[giow] (1) Move XMLDocumentLoader.load to XMLDocument.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14037
Modified: complete.html
===================================================================
--- complete.html 2011-10-20 23:01:03 UTC (rev 6718)
+++ complete.html 2011-10-20 23:03:22 UTC (rev 6719)
@@ -9952,15 +9952,9 @@
<h4 id=loading-xml-documents><span class=secno>3.1.5 </span>Loading XML documents</h4>
- <p>A <code><a href=#document>Document</a></code> object that is an <a href=#xml-documents title="XML
- documents">XML document</a> that was created by the <code title=dom-DOMImplementation-createDocument><a href=#dom-domimplementation-createdocument>DOMImplementation.createDocument()</a></code>
- factory method must also implement the
- <code><a href=#xmldocumentloader>XMLDocumentLoader</a></code> interface:</p>
-
- <pre class=idl>[NoInterfaceObject]
-interface <dfn id=xmldocumentloader>XMLDocumentLoader</dfn> {
-<!--SYNCLOAD attribute boolean <span title="dom-XMLDocumentLoader-async">async</span>;
---> boolean <a href=#dom-xmldocumentloader-load title=dom-XMLDocumentLoader-load>load</a>(DOMString url);
+ <pre class=idl>partial interface <dfn id=xmldocument>XMLDocument</dfn> {
+<!--SYNCLOAD attribute boolean <span title="dom-XMLDocument-async">async</span>;
+--> boolean <a href=#dom-xmldocument-load title=dom-XMLDocument-load>load</a>(DOMString url);
};</pre>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/576 -->
@@ -9969,20 +9963,20 @@
<!--SYNCLOAD
<p>The <dfn
- title="dom-XMLDocumentLoader-async"><code>async</code></dfn>
+ title="dom-XMLDocument-async"><code>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 id=dom-xmldocumentloader-load title=dom-XMLDocumentLoader-load><code>load(<var title="">url</var>)</code></dfn> method must run the following
+ <p>The <dfn id=dom-xmldocument-load title=dom-XMLDocument-load><code>load(<var title="">url</var>)</code></dfn> method must run the following
steps:</p>
<ol><!--SYNCLOAD
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <li><p>If <code title="dom-XMLDocument-async">async</code> is
set to false and the <var title="">document</var> is
<span>load-blocked</span>, return false and abort these
steps.</p></li>
---><li><p>Let <var title="">document</var> be the <code><a href=#document>Document</a></code>
+--><li><p>Let <var title="">document</var> be the <code><a href=#xmldocument>XMLDocument</a></code>
object on which the method was invoked.</li>
<li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the method's
@@ -9995,7 +9989,7 @@
the same as the <a href=#origin>origin</a> of <var title="">document</var>, throw a <code><a href=#securityerror>SecurityError</a></code>
exception and abort these steps.</li>
<!--SYNCLOAD
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <li><p>If <code title="dom-XMLDocument-async">async</code> is
set to false, let <var title="">document</var> be
<dfn>load-blocked</dfn>.</p></li>
-->
@@ -10005,7 +9999,7 @@
<li><p>Set the <a href=#current-document-readiness>current document readiness</a> of <var title="">document</var> to "loading".</li>
- <li><p><!--SYNCLOAD If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <li><p><!--SYNCLOAD If <code title="dom-XMLDocument-async">async</code> is
set to true, then run--> Run the remainder of these steps asynchronously,
and return true from the method.<!--SYNCLOAD Otherwise, continue running these
steps without yet returning.--></li>
@@ -10039,7 +10033,7 @@
<li>
- <p><!--SYNCLOAD If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <p><!--SYNCLOAD If <code title="dom-XMLDocument-async">async</code> is
set to true, then <span>queue--> <a href=#queue-a-task>Queue a task</a> to run the following
steps. <!--SYNCLOAD Otherwise, run them synchronously.--></p>
@@ -10061,12 +10055,12 @@
</ol></li>
<!--SYNCLOAD
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code>
+ <li><p>If <code title="dom-XMLDocument-async">async</code>
was set to false when this algorithm started, let <var
title="">document</var> be no longer
<span>load-blocked</span>.</p></li>
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code>
+ <li><p>If <code title="dom-XMLDocument-async">async</code>
was set to false when this algorithm started, return <var
title="">success</var>.</p></li>
-->
Modified: index
===================================================================
--- index 2011-10-20 23:01:03 UTC (rev 6718)
+++ index 2011-10-20 23:03:22 UTC (rev 6719)
@@ -9952,15 +9952,9 @@
<h4 id=loading-xml-documents><span class=secno>3.1.5 </span>Loading XML documents</h4>
- <p>A <code><a href=#document>Document</a></code> object that is an <a href=#xml-documents title="XML
- documents">XML document</a> that was created by the <code title=dom-DOMImplementation-createDocument><a href=#dom-domimplementation-createdocument>DOMImplementation.createDocument()</a></code>
- factory method must also implement the
- <code><a href=#xmldocumentloader>XMLDocumentLoader</a></code> interface:</p>
-
- <pre class=idl>[NoInterfaceObject]
-interface <dfn id=xmldocumentloader>XMLDocumentLoader</dfn> {
-<!--SYNCLOAD attribute boolean <span title="dom-XMLDocumentLoader-async">async</span>;
---> boolean <a href=#dom-xmldocumentloader-load title=dom-XMLDocumentLoader-load>load</a>(DOMString url);
+ <pre class=idl>partial interface <dfn id=xmldocument>XMLDocument</dfn> {
+<!--SYNCLOAD attribute boolean <span title="dom-XMLDocument-async">async</span>;
+--> boolean <a href=#dom-xmldocument-load title=dom-XMLDocument-load>load</a>(DOMString url);
};</pre>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/576 -->
@@ -9969,20 +9963,20 @@
<!--SYNCLOAD
<p>The <dfn
- title="dom-XMLDocumentLoader-async"><code>async</code></dfn>
+ title="dom-XMLDocument-async"><code>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 id=dom-xmldocumentloader-load title=dom-XMLDocumentLoader-load><code>load(<var title="">url</var>)</code></dfn> method must run the following
+ <p>The <dfn id=dom-xmldocument-load title=dom-XMLDocument-load><code>load(<var title="">url</var>)</code></dfn> method must run the following
steps:</p>
<ol><!--SYNCLOAD
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <li><p>If <code title="dom-XMLDocument-async">async</code> is
set to false and the <var title="">document</var> is
<span>load-blocked</span>, return false and abort these
steps.</p></li>
---><li><p>Let <var title="">document</var> be the <code><a href=#document>Document</a></code>
+--><li><p>Let <var title="">document</var> be the <code><a href=#xmldocument>XMLDocument</a></code>
object on which the method was invoked.</li>
<li><p><a href=#resolve-a-url title="resolve a url">Resolve</a> the method's
@@ -9995,7 +9989,7 @@
the same as the <a href=#origin>origin</a> of <var title="">document</var>, throw a <code><a href=#securityerror>SecurityError</a></code>
exception and abort these steps.</li>
<!--SYNCLOAD
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <li><p>If <code title="dom-XMLDocument-async">async</code> is
set to false, let <var title="">document</var> be
<dfn>load-blocked</dfn>.</p></li>
-->
@@ -10005,7 +9999,7 @@
<li><p>Set the <a href=#current-document-readiness>current document readiness</a> of <var title="">document</var> to "loading".</li>
- <li><p><!--SYNCLOAD If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <li><p><!--SYNCLOAD If <code title="dom-XMLDocument-async">async</code> is
set to true, then run--> Run the remainder of these steps asynchronously,
and return true from the method.<!--SYNCLOAD Otherwise, continue running these
steps without yet returning.--></li>
@@ -10039,7 +10033,7 @@
<li>
- <p><!--SYNCLOAD If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <p><!--SYNCLOAD If <code title="dom-XMLDocument-async">async</code> is
set to true, then <span>queue--> <a href=#queue-a-task>Queue a task</a> to run the following
steps. <!--SYNCLOAD Otherwise, run them synchronously.--></p>
@@ -10061,12 +10055,12 @@
</ol></li>
<!--SYNCLOAD
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code>
+ <li><p>If <code title="dom-XMLDocument-async">async</code>
was set to false when this algorithm started, let <var
title="">document</var> be no longer
<span>load-blocked</span>.</p></li>
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code>
+ <li><p>If <code title="dom-XMLDocument-async">async</code>
was set to false when this algorithm started, return <var
title="">success</var>.</p></li>
-->
Modified: source
===================================================================
--- source 2011-10-20 23:01:03 UTC (rev 6718)
+++ source 2011-10-20 23:03:22 UTC (rev 6719)
@@ -10129,16 +10129,9 @@
<h4>Loading XML documents</h4>
- <p>A <code>Document</code> object that is an <span title="XML
- documents">XML document</span> that was created by the <code
- title="dom-DOMImplementation-createDocument">DOMImplementation.createDocument()</code>
- factory method must also implement the
- <code>XMLDocumentLoader</code> interface:</p>
-
- <pre class="idl">[NoInterfaceObject]
-interface <dfn>XMLDocumentLoader</dfn> {
-<!--SYNCLOAD attribute boolean <span title="dom-XMLDocumentLoader-async">async</span>;
---> boolean <span title="dom-XMLDocumentLoader-load">load</span>(DOMString url);
+ <pre class="idl">partial interface <dfn>XMLDocument</dfn> {
+<!--SYNCLOAD attribute boolean <span title="dom-XMLDocument-async">async</span>;
+--> boolean <span title="dom-XMLDocument-load">load</span>(DOMString url);
};</pre>
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/576 -->
@@ -10147,23 +10140,23 @@
<!--SYNCLOAD
<p>The <dfn
- title="dom-XMLDocumentLoader-async"><code>async</code></dfn>
+ title="dom-XMLDocument-async"><code>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 title="dom-XMLDocumentLoader-load"><code>load(<var
+ <p>The <dfn title="dom-XMLDocument-load"><code>load(<var
title="">url</var>)</code></dfn> method must run the following
steps:</p>
<ol>
<!--SYNCLOAD
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <li><p>If <code title="dom-XMLDocument-async">async</code> is
set to false and the <var title="">document</var> is
<span>load-blocked</span>, return false and abort these
steps.</p></li>
-->
- <li><p>Let <var title="">document</var> be the <code>Document</code>
+ <li><p>Let <var title="">document</var> be the <code>XMLDocument</code>
object on which the method was invoked.</p></li>
<li><p><span title="resolve a url">Resolve</span> the method's
@@ -10178,7 +10171,7 @@
title="">document</var>, throw a <code>SecurityError</code>
exception and abort these steps.</p></li>
<!--SYNCLOAD
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <li><p>If <code title="dom-XMLDocument-async">async</code> is
set to false, let <var title="">document</var> be
<dfn>load-blocked</dfn>.</p></li>
-->
@@ -10189,7 +10182,7 @@
<li><p>Set the <span>current document readiness</span> of <var
title="">document</var> to "loading".</p></li>
- <li><p><!--SYNCLOAD If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <li><p><!--SYNCLOAD If <code title="dom-XMLDocument-async">async</code> is
set to true, then run--> Run the remainder of these steps asynchronously,
and return true from the method.<!--SYNCLOAD Otherwise, continue running these
steps without yet returning.--></p></li>
@@ -10230,7 +10223,7 @@
<li>
- <p><!--SYNCLOAD If <code title="dom-XMLDocumentLoader-async">async</code> is
+ <p><!--SYNCLOAD If <code title="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>
@@ -10259,12 +10252,12 @@
</li>
<!--SYNCLOAD
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code>
+ <li><p>If <code title="dom-XMLDocument-async">async</code>
was set to false when this algorithm started, let <var
title="">document</var> be no longer
<span>load-blocked</span>.</p></li>
- <li><p>If <code title="dom-XMLDocumentLoader-async">async</code>
+ <li><p>If <code title="dom-XMLDocument-async">async</code>
was set to false when this algorithm started, return <var
title="">success</var>.</p></li>
-->
More information about the Commit-Watchers
mailing list