Repository navigation
script: Do not navigate a newly-opened window to about:blank. - #47074
Merged
Merged
Conversation
jdm
force-pushed
the
window-open-navigate
branch
from
August 8, 2026 02:42
e1c4a09 to
e38030d
Compare
jdm
commented
Aug 8, 2026
| @@ -0,0 +1,3 @@ | |||
| [navigation-unload-same-origin-fragment.html] | |||
| [Tests that a fragment navigation in the unload handler will not block the initial navigation] | |||
jdm
commented
Aug 8, 2026
| @@ -0,0 +1,3 @@ | |||
| [a-click.html] | |||
jdm
commented
Aug 8, 2026
| @@ -1,3 +1,4 @@ | |||
| [form-submit.html] | |||
| expected: TIMEOUT | |||
jdm
marked this pull request as draft
August 8, 2026 03:21
Signed-off-by: Josh Matthews <[email protected]>
jdm
force-pushed
the
window-open-navigate
branch
from
August 8, 2026 03:27
e38030d to
e6671d9
Compare
Member
Author
|
I'm going to figure out what to do about this before merging: |
jdm
commented
Aug 8, 2026
| @@ -1,3 +1,4 @@ | |||
| [iframe-inheritance-history-about-blank.html] | |||
| expected: TIMEOUT | |||
…ilable. Signed-off-by: Josh Matthews <[email protected]>
|
🔨 Triggering try run (#31240238692) for Linux (WPT) |
jdm
marked this pull request as ready for review
August 8, 2026 04:48
|
Test results for linux-wpt from try job (#31240238692): Flaky unexpected result (33)
Stable unexpected results that are known to be intermittent (14)
Stable unexpected results (1)
|
|
|
TimvdLippe
approved these changes
Aug 8, 2026
Signed-off-by: Josh Matthews <[email protected]>
jdm
enabled auto-merge
August 8, 2026 05:47
Signed-off-by: Josh Matthews <[email protected]>
jdm
force-pushed
the
window-open-navigate
branch
from
August 8, 2026 05:47
326dc30 to
31ab88d
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Aug 8, 2026
RichardTjokroutomo
pushed a commit
to RichardTjokroutomo/servo
that referenced
this pull request
Oct 6, 2026
…47074) This improves our conformance with the specification, specifically around the behaviour of `window.open("about:blank")` vs. `window.open()`, both of which should only initialize the about:blank and not perform any subsequent navigation. This is observable by navigating the new window to another URL and checking `window.history.length`; the navigation away from the initial about:blank must always be a replacement navigation. These changes also fix some failures exposed by servo#47050. Testing: New passing tests. Fixes: part of servo#43149 --------- Signed-off-by: Josh Matthews <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This improves our conformance with the specification, specifically around the behaviour of
window.open("about:blank")vs.window.open(), both of which should only initialize the about:blank and not perform any subsequent navigation. This is observable by navigating the new window to another URL and checkingwindow.history.length; the navigation away from the initial about:blank must always be a replacement navigation. These changes also fix some failures exposed by #47050.Testing: New passing tests.
Fixes: part of #43149