Skip to content

Termination should also "discard" the receiving browsing context #423

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

Closed
tidoust opened this issue Apr 14, 2017 · 1 comment
Closed

Termination should also "discard" the receiving browsing context #423

tidoust opened this issue Apr 14, 2017 · 1 comment

Comments

@tidoust
Copy link
Member

tidoust commented Apr 14, 2017

The steps to terminate a presentation in a receiving browsing context tell the receiving user agent to unload a document.

I believe the intent is to close the context entirely, but there are a couple of additional steps needed to close a browsing context:

  • Remove the specified browsing context from the user interface (e.g., close or hide its tab in a tabbed browser).
  • Discard the specified browsing context.

The first point is UA-specific and could perhaps go without saying, but the second point is neeed to set window.closed. A quick test suggests that Chrome already does that correctly.

In other words, I propose to revisit the bullet point we have to "If there is a receiving browsing context for P, and it has a document for P that is not unloaded, unload a document corresponding to that browsing context, remove that browsing context from the user interface and discard it".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants