Bug 231942

Summary: Origin of opaque blob: URLs ends up as empty string
Product: WebKit Reporter: Anne van Kesteren <annevk>
Component: DOMAssignee: Alex Christensen <achristensen>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, clopez, ews-watchlist, thorton, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Anne van Kesteren
Reported 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.
Attachments
Patch (12.84 KB, patch)
2021-10-19 10:07 PDT, Alex Christensen
no flags
Alex Christensen
Comment 1 2021-10-19 10:07:33 PDT
EWS Watchlist
Comment 2 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
Alex Christensen
Comment 3 2021-10-19 10:15:00 PDT
Thanks, Anne!
EWS
Comment 4 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].
Radar WebKit Bug Importer
Comment 5 2021-10-19 12:29:20 PDT
Chris Dumez
Comment 6 2021-10-19 13:00:55 PDT
Note You need to log in before you can comment on or make changes to this bug.