[html5] r5034 - [giow] (0) Add window.stop() Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?i [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 13 02:35:25 PDT 2010


Author: ianh
Date: 2010-04-13 02:35:24 -0700 (Tue, 13 Apr 2010)
New Revision: 5034

Modified:
   complete.html
   index
   source
Log:
[giow] (0) Add window.stop()
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9440

Modified: complete.html
===================================================================
--- complete.html	2010-04-13 09:22:09 UTC (rev 5033)
+++ complete.html	2010-04-13 09:35:24 UTC (rev 5034)
@@ -53923,6 +53923,7 @@
   [Replaceable] readonly attribute <a href=#barprop>BarProp</a> <a href=#dom-window-toolbar title=dom-window-toolbar>toolbar</a>;<!--
   [Replaceable] readonly attribute <span>BarProp</span> <span title="dom-window-directories">directories</span>; // legacy (Gecko-only) -->
   void <a href=#dom-window-close title=dom-window-close>close</a>();
+  void <a href=#dom-window-stop title=dom-window-stop>stop</a>();
   void <a href=#dom-window-focus title=dom-window-focus>focus</a>();
   void <a href=#dom-window-blur title=dom-window-blur>blur</a>();
 
@@ -54152,7 +54153,7 @@
 
    </dd>
 
-   <dt><var title="">window</var> . <code title=dom-close>close</code>()</dt>
+   <dt><var title="">window</var> . <code title=dom-window-close><a href=#dom-window-close>close</a></code>()</dt>
 
    <dd>
 
@@ -54160,6 +54161,14 @@
 
    </dd>
 
+   <dt><var title="">window</var> . <code title=dom-window-stop><a href=#dom-window-stop>stop</a></code>()</dt>
+
+   <dd>
+
+    <p>Cancels the document load.</p>
+
+   </dd>
+
   </dl><div class=impl>
 
   <p>The <dfn id=dom-open title=dom-open><code>open()</code></dfn> method on
@@ -54248,6 +54257,14 @@
   context</a> <var title="">A</var> (and may <a href=#a-browsing-context-is-discarded title="a
   browsing context is discarded">discard</a> it too).</p>
 
+  <p>The <dfn id=dom-window-stop title=dom-window-stop><code>stop()</code></dfn> method
+  on <code><a href=#window>Window</a></code> objects should, if there is an existing
+  attempt to <a href=#navigate>navigate</a> the <a href=#browsing-context>browsing context</a>
+  and that attempt is not currently running the <a href=#unload-a-document>unload a
+  document</a> algorithm, cancel that <a href=#navigate title=navigate>navigation</a> and any associated instances of
+  the <a href=#fetch title=fetch>fetch algorithm</a>. Otherwise, it must
+  do nothing.</p>
+
   </div>
 
 

Modified: index
===================================================================
--- index	2010-04-13 09:22:09 UTC (rev 5033)
+++ index	2010-04-13 09:35:24 UTC (rev 5034)
@@ -53824,6 +53824,7 @@
   [Replaceable] readonly attribute <a href=#barprop>BarProp</a> <a href=#dom-window-toolbar title=dom-window-toolbar>toolbar</a>;<!--
   [Replaceable] readonly attribute <span>BarProp</span> <span title="dom-window-directories">directories</span>; // legacy (Gecko-only) -->
   void <a href=#dom-window-close title=dom-window-close>close</a>();
+  void <a href=#dom-window-stop title=dom-window-stop>stop</a>();
   void <a href=#dom-window-focus title=dom-window-focus>focus</a>();
   void <a href=#dom-window-blur title=dom-window-blur>blur</a>();
 
@@ -54053,7 +54054,7 @@
 
    </dd>
 
-   <dt><var title="">window</var> . <code title=dom-close>close</code>()</dt>
+   <dt><var title="">window</var> . <code title=dom-window-close><a href=#dom-window-close>close</a></code>()</dt>
 
    <dd>
 
@@ -54061,6 +54062,14 @@
 
    </dd>
 
+   <dt><var title="">window</var> . <code title=dom-window-stop><a href=#dom-window-stop>stop</a></code>()</dt>
+
+   <dd>
+
+    <p>Cancels the document load.</p>
+
+   </dd>
+
   </dl><div class=impl>
 
   <p>The <dfn id=dom-open title=dom-open><code>open()</code></dfn> method on
@@ -54149,6 +54158,14 @@
   context</a> <var title="">A</var> (and may <a href=#a-browsing-context-is-discarded title="a
   browsing context is discarded">discard</a> it too).</p>
 
+  <p>The <dfn id=dom-window-stop title=dom-window-stop><code>stop()</code></dfn> method
+  on <code><a href=#window>Window</a></code> objects should, if there is an existing
+  attempt to <a href=#navigate>navigate</a> the <a href=#browsing-context>browsing context</a>
+  and that attempt is not currently running the <a href=#unload-a-document>unload a
+  document</a> algorithm, cancel that <a href=#navigate title=navigate>navigation</a> and any associated instances of
+  the <a href=#fetch title=fetch>fetch algorithm</a>. Otherwise, it must
+  do nothing.</p>
+
   </div>
 
 

Modified: source
===================================================================
--- source	2010-04-13 09:22:09 UTC (rev 5033)
+++ source	2010-04-13 09:35:24 UTC (rev 5034)
@@ -60644,6 +60644,7 @@
   [Replaceable] readonly attribute <span>BarProp</span> <span title="dom-window-toolbar">toolbar</span>;<!--
   [Replaceable] readonly attribute <span>BarProp</span> <span title="dom-window-directories">directories</span>; // legacy (Gecko-only) -->
   void <span title="dom-window-close">close</span>();
+  void <span title="dom-window-stop">stop</span>();
   void <span title="dom-window-focus">focus</span>();
   void <span title="dom-window-blur">blur</span>();
 
@@ -60889,7 +60890,7 @@
 
    </dd>
 
-   <dt><var title="">window</var> . <code title="dom-close">close</code>()</dt>
+   <dt><var title="">window</var> . <code title="dom-window-close">close</code>()</dt>
 
    <dd>
 
@@ -60897,6 +60898,14 @@
 
    </dd>
 
+   <dt><var title="">window</var> . <code title="dom-window-stop">stop</code>()</dt>
+
+   <dd>
+
+    <p>Cancels the document load.</p>
+
+   </dd>
+
   </dl>
 
   <div class="impl">
@@ -60997,6 +61006,15 @@
   context</span> <var title="">A</var> (and may <span title="a
   browsing context is discarded">discard</span> it too).</p>
 
+  <p>The <dfn title="dom-window-stop"><code>stop()</code></dfn> method
+  on <code>Window</code> objects should, if there is an existing
+  attempt to <span>navigate</span> the <span>browsing context</span>
+  and that attempt is not currently running the <span>unload a
+  document</span> algorithm, cancel that <span
+  title="navigate">navigation</span> and any associated instances of
+  the <span title="fetch">fetch algorithm</span>. Otherwise, it must
+  do nothing.</p>
+
   </div>
 
 




More information about the Commit-Watchers mailing list