Bug 190766 - Uncaught Exception: TypeError: null is not an object (evaluating 'mouseBlock.addEventListener')
Summary: Uncaught Exception: TypeError: null is not an object (evaluating 'mouseBlock....
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.reddit.com/
Keywords: InRadar
Depends on:
Reported: 2018-10-19 16:16 PDT by Nikita Vasilyev
Modified: 2018-10-23 02:54 PDT (History)
5 users (show)

See Also:

Patch (1.96 KB, patch)
2018-10-19 16:50 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 Nikita Vasilyev 2018-10-19 16:16:07 PDT
Inspected URL:        https://www.reddit.com/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko)

Uncaught Exceptions:
 - TypeError: null is not an object (evaluating 'mouseBlock.addEventListener') (at NetworkTableContentView.js:761:19)
    _populateWaterfallGraph @ NetworkTableContentView.js:761:19
    tablePopulateCell @ NetworkTableContentView.js:462:41
    _populatedCellForColumnAndRow @ Table.js:758:41
    _populateRow @ Table.js:769:58
    _applyColumnWidths @ Table.js:1110:38
    _resizeColumnsAndFiller @ Table.js:983:32
    resize @ Table.js:234:37
    layout @ Table.js:568:24
    _layoutSubtree @ View.js:278:20
    _layoutSubtree @ View.js:285:32
    _layoutSubtree @ View.js:285:32
    _layoutSubtree @ View.js:285:32
    _layoutSubtree @ View.js:285:32
    _layoutSubtree @ View.js:285:32
    _layoutSubtree @ View.js:285:32
    updateLayout @ View.js:158:28
    _tabBrowserSizeDidChange @ Main.js:1595:33
    _sidebarWidthDidChange @ Main.js:1614:34
    dispatch @ Object.js:170:30
    dispatchEventToListeners @ Object.js:177:17
    _recalculateWidth @ Sidebar.js:290:38
    width @ Sidebar.js:178:31
    _showDetailsSidebarPanelsForTabContentView @ TabBrowser.js:407:33
    _tabBarItemSelected @ TabBrowser.js:255:56
    dispatch @ Object.js:170:30
    dispatchEventToListeners @ Object.js:177:17
    selectedTabBarItem @ LegacyTabBar.js:386:38
    _handleMouseDown @ LegacyTabBar.js:623:13
    _handleMouseDown @ [native code]

1. Open https://www.reddit.com/ (not logged in)
2. Open Web Inspector
3. Click Network tab
Comment 1 Devin Rousso 2018-10-19 16:50:55 PDT
Created attachment 352833 [details]

I haven't been able to reproduce the bug, but this seems to be the only possible cause based on my reading of the code
Comment 2 Nikita Vasilyev 2018-10-19 17:03:39 PDT
I can no longer reproduce the bug either but I was able to on the ToT WebKit.
Comment 3 BJ Burg 2018-10-23 02:24:29 PDT
Comment on attachment 352833 [details]

View in context: https://bugs.webkit.org/attachment.cgi?id=352833&action=review


> Source/WebInspectorUI/ChangeLog:11
> +        don't create an element. If this is true for the total range of the `WI.Resouce` (meaning

Nit: resource
Comment 4 WebKit Commit Bot 2018-10-23 02:53:04 PDT
Comment on attachment 352833 [details]

Clearing flags on attachment: 352833

Committed r237349: <https://trac.webkit.org/changeset/237349>
Comment 5 WebKit Commit Bot 2018-10-23 02:53:06 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2018-10-23 02:54:26 PDT