Timeline Detail Views do not reset properly when new time range selection contains nothing Steps to Reproduce: 1. Inspect this page 2. Show Memory Timeline 3. Make a short recording 4. Select an empty time range (like 4s-5s) => Memory Detail View circle charts still filled Notes: - layout() should be resetting instead of bailing
<rdar://problem/47716693>
Created attachment 360791 [details] [PATCH] Proposed Fix
Comment on attachment 360791 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=360791&action=review rs=me > Source/WebInspectorUI/UserInterface/Views/CPUTimelineView.js:83 > + this.clear(); I think this deserves a ChangeLog comment. Something like "Calling `.clear()` will remove all UI from the selected range, but keep any non-range-specific values (e.g. maximum usage) as they were in the UI.".
https://trac.webkit.org/changeset/240869/webkit