Skip to content

Commit

Permalink
[giow] (1) Always allow a browsing context to navigate itself.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23857
Affected topics: HTML, Security

git-svn-id: http://svn.whatwg.org/webapps@8301 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 19, 2013
1 parent fdc521f commit ed8d4e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion complete.html
Expand Up @@ -63802,8 +63802,9 @@ <h4 id=security-nav><span class=secno>6.1.4 </span>Security</h4>
flag set</a> has its <a href=#sandboxed-top-level-navigation-browsing-context-flag>sandboxed top-level navigation browsing context flag</a> set,
then abort these steps negatively.</li>

<!--CLEANUP-->
<li><p>Otherwise, if <var title="">B</var> is a <a href=#top-level-browsing-context>top-level browsing context</a>, and is
not one of the <a href=#ancestor-browsing-context title="ancestor browsing context">ancestor browsing contexts</a> of <var title="">A</var>, and <var title="">A</var>'s <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing
neither <var title="">A</var> nor one of the <a href=#ancestor-browsing-context title="ancestor browsing context">ancestor browsing contexts</a> of <var title="">A</var>, and <var title="">A</var>'s <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing
flag set</a> has its <a href=#sandboxed-navigation-browsing-context-flag>sandboxed navigation browsing context flag</a> set, and <var title="">A</var> is not the <a href=#one-permitted-sandboxed-navigator>one permitted sandboxed navigator</a> of <var title="">B</var>, then abort these steps negatively.</li> <!-- we do not check the
/sandboxed auxiliary navigation browsing context flag/ here, that's only for actually opening
the new top-level browsing context. -->
Expand Down
3 changes: 2 additions & 1 deletion index
Expand Up @@ -63802,8 +63802,9 @@ END:VCARD</pre>
flag set</a> has its <a href=#sandboxed-top-level-navigation-browsing-context-flag>sandboxed top-level navigation browsing context flag</a> set,
then abort these steps negatively.</li>

<!--CLEANUP-->
<li><p>Otherwise, if <var title="">B</var> is a <a href=#top-level-browsing-context>top-level browsing context</a>, and is
not one of the <a href=#ancestor-browsing-context title="ancestor browsing context">ancestor browsing contexts</a> of <var title="">A</var>, and <var title="">A</var>'s <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing
neither <var title="">A</var> nor one of the <a href=#ancestor-browsing-context title="ancestor browsing context">ancestor browsing contexts</a> of <var title="">A</var>, and <var title="">A</var>'s <code><a href=#document>Document</a></code>'s <a href=#active-sandboxing-flag-set>active sandboxing
flag set</a> has its <a href=#sandboxed-navigation-browsing-context-flag>sandboxed navigation browsing context flag</a> set, and <var title="">A</var> is not the <a href=#one-permitted-sandboxed-navigator>one permitted sandboxed navigator</a> of <var title="">B</var>, then abort these steps negatively.</li> <!-- we do not check the
/sandboxed auxiliary navigation browsing context flag/ here, that's only for actually opening
the new top-level browsing context. -->
Expand Down
3 changes: 2 additions & 1 deletion source
Expand Up @@ -70983,8 +70983,9 @@ END:VCARD</pre>
flag set</span> has its <span>sandboxed top-level navigation browsing context flag</span> set,
then abort these steps negatively.</p></li>

<!--CLEANUP-->
<li><p>Otherwise, if <var data-x="">B</var> is a <span>top-level browsing context</span>, and is
not one of the <span data-x="ancestor browsing context">ancestor browsing contexts</span> of <var
neither <var data-x="">A</var> nor one of the <span data-x="ancestor browsing context">ancestor browsing contexts</span> of <var
data-x="">A</var>, and <var data-x="">A</var>'s <code>Document</code>'s <span>active sandboxing
flag set</span> has its <span>sandboxed navigation browsing context flag</span> set, and <var
data-x="">A</var> is not the <span>one permitted sandboxed navigator</span> of <var
Expand Down

0 comments on commit ed8d4e2

Please sign in to comment.