Bug 218780 - Web Inspector: investigate whether `parseURL` should be able to derive an origin for non-registered schemes
Summary: Web Inspector: investigate whether `parseURL` should be able to derive an ori...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-11-10 16:24 PST by Alex Christensen
Modified: 2020-11-11 23:34 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2020-11-10 16:24:20 PST
https://bugs.webkit.org/show_bug.cgi?id=162254 made URL.origin null if a scheme is not handled.  That may make the Web Inspector look strange if resources are loaded from such a scheme.
Comment 1 Radar WebKit Bug Importer 2020-11-10 17:37:04 PST
<rdar://problem/71263166>
Comment 2 Alex Christensen 2020-11-11 23:34:20 PST
I now see that this probably is necessary.  A WKURLSchemeHandler may be installed on the WKWebView being inspected (where the load would succeed) but not in the inspector's WKWebView (where the origin would be null).