Bug 178804

Summary: Web Inspector: Canvas Tab: first WebGL canvas on acko.net disappears, but still has path component
Product: WebKit Reporter: BJ Burg <bburg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bburg, hi, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: http://acko.net
See Also: https://bugs.webkit.org/show_bug.cgi?id=178806
Bug Depends on:    
Bug Blocks: 175485    

Description BJ Burg 2017-10-25 10:10:26 PDT
Steps to reproduce:

1. Load Web Inspector on about:blank
2. Navigate to acko.net
3. Wait for the initial animation to finish
=> Canvas 1 disappears from overview, but still has a path component

This reproduced most times for me. It's really confusing. If the canvas got GC'd maybe we should not show it in the overview, but still list it in the navigation sidebar and gray it out? I think we try to do something similar (or have considered doing so) for resources that have been discarded or GC'd. Blob resources are a good example of this.
Comment 1 Radar WebKit Bug Importer 2017-10-25 10:10:46 PDT
<rdar://problem/35176227>
Comment 2 Devin Rousso 2017-10-27 01:48:46 PDT
Is this still an issue?  I think it might've gotten fixed in <https://webkit.org/b/178806> Web Inspector: Canvas Tab: canvas path components from old page stick around when page is reloaded
Comment 3 BJ Burg 2017-10-31 12:57:38 PDT
Does not seem to repro any more. Now that we have back traces.. it seems that the first canvas is simply used for feature detection and gets GC'd at an arbitrary point.