Bug 194029

Summary: Web Inspector: Uncaught Exception: null is not an object (evaluating 'url.startsWith')
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hi, inspector-bugzilla-changes, mattbaker, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: file:///Volumes/DATA/Build/Release/WebInspectorUI.framework/Resources/Main.html
Attachments:
Description Flags
Patch none

Description Devin Rousso 2019-01-30 10:39:08 PST
-------
Inspected URL:        file:///Volumes/DATA/Build/Release/WebInspectorUI.framework/Resources/Main.html
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko)

Uncaught Exceptions:
 - null is not an object (evaluating 'url.startsWith') (at URLUtilities.js:219:12)
    displayNameForURL @ URLUtilities.js:219:12
    linkifyLocation @ Main.js:2739:43
    ? @ ConsoleMessageView.js:361:49
    ? @ [native code]
    promiseReactionJob @ [native code]
-------

* STEPS TO REPRODUCE
1. open inspector2
2. log `queryObjects`
Comment 1 Devin Rousso 2019-01-30 10:47:14 PST
Created attachment 360594 [details]
Patch

This only seems to affect engineering builds with `WI.isDebugUIEnabled()`.
Comment 2 Matt Baker 2019-01-30 12:05:45 PST
Comment on attachment 360594 [details]
Patch

rs=me
Comment 3 WebKit Commit Bot 2019-01-30 12:08:23 PST
Comment on attachment 360594 [details]
Patch

Clearing flags on attachment: 360594

Committed r240724: <https://trac.webkit.org/changeset/240724>
Comment 4 WebKit Commit Bot 2019-01-30 12:08:24 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-01-30 12:09:32 PST
<rdar://problem/47676703>