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

browsers handle document.open'ed iframe documents differently in session history #9330

Open
smaug---- opened this issue May 24, 2023 · 1 comment
Labels
interop Implementations are not interoperable with each other topic: document.open() topic: history

Comments

@smaug----
Copy link

Context is https://bugzilla.mozilla.org/show_bug.cgi?id=1563176#c6

https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_checked is an example
Click submit button, and then click back

Firefox loads a duplicate of the top level page, since that is what the url is.
Chrome loads about:blank (where is that coming from ?)
and I was told that Safari goes back to the page which was in the session history before https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_checked

All of those are pretty bad experience.

@domenic domenic added topic: history interop Implementations are not interoperable with each other topic: document.open() labels Jun 1, 2023
@domenic
Copy link
Member

domenic commented Jun 1, 2023

This seems potentially related to #6556, which I tried to fix in #6649 but got stuck on. Not sure though.

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: document.open() topic: history
Development

No branches or pull requests

2 participants