Skip to content

script: Avoid binding link element with empty href - #61968

Merged
servo-wpt-sync merged 2 commits into
web-platform-tests:masterfrom
servo:servo_export_47266
Aug 15, 2026
Merged

script: Avoid binding link element with empty href#61968
servo-wpt-sync merged 2 commits into
web-platform-tests:masterfrom
servo:servo_export_47266

Conversation

@servo-wpt-sync

@servo-wpt-sync servo-wpt-sync commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

This was crashing immediately after with an assert checking if the href isn't empty. As per spec: If the href attribute is present, then its value must be a valid non-empty URL potentially surrounded by spaces.

Testing: One new crashtest.
Fixes: #47024.

Reviewed in servo/servo#47266

@wpt-pr-bot wpt-pr-bot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The review process for this patch is being conducted in the Servo project.

Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
@servo-wpt-sync
servo-wpt-sync merged commit 0f06c2f into web-platform-tests:master Aug 15, 2026
18 of 20 checks passed
@servo-wpt-sync
servo-wpt-sync deleted the servo_export_47266 branch August 15, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants