Skip to content

Commit

Permalink
[giow] (0) Add window.stop()
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=9440

git-svn-id: http://svn.whatwg.org/webapps@5034 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 13, 2010
1 parent 2c52be8 commit c2b59d6
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 3 deletions.
19 changes: 18 additions & 1 deletion complete.html
Expand Up @@ -53923,6 +53923,7 @@ <h3 id=the-window-object><span class=secno>6.2 </span>The <code><a href=#window>
[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>();

Expand Down Expand Up @@ -54152,14 +54153,22 @@ <h4 id=apis-for-creating-and-navigating-browsing-contexts-by-name><span class=se

</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>

<p>Closes the window.</p>

</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
Expand Down Expand Up @@ -54248,6 +54257,14 @@ <h4 id=apis-for-creating-and-navigating-browsing-contexts-by-name><span class=se
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>


Expand Down
19 changes: 18 additions & 1 deletion index
Expand Up @@ -53824,6 +53824,7 @@ interface <dfn id=window>Window</dfn> {
[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>();

Expand Down Expand Up @@ -54053,14 +54054,22 @@ interface <dfn id=window>Window</dfn> {

</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>

<p>Closes the window.</p>

</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
Expand Down Expand Up @@ -54149,6 +54158,14 @@ interface <dfn id=window>Window</dfn> {
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>


Expand Down
20 changes: 19 additions & 1 deletion source
Expand Up @@ -60644,6 +60644,7 @@ interface <dfn>Window</dfn> {
[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>();

Expand Down Expand Up @@ -60889,14 +60890,22 @@ interface <dfn>Window</dfn> {

</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>

<p>Closes the window.</p>

</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">
Expand Down Expand Up @@ -60997,6 +61006,15 @@ interface <dfn>Window</dfn> {
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>


Expand Down

0 comments on commit c2b59d6

Please sign in to comment.