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   

Alex Christensen
Reported 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.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-11-10 17:37:04 PST
Alex Christensen
Comment 2 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).
Note You need to log in before you can comment on or make changes to this bug.