Skip to content

Commit

Permalink
Reset window.name also when opener is set to null
Browse files Browse the repository at this point in the history
Tests: WPT html/browsers/windows/clear-window-name.https.html.

Helps with #5680.
  • Loading branch information
annevk committed Jan 8, 2021
1 parent 33addcd commit cccfb68
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -85909,8 +85909,9 @@ new PaymentRequest(…); // Allowed to use
name</span>.</p></li>

<li id="resetBCName"><p>If the browsing context is a <span>top-level browsing context</span>,
but not an <span>auxiliary browsing context</span>, then set the browsing context's <span
data-x="browsing context name">name</span> to the empty string.</p></li>
but not an <span>auxiliary browsing context</span> whose <span>disowned</span> is false, then
set the browsing context's <span data-x="browsing context name">name</span> to the empty
string.</p></li>
</ol>
</li>

Expand Down

0 comments on commit cccfb68

Please sign in to comment.