HTML5 Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/5034

SVNBugCommentTime (UTC)
50349440[Gecko] [Internet Explorer] [Opera] [Webkit] Add window.stop()2010-04-13 09:35
Index: source
===================================================================
--- source	(revision 5033)
+++ source	(revision 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>
 
 

|