-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Processing iframe attributes is really confusing in terms of replacement enabled behavior #1377
Comments
I was just looking at this. Should we handle some this in the navigate algorithm directly? E.g., if the browsing context being navigated is a nested browsing context and its active document is initial about:blank, then set replacement enabled. It seems to apply to everything that creates nested browsing contexts. |
@bzbarsky can initial about:blank ever be replaced with about:blank? |
Per spec as currently written, sure. |
I couldn't really detect that happening in implementations though. |
If the question was what implementations do, I don't really know; I'd have to write careful tests and whatnot. The replacement thing totally happens in Gecko. In fact it even happens for plain |
This seems related to #2685 about no longer passing "replacement enabled" around implicitly. |
This was fixed by 45b7b7b. Hurray! |
The basic structure is:
And then there are some paragraphs of text, including:
and
But chances are the spec reader has already clicked on the "Navigate" link and doesn't realize replacement is enabled.
The text was updated successfully, but these errors were encountered: