Skip to content

Commit

Permalink
[giow] (0) Allow script termination dialogs to close the page too.
Browse files Browse the repository at this point in the history
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7318 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 5, 2012
1 parent 6af4418 commit 438ec5d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -74441,6 +74441,13 @@ <h5 id=killing-scripts><span class=secno>7.1.3.4 </span>Killing scripts</h5>
<p>If scripting is disabled while a script is executing, the script
should be terminated immediately.</p>

<p>User agents may allow users to specifically disable scripts just
for the purposes of closing a <a href=#browsing-context>browsing context</a>.</p>

<p class=example>For example, the prompt mentioned in the example
above could also offer the user with a mechanism to just close the
page entirely, without running any <code title=event-unload>unload</code> event handlers.</p>

</div>


Expand Down
7 changes: 7 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -74441,6 +74441,13 @@ interface <dfn id=navigatoronline>NavigatorOnLine</dfn> {
<p>If scripting is disabled while a script is executing, the script
should be terminated immediately.</p>

<p>User agents may allow users to specifically disable scripts just
for the purposes of closing a <a href=#browsing-context>browsing context</a>.</p>

<p class=example>For example, the prompt mentioned in the example
above could also offer the user with a mechanism to just close the
page entirely, without running any <code title=event-unload>unload</code> event handlers.</p>

</div>


Expand Down
8 changes: 8 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -87017,6 +87017,14 @@ interface <dfn>NavigatorOnLine</dfn> {
<p>If scripting is disabled while a script is executing, the script
should be terminated immediately.</p>

<p>User agents may allow users to specifically disable scripts just
for the purposes of closing a <span>browsing context</span>.</p>

<p class="example">For example, the prompt mentioned in the example
above could also offer the user with a mechanism to just close the
page entirely, without running any <code
title="event-unload">unload</code> event handlers.</p>

</div>


Expand Down

0 comments on commit 438ec5d

Please sign in to comment.