Bug 198955

Summary: Web Inspector: Canvas: imported recordings aren't selectable from the overview if there are no canvases in the page
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hi, 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:26:33 PDT
# STEPS TO REPRODUCE:
1. inspect <https://devinrousso.com/demo/WebKit/canvas.html>
2. record any of the <canvas> on the page
3. export the recording
4. navigate to a different page
5. close Web Inspector
6. open Web Inspector
7. import the recording from 3
8. click the "Overview" in the path
 => the Canvas tab shows "No Canvas Contexts"
 => there's no way to re-select the imported recording
Comment 1 Devin Rousso 2019-06-17 22:32:11 PDT
Created attachment 372327 [details]
Patch
Comment 2 Joseph Pecoraro 2019-06-18 11:40:13 PDT
Comment on attachment 372327 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2019-06-18 12:09:43 PDT
Comment on attachment 372327 [details]
Patch

Clearing flags on attachment: 372327

Committed r246555: <https://trac.webkit.org/changeset/246555>
Comment 4 WebKit Commit Bot 2019-06-18 12:09:44 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-06-18 12:14:10 PDT
<rdar://problem/51860147>