Bug 218780

Summary: Web Inspector: investigate whether `parseURL` should be able to derive an origin for non-registered schemes
Product: WebKit Reporter: Alex Christensen <achristensen>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: hi, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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).