Bug 160781

Summary: REGRESSION (r204264): Web Inspector: Uncaught Exception in Network tab when reloading a web page
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nikita Vasilyev <nvasilyev>
Status: RESOLVED FIXED    
Severity: Critical CC: bburg, commit-queue, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: https://webkit.org/nightly/start/trunk/204373/
Attachments:
Description Flags
Patch none

Nikita Vasilyev
Reported 2016-08-11 13:31:23 PDT
------- Inspected URL: https://webkit.org/ Loading completed: true Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/603.1.3+ (KHTML, like Gecko) Uncaught Exceptions: - this._dataGrid.closed is not a function. (In 'this._dataGrid.closed()', 'this._dataGrid.closed' is undefined) (at NetworkGridContentView.js:157:30) closed @ NetworkGridContentView.js:157:30 _disassociateFromContentView @ ContentViewContainer.js:476:27 closeAllContentViews @ ContentViewContainer.js:339:46 _networkTimelineReset @ NetworkSidebarPanel.js:183:70 dispatch @ Object.js:162:30 dispatchEventToListeners @ Object.js:169:17 reset @ Timeline.js:80:42 reset @ NetworkTimeline.js:41:20 _mainResourceDidChange @ TimelineManager.js:807:50 dispatch @ Object.js:162:30 dispatchEventToListeners @ Object.js:177:21 _dispatchMainResourceDidChangeEvent @ Frame.js:498:38 commitProvisionalLoad @ Frame.js:140:53 frameDidNavigate @ FrameResourceManager.js:105:40 frameNavigated @ PageObserver.js:42:59 dispatchEvent @ InspectorBackend.js:464:42 _dispatchEvent @ InspectorBackend.js:358:32 dispatch @ InspectorBackend.js:159:32 dispatchNextQueuedMessageFromBackend @ MessageDispatcher.js:42:34 Additional Details: cause --> An uncaught exception was thrown while handling event: Page.frameNavigated ------- * STEPS TO REPRODUCE 1. Open https://webkit.org/ 2. Open Network tab. 3. Reload the page.
Attachments
Patch (1.38 KB, patch)
2016-08-11 16:30 PDT, Nikita Vasilyev
no flags
Radar WebKit Bug Importer
Comment 1 2016-08-11 13:31:48 PDT
Nikita Vasilyev
Comment 2 2016-08-11 13:50:53 PDT
WebInspector.TimelineDataGrid.prototype.closed method was removed in https://trac.webkit.org/changeset/204264 Joe, please take a look.
Matt Baker
Comment 3 2016-08-11 14:14:11 PDT
"closed" gets implemented in a few class hierarchies, but never in DataGrid or View. I would just add an "implemented by subclasses" stub to DataGrid.
Nikita Vasilyev
Comment 4 2016-08-11 16:30:16 PDT
Matt Baker
Comment 5 2016-08-11 16:33:28 PDT
r=me
WebKit Commit Bot
Comment 6 2016-08-11 17:06:38 PDT
Comment on attachment 285864 [details] Patch Clearing flags on attachment: 285864 Committed r204391: <http://trac.webkit.org/changeset/204391>
WebKit Commit Bot
Comment 7 2016-08-11 17:06:42 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.