Bug 190766

Summary: Uncaught Exception: TypeError: null is not an object (evaluating 'mouseBlock.addEventListener')
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, hi, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: https://www.reddit.com/
Attachments:
Description Flags
Patch none

Nikita Vasilyev
Reported 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] ------- * STEPS TO REPRODUCE 1. Open https://www.reddit.com/ (not logged in) 2. Open Web Inspector 3. Click Network tab
Attachments
Patch (1.96 KB, patch)
2018-10-19 16:50 PDT, Devin Rousso
no flags
Devin Rousso
Comment 1 2018-10-19 16:50:55 PDT
Created attachment 352833 [details] Patch 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
Nikita Vasilyev
Comment 2 2018-10-19 17:03:39 PDT
I can no longer reproduce the bug either but I was able to on the ToT WebKit.
Blaze Burg
Comment 3 2018-10-23 02:24:29 PDT
Comment on attachment 352833 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=352833&action=review rs=me > Source/WebInspectorUI/ChangeLog:11 > + don't create an element. If this is true for the total range of the `WI.Resouce` (meaning Nit: resource
WebKit Commit Bot
Comment 4 2018-10-23 02:53:04 PDT
Comment on attachment 352833 [details] Patch Clearing flags on attachment: 352833 Committed r237349: <https://trac.webkit.org/changeset/237349>
WebKit Commit Bot
Comment 5 2018-10-23 02:53:06 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2018-10-23 02:54:26 PDT
Note You need to log in before you can comment on or make changes to this bug.