Bug 161445
| Summary: | Web Inspector: selecting a rendering frame row doesn't do anything if the frame bar is out of current overview range | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Blaze Burg <bburg> |
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Blaze Burg
STEPS TO REPRODUCE:
1. Inspect apple.com
2. Start a timeline recording on "Events" mode
3. Scroll around and stuff for a while to get a few 100 events
4. Zoom in on the overview so most records are not shown
5. Select some frame rows in the table that are not shown
=> Nothing happens, if a previous bar was selected its selection style remains
EXPECTED:
The overview should jump to the frame bar and select it. It should maintain the current zoom level.
NOTES:
In Inspector^2, I see the following assertion:
[Error] Assertion Failed: Selected record not within visible graph duration. – RenderingFrameTimelineRecord
RenderingFrameTimelineRecord__displayData: {frameDuration: 0.0010277777777777776, segments: Array, graphHeightSeconds: 0.037}Object_callFrames: null_children: [ScriptTimelineRecord]Array (1)_durationByTaskType: Map {"rendering-frame-timeline-record-script" => 0.000051897979574278, "rendering-frame-timeline-record-layout" => 0, "rendering-frame-timeline-record-paint" => 0, "rendering-frame-timeline-record-other" => 0.00010197202209383249}Map (4)_endTime: 51.396495502005564_frameIndex: 1078_listeners: null_parent: null_sourceCodeLocation: null_startTime: 51.396341632003896_type: "timeline-record-type-rendering-frame"Symbol(rendering-frame-overview-graph-record-was-filtered): falseRenderingFrameTimelineRecord Prototype
_updateFrameMarker (RenderingFrameTimelineOverviewGraph.js:239)
layout (RenderingFrameTimelineOverviewGraph.js:139)
_layoutSubtree (View.js:250)
_layoutSubtree (View.js:254)
_layoutSubtree (View.js:254)
_visitViewTreeForLayout (View.js:327)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
<rdar://problem/28213471>