Skip to content

constellation: Do not request permission for initial about:blank loads. - #46988

Merged
TimvdLippe merged 2 commits into
servo:mainfrom
jdm:schedule-about-blank
Aug 4, 2026
Merged

TimvdLippe merged 2 commits into
servo:mainfrom
jdm:schedule-about-blank

Conversation

@jdm

@jdm jdm commented Aug 4, 2026

Copy link
Copy Markdown
Member

The initial about:blank document is intended to be synchronously available. Our current implementation is too tied to our asynchronous navigation infrastructure, and this gets in the way of the work happening in #46975. This change removes one source of intermittent failures due to timing when a test attempts to navigate the initial about:blank shortly after it is created—when the constellation observes that there is a pending navigation approval for the about:blank, it will silently discard any navigation attempt for the pipeline. I expect to revisit this later after we have decoupled about:blank from our asynchronous navigation infrastructure.

Testing: Not observable behaviour within WPT except via timing changes in tests that involve navigating about:blank iframes/windows.
Fixes: part of #43149

@jdm
jdm requested a review from gterzian as a code owner August 4, 2026 17:52
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 4, 2026

@TimvdLippe TimvdLippe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving given our conversation on Zulip about how this change unblocks the more important change of document replacement. Agreed to re-evaluate pending_navigation with forms and iframes once the dust has settled.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Aug 4, 2026
@TimvdLippe
TimvdLippe enabled auto-merge August 4, 2026 17:54
Signed-off-by: Josh Matthews <[email protected]>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Aug 4, 2026
@TimvdLippe
TimvdLippe added this pull request to the merge queue Aug 4, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 4, 2026
Merged via the queue into servo:main with commit 66d034c Aug 4, 2026
36 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Aug 4, 2026
niyabits pushed a commit to niyabits/servo that referenced this pull request Aug 5, 2026
…s. (servo#46988)

The initial about:blank document is intended to be synchronously
available. Our current implementation is too tied to our asynchronous
navigation infrastructure, and this gets in the way of the work
happening in servo#46975. This change removes one source of intermittent
failures due to timing when a test attempts to navigate the initial
about:blank shortly after it is created—when the constellation observes
that there is a pending navigation approval for the about:blank, it will
silently discard any navigation attempt for the pipeline. I expect to
revisit this later after we have decoupled about:blank from our
asynchronous navigation infrastructure.

Testing: Not observable behaviour within WPT except via timing changes
in tests that involve navigating about:blank iframes/windows.
Fixes: part of servo#43149

---------

Signed-off-by: Josh Matthews <[email protected]>
RichardTjokroutomo pushed a commit to RichardTjokroutomo/servo that referenced this pull request Oct 6, 2026
…s. (servo#46988)

The initial about:blank document is intended to be synchronously
available. Our current implementation is too tied to our asynchronous
navigation infrastructure, and this gets in the way of the work
happening in servo#46975. This change removes one source of intermittent
failures due to timing when a test attempts to navigate the initial
about:blank shortly after it is created—when the constellation observes
that there is a pending navigation approval for the about:blank, it will
silently discard any navigation attempt for the pipeline. I expect to
revisit this later after we have decoupled about:blank from our
asynchronous navigation infrastructure.

Testing: Not observable behaviour within WPT except via timing changes
in tests that involve navigating about:blank iframes/windows.
Fixes: part of servo#43149

---------

Signed-off-by: Josh Matthews <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants