Bug 178804 - Web Inspector: Canvas Tab: first WebGL canvas on acko.net disappears, but still has path component
Summary: Web Inspector: Canvas Tab: first WebGL canvas on acko.net disappears, but sti...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://acko.net
Keywords: InRadar
Depends on:
Blocks: WebInspectorCanvasTab
  Show dependency treegraph
 
Reported: 2017-10-25 10:10 PDT by BJ Burg
Modified: 2017-12-04 17:30 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.