RESOLVED FIXED 138387
Web Inspector: Lots of TimelineDataGridNode asserts on reloads
https://bugs.webkit.org/show_bug.cgi?id=138387
Summary Web Inspector: Lots of TimelineDataGridNode asserts on reloads
Joseph Pecoraro
Reported 2014-11-04 17:08:49 PST
* SUMMARY Hundreds of of TimelineDataGridNode asserts reloading pages. console.assert(isFinite(secondsPerPixel) && secondsPerPixel > 0); [Error] Assertion failed: refreshGraph (TimelineDataGridNode.js, line 240) updateLayout (OverviewTimelineView.js, line 110) updateLayoutIfNeeded (TimelineView.js, line 217) _updateTimes (TimelineContentView.js, line 367) _update (TimelineContentView.js, line 331) (anonymous function) ([native code], line 0) * STEPS TO REPRODUCE 1. Inspect http://daringfireball.net 2. Ensure Resource sidebar is selected not Timelines. Close and reopen inspector if needed. 3. Reload page => hundreds of asserts * NOTES secondsPerPixel is 0.
Attachments
[PATCH] Proposed Fix (2.52 KB, patch)
2014-11-04 17:11 PST, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2014-11-04 17:09:18 PST
Joseph Pecoraro
Comment 2 2014-11-04 17:11:13 PST
Created attachment 240984 [details] [PATCH] Proposed Fix
Brian Burg
Comment 3 2014-11-04 17:54:13 PST
Comment on attachment 240984 [details] [PATCH] Proposed Fix Another thought (maybe a different bug): why do we refresh the timeline ruler's layout when it's not visible? This seems like a lot of work for no reason.
Joseph Pecoraro
Comment 4 2014-11-04 18:22:30 PST
(In reply to comment #3) > Comment on attachment 240984 [details] > [PATCH] Proposed Fix > > Another thought (maybe a different bug): why do we refresh the timeline > ruler's layout when it's not visible? This seems like a lot of work for no > reason. Totally agree. I'll file a bug about that right now.
WebKit Commit Bot
Comment 5 2014-11-04 18:31:52 PST
Comment on attachment 240984 [details] [PATCH] Proposed Fix Clearing flags on attachment: 240984 Committed r175598: <http://trac.webkit.org/changeset/175598>
WebKit Commit Bot
Comment 6 2014-11-04 18:31:55 PST
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.