Skip to content

Commit

Permalink
[giow] (3) Change how window.close() decides what you can close to ma…
Browse files Browse the repository at this point in the history
…ke more sense.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=22319
Affected topics: DOM APIs

git-svn-id: http://svn.whatwg.org/webapps@8047 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 9, 2013
1 parent 36aa8f5 commit 551cce4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions complete.html
Expand Up @@ -65842,9 +65842,8 @@ <h4 id=apis-for-creating-and-navigating-browsing-contexts-by-name><span class=se
<li>The <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent
script</a> is <a href=#friends-with>friends with</a> the <a href=#browsing-context>browsing context</a> <var title="">A</var>.</li>

<li id=sandboxClose>The <a href=#active-sandboxing-flag-set>active sandboxing flag set</a> of the <a href="#script's-document" title="script's
document">document</a> of the <a href=#incumbent-script>incumbent script</a> does not have its <a href=#sandboxed-top-level-navigation-browsing-context-flag>sandboxed
top-level navigation browsing context flag</a> set.</li>
<li>The <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent
script</a> is <a href=#allowed-to-navigate>allowed to navigate</a> the <a href=#browsing-context>browsing context</a> <var title="">A</var>.</li>

</ul><p>A <a href=#browsing-context>browsing context</a> is <dfn id=script-closable>script-closable</dfn> if it is an <a href=#auxiliary-browsing-context>auxiliary
browsing context</a> that was created by a script (as opposed to by an action of the user), or
Expand Down
5 changes: 2 additions & 3 deletions index
Expand Up @@ -65842,9 +65842,8 @@ END:VCARD</pre>
<li>The <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent
script</a> is <a href=#friends-with>friends with</a> the <a href=#browsing-context>browsing context</a> <var title="">A</var>.</li>

<li id=sandboxClose>The <a href=#active-sandboxing-flag-set>active sandboxing flag set</a> of the <a href="#script's-document" title="script's
document">document</a> of the <a href=#incumbent-script>incumbent script</a> does not have its <a href=#sandboxed-top-level-navigation-browsing-context-flag>sandboxed
top-level navigation browsing context flag</a> set.</li>
<li>The <a href="#script's-browsing-context" title="script's browsing context">browsing context</a> of the <a href=#incumbent-script>incumbent
script</a> is <a href=#allowed-to-navigate>allowed to navigate</a> the <a href=#browsing-context>browsing context</a> <var title="">A</var>.</li>

</ul><p>A <a href=#browsing-context>browsing context</a> is <dfn id=script-closable>script-closable</dfn> if it is an <a href=#auxiliary-browsing-context>auxiliary
browsing context</a> that was created by a script (as opposed to by an action of the user), or
Expand Down
6 changes: 3 additions & 3 deletions source
Expand Up @@ -73433,9 +73433,9 @@ END:VCARD</pre>
script</span> is <span>friends with</span> the <span>browsing context</span> <var
title="">A</var>.</li>

<li id="sandboxClose">The <span>active sandboxing flag set</span> of the <span title="script's
document">document</span> of the <span>incumbent script</span> does not have its <span>sandboxed
top-level navigation browsing context flag</span> set.</li>
<li>The <span title="script's browsing context">browsing context</span> of the <span>incumbent
script</span> is <span>allowed to navigate</span> the <span>browsing context</span> <var
title="">A</var>.</li>

</ul>

Expand Down

0 comments on commit 551cce4

Please sign in to comment.