Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user agent to unload nested browsing contexts #5885

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -77385,6 +77385,22 @@ console.assert(iframeWindow.frameElement === null);
</div>


<h5 id="ua-removal-nested-browsing-contexts">User agent removal of nested browsing contexts</h5>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems inaccurate as nothing is removed.


<p>For a given <span data-x="bc-container">browsing context container</span> <var>container</var>,
the user agent can unload <var>container</var>'s <span>nested browsing context</span>
<var>browsingContext</var> for any reason by running the following steps:</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this wording can be improved. I don't think we should allow this for "any reason". It would also be better if it did not reuse "unload" where it means navigation.


<ol>
<li><p>Let <var>resource</var> be a <span>network error</span> corresponding to the reason for
unload.</p></li>

<li><p><span>Navigate</span> <var>browsingContext</var> to <var>resource</var>, with <var
data-x="navigation-hh">historyHandling</var> set to "<code data-x="hh-replace">replace</code>",
and <span>source browsing context</span> set to <var>browsingContext</var>.</p></li>
</ol>



<h4 id="security-nav">Security</h4>

Expand Down Expand Up @@ -123345,6 +123361,7 @@ INSERT INTERFACES HERE
John Bussjaeger,
John Carpenter,
John Daggett,
John Delaney,
John Fallows,
John Foliot,
John Harding,
Expand Down