Bug 231942 - Origin of opaque blob: URLs ends up as empty string
Summary: Origin of opaque blob: URLs ends up as empty string
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alex Christensen
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-19 01:06 PDT by Anne van Kesteren
Modified: 2021-10-19 13:00 PDT (History)
7 users (show)

See Also:


Attachments
Patch (12.84 KB, patch)
2021-10-19 10:07 PDT, Alex Christensen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anne van Kesteren 2021-10-19 01:06:43 PDT
An opaque origin has to serialize as "null". It appears this doesn't happen in Safari: https://github.com/web-platform-tests/wpt/pull/31305. Noticed this while refactoring the specification to do away with cannot-be-a-base-URL in favor of a type: https://github.com/whatwg/url/pull/655.
Comment 1 Alex Christensen 2021-10-19 10:07:33 PDT
Created attachment 441747 [details]
Patch
Comment 2 EWS Watchlist 2021-10-19 10:08:24 PDT
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 3 Alex Christensen 2021-10-19 10:15:00 PDT
Thanks, Anne!
Comment 4 EWS 2021-10-19 12:28:48 PDT
Committed r284478 (243237@main): <https://commits.webkit.org/243237@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 441747 [details].
Comment 5 Radar WebKit Bug Importer 2021-10-19 12:29:20 PDT
<rdar://problem/84427378>
Comment 6 Chris Dumez 2021-10-19 13:00:55 PDT
Committed r284483 (243241@main): <https://commits.webkit.org/243241@main>