Bug 319443

Summary: WPT with <link rel="match" href="about:blank"> dumps text output
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, gsnedders, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=203784

Simon Fraser (smfr)
Reported 2026-07-14 18:05:52 PDT
The following css-masking tests have `<link rel="match" href="about:blank">`: mask-image/bad-mask-image.html:<link rel="match" href="about:blank"> mask-image/bad-mask-image-svg.html:<link rel="match" href="about:blank"> mask-image/backdrop-filter-bad-mask-image.html:<link rel="match" href="about:blank"> mask-image/backdrop-filter-mask-image-while-loading.html:<link rel="match" href="about:blank"> These seem to dump text output instead of running as a ref test.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-07-14 18:06:07 PDT
Simon Fraser (smfr)
Comment 2 2026-07-14 20:49:19 PDT
This is a side effect of us only looking at `<link rel="match">` at import time, when we construct the `-expected.html`. With `<link rel="match" href="about:blank">` we have no file to copy, so do nothing. Then the test runs as a text test at runtime.
Sam Sneddon [:gsnedders]
Comment 3 2026-08-20 14:06:09 PDT
I'd rather fix this by fixing bug 204022, but we could certainly add a workaround to the importer, writing a zero-length file for about:blank.
Sam Sneddon [:gsnedders]
Comment 4 2026-08-20 14:07:17 PDT
Uh, I meant bug 203784.
Note You need to log in before you can comment on or make changes to this bug.