Bug 198952

Summary: Web Inspector: Canvas: the initial state should be selected when processing a new/imported recording if the navigation sidebar is collapsed
Product: WebKit Reporter: Devin Rousso <drousso>
Component: Web InspectorAssignee: Devin Rousso <drousso>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, drousso, inspector-bugzilla-changes, joepeck, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 173807, 175485    
Attachments:
Description Flags
Patch none

Description Devin Rousso 2019-06-17 22:03:24 PDT
# STEPS TO REPRODUCE:
1. inspect <https://devinrousso.com/demo/WebKit/canvas.html>
2. record any of the <canvas> on the page (the larger the recording, the better)
3. collapse the navigation sidebar in the recording/replay view
4. export the recording
5. close Web Inspector
6. open Web Inspector
7. import the recording from 4
 => the recording starts processing (the scrubber updates), but no content is selected
 => expanding the navigation sidebar will cause the first action to become selected, which will make content appear in the recording/replay view
Comment 1 Devin Rousso 2019-06-17 22:23:09 PDT
Created attachment 372326 [details]
Patch
Comment 2 Joseph Pecoraro 2019-06-18 11:41:25 PDT
Comment on attachment 372326 [details]
Patch

Nice! r=me
Comment 3 WebKit Commit Bot 2019-06-18 12:13:12 PDT
Comment on attachment 372326 [details]
Patch

Clearing flags on attachment: 372326

Committed r246556: <https://trac.webkit.org/changeset/246556>
Comment 4 WebKit Commit Bot 2019-06-18 12:13:14 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-06-18 12:14:21 PDT
<rdar://problem/51860153>