RESOLVED FIXED 135742
REGRESSION(r172094): timeline views are blank after reloading in some situations
https://bugs.webkit.org/show_bug.cgi?id=135742
Summary REGRESSION(r172094): timeline views are blank after reloading in some situations
Brian Burg
Reported 2014-08-07 21:05:44 PDT
Per Joe: "1. Uncaught exception showTimelineViewForType called with an undefined type from restoreFromCookie. You mentioned this should fix that problem: - if (selectedTimelineViewIdentifier === WebInspector.TimelineSidebarPanel.OverviewTimelineIdentifierCookieValue) + if (!selectedTimelineViewIdentifier || selectedTimelineViewIdentifier === WebInspector.TimelineSidebarPanel.OverviewTimelineIdentifierCookieValue) 2. Timeline views showing up completely blank - reload a page with the inspector open => overview/specific views are blank - make new selections in the timeline => views are still blank - switch recordings => causes things to work, but you have to make a new time selection"
Attachments
Patch (6.08 KB, patch)
2014-08-07 23:41 PDT, Brian Burg
no flags
Radar WebKit Bug Importer
Comment 1 2014-08-07 21:05:55 PDT
Brian Burg
Comment 2 2014-08-07 21:56:49 PDT
(1) is easy enough to fix. For me, (2) manifests as the overview being shown for timeline 1 when timeline 2 is recording, and clicking on the timeline tree elements shows timelines for timeline 1 instead of 2. So it seems that we are showing timeline 1 by mistake, possibly right after showing the intended timeline. Without a debugger I can't be sure, so I'll try adding some logging.
Brian Burg
Comment 3 2014-08-07 23:41:37 PDT
Brian Burg
Comment 4 2014-08-07 23:42:58 PDT
The patch fixes this issue, at least on my machine. Joe, let me know if you still run into the same problem.
WebKit Commit Bot
Comment 5 2014-08-08 00:06:10 PDT
Comment on attachment 236270 [details] Patch Clearing flags on attachment: 236270 Committed r172337: <http://trac.webkit.org/changeset/172337>
WebKit Commit Bot
Comment 6 2014-08-08 00:06:13 PDT
All reviewed patches have been landed. Closing bug.
Joseph Pecoraro
Comment 7 2014-08-08 11:20:11 PDT
This works better, but I'm seeing an uncaught exception and some other issues. I'll file bugs. file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Protocol/InspectorBackend.js:173:30: CONSOLE ERROR Uncaught exception in inspector page while dispatching callback for command Page.getResourceTree: TypeError: undefined is not a function (evaluating 'candidateObjectCookie.every(function valuesMatchForKey(key) { return candidateObjectCookie[key] === cookie[key]; })') file:///Users/pecoraro/Build/Release/WebInspectorUI.framework/Resources/Views/NavigationSidebarPanel.js:702:77: CONSOLE ERROR TypeError: undefined is not a function (evaluating 'candidateObjectCookie.every(function valuesMatchForKey(key) { return candidateObjectCookie[key] === cookie[key]; })')
Joseph Pecoraro
Comment 8 2014-08-08 11:22:09 PDT
I'm guessing this issue was just a typo: - return candidateCookieKeys.length && candidateObjectCookie.every(function valuesMatchForKey(key) { + return candidateCookieKeys.length && candidateCookieKeys.every(function valuesMatchForKey(key) {
Note You need to log in before you can comment on or make changes to this bug.