Bug 196662 - Web Inspector: Uncaught Exception: null is not an object (evaluating 'url.startsWith')
Summary: Web Inspector: Uncaught Exception: null is not an object (evaluating 'url.sta...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-05 15:47 PDT by Devin Rousso
Modified: 2019-05-09 17:12 PDT (History)
6 users (show)

See Also:


Attachments
Patch (4.49 KB, patch)
2019-05-03 22:39 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff
Patch (4.45 KB, patch)
2019-05-03 22:40 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews212 for win-future (13.69 MB, application/zip)
2019-05-04 02:36 PDT, EWS Watchlist
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2019-04-05 15:47:51 PDT
-------
Inspected URL:        https://webkit.org/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) 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:2822:43
    ? @ ConsoleMessageView.js:379:49
    promiseReactionJob @ [native code]
-------

Evaluate the following in the console:
1. ```
await fetch("https://eslint.org/js/app/eslint.js")
    .then((response) => response.text())
    .then((text) => eval(text));
```
2. ```
eslint
```
Comment 1 Radar WebKit Bug Importer 2019-04-05 15:48:42 PDT Comment hidden (obsolete)
Comment 2 Radar WebKit Bug Importer 2019-04-05 15:48:46 PDT
<rdar://problem/49659633>
Comment 3 Devin Rousso 2019-05-03 22:39:30 PDT
Created attachment 369056 [details]
Patch
Comment 4 Devin Rousso 2019-05-03 22:40:46 PDT
Created attachment 369057 [details]
Patch
Comment 5 EWS Watchlist 2019-05-04 02:36:04 PDT Comment hidden (obsolete)
Comment 6 EWS Watchlist 2019-05-04 02:36:09 PDT Comment hidden (obsolete)
Comment 7 WebKit Commit Bot 2019-05-09 17:12:37 PDT
Comment on attachment 369057 [details]
Patch

Clearing flags on attachment: 369057

Committed r245165: <https://trac.webkit.org/changeset/245165>
Comment 8 WebKit Commit Bot 2019-05-09 17:12:38 PDT
All reviewed patches have been landed.  Closing bug.