-
Notifications
You must be signed in to change notification settings - Fork 28
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
Stop using "browsing context" in the spec #362
Comments
I think in that |
Per https://html.spec.whatwg.org/multipage/document-sequences.html#concept-document-bc it's at least possible, but I can't think of a case where a document is fully active and has a null browsing context. I think just removing that step from the algorithm like you said makes sense. |
For the record, I've filed whatwg/html#9509 to confirm that this step can be safely removed. |
Since whatwg/html#6315, the HTML spec suggests other specifications use "navigable" and associated concepts (along with Document) rather than "browsing context" in most cases. In this specific case, however, we can simply remove the step that checks if `document`'s browsing context is null -- there is no case in which a document is fully active _and_ has a null browsing context, as confirmed by whatwg/html#9509. Fixes #362.
Since whatwg/html#6315, the HTML spec suggests other specifications use "navigable" and associated concepts (along with Document) rather than "browsing context" in most cases. In this specific case, however, we can simply remove the step that checks if `document`'s browsing context is null -- there is no case in which a document is fully active _and_ has a null browsing context, as confirmed by whatwg/html#9509. Fixes #362.
Since whatwg/html#6315, the HTML spec suggests other specifications use "navigable" and associated concepts (along with Document) rather than "browsing context" in most cases. See also the notice in https://html.spec.whatwg.org/multipage/document-sequences.html#windows:
This specification references "browsing context" in https://w3c.github.io/screen-wake-lock/#the-request-method
The text was updated successfully, but these errors were encountered: