Skip to content

Commit

Permalink
Check all of ancestor origins
Browse files Browse the repository at this point in the history
  • Loading branch information
tkent-google committed Feb 25, 2021
1 parent 7da0976 commit f736ffd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -74141,14 +74141,16 @@ END:VCARD</pre>
<li><p>If <var>target</var>'s <span>active sandboxing flag set</span> has the
<span>sandboxed automatic features browsing context flag</span>, then return.</p></li>

<li><p>If any <span>origin</span> of <span data-x="active document">active documents</span> of
each of <var>target</var>'s <span data-x="concept-document-bc">browsing context</span>'s
<span data-x="ancestor browsing context">ancestor browsing contexts</span> is not
<span data-x="same origin">same</span> as <var>target</var>'s <span>origin</span>, then
return.</p></li>

<li><p>Let <var>topDocument</var> be the <span>active document</span> of <var>target</var>'s
<span data-x="concept-document-bc">browsing context</span>'s
<span>top-level browsing context</span>.</p></li>

<li><p>If <var>target</var>'s <span data-x="concept-document-origin">origin</span> is not the
<span data-x="same origin">same</span> as the <span
data-x="concept-document-origin">origin</span> of <var>topDocument</var>, then return.</p></li>

<li><p>If <var>topDocument</var>'s <span>autofocus processed flag</span> is false, then
<span data-x="list remove">remove</span> the element from <var>topDocument</var>'s
<span>autofocus candidates</span>, and <span data-x="list append">append</span> the element to
Expand Down

0 comments on commit f736ffd

Please sign in to comment.