Bug 190442 - Web Inspector: REGRESSION(r236853): Uncaught Exception: undefined is not an object (evaluating 'entry.resource')
Summary: Web Inspector: REGRESSION(r236853): Uncaught Exception: undefined is not an o...
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: https://www.google.com/
Keywords: InRadar
Depends on: 189705
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-10 14:25 PDT by Devin Rousso
Modified: 2018-10-10 15:42 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.46 KB, patch)
2018-10-10 14:51 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2018-10-10 14:25:27 PDT
-------
Inspected URL:        https://www.google.com/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko)
Dispatch Source:      Protocol Event

Protocol Event:
{"method":"Page.frameNavigated","params":{"frame":{"id":"0.1","loaderId":"0.3","url":"https://www.google.com/","mimeType":"text/html","securityOrigin":"https://www.google.com"}}}

Uncaught Exceptions:
 - undefined is not an object (evaluating 'entry.resource') (at NetworkTableContentView.js:386:18)
    tablePopulateCell @ NetworkTableContentView.js:386:18
    reloadVisibleColumnCells @ Table.js:282:45
    _hideDetailView @ NetworkTableContentView.js:1259:45
    tableSelectionDidChange @ NetworkTableContentView.js:367:33
    _notifySelectionDidChange @ Table.js:1398:51
    _deselectAllAndSelect @ Table.js:1382:39
    deselectAll @ Table.js:373:35
    reset @ NetworkTableContentView.js:283:36
    _mainResourceDidChange @ NetworkTableContentView.js:1375:19
    dispatch @ Object.js:170:30
    dispatchEventToListeners @ Object.js:185:21
    _dispatchMainResourceDidChangeEvent @ Frame.js:483:38
    commitProvisionalLoad @ Frame.js:144:53
    frameDidNavigate @ NetworkManager.js:152:40
    frameNavigated @ PageObserver.js:42:43
    dispatchEvent @ InspectorBackend.js:298:42
    _dispatchEvent @ Connection.js:193:32
    dispatch @ Connection.js:71:32
    dispatch @ InspectorBackend.js:152:49
    dispatchNextQueuedMessageFromBackend @ MessageDispatcher.js:42:34

Additional Details:
    cause --> An uncaught exception was thrown while handling event: Page.frameNavigated
-------

* STEPS TO REPRODUCE
1. Inspect any page
2. Go to the Network tab
3. Select any entry to show the "Preview" details view
4. Refresh the page
 => Exception :(
Comment 1 Matt Baker 2018-10-10 14:40:35 PDT
What is the relationship to https://bugs.webkit.org/show_bug.cgi?id=189705? Is this a regression caused by that change? If so, please indicate in the title (like we do) or add a comment.
Comment 2 Devin Rousso 2018-10-10 14:46:50 PDT
(In reply to Matt Baker from comment #1)
> What is the relationship to https://bugs.webkit.org/show_bug.cgi?id=189705?
> Is this a regression caused by that change? If so, please indicate in the
> title (like we do) or add a comment.
I think it's a regression from, but I'm frankly not sure.  That's why I just added it as "See Also".  It most likely is, though, so I'll just assume so.
Comment 3 Devin Rousso 2018-10-10 14:51:11 PDT
Created attachment 351988 [details]
Patch
Comment 4 Joseph Pecoraro 2018-10-10 15:14:28 PDT
Comment on attachment 351988 [details]
Patch

r=me Heh, yeah this makes sense to me.
Comment 5 WebKit Commit Bot 2018-10-10 15:41:34 PDT
Comment on attachment 351988 [details]
Patch

Clearing flags on attachment: 351988

Committed r237019: <https://trac.webkit.org/changeset/237019>
Comment 6 WebKit Commit Bot 2018-10-10 15:41:35 PDT
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2018-10-10 15:42:33 PDT
<rdar://problem/45175716>