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

Traverse history by a delta is unclear for deltas larger than 1 #3615

Closed
cbrewster opened this issue Apr 6, 2018 · 0 comments · Fixed by #6315
Closed

Traverse history by a delta is unclear for deltas larger than 1 #3615

cbrewster opened this issue Apr 6, 2018 · 0 comments · Fixed by #6315
Labels
interop Implementations are not interoperable with each other topic: history

Comments

@cbrewster
Copy link

cbrewster commented Apr 6, 2018

The steps for Traverse history by a delta https://html.spec.whatwg.org/multipage/#traverse-the-history-by-a-delta seem to assume only a single browsing context will be traversed.

In the case of a delta > 1, multiple browsing contexts may be traversed to a different document. In this case, it is not clear what the specified browsing context should be.

Should each browsing context that is being traversed prompt its active document to unload?
If so, what should happen if one document is allowed to unload, but not the other?

I have created a page to test this behavior across multiple browsers https://servo-experiments.surge.sh/beforeunload-parent.html

cc @asajeffrey @gterzian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interop Implementations are not interoperable with each other topic: history
Development

Successfully merging a pull request may close this issue.

2 participants