Bug 202368

Summary: Web Inspector: Canvas Context "resets" when resizing WI with WebGPU demo
Product: WebKit Reporter: Jon Lee <jonlee>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: hi, inspector-bugzilla-changes, justin_fan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Jon Lee
Reported 2019-09-30 12:52:39 PDT
Load https://webkit.org/demos/webgpu/hello-triangle.html Open WI (docked @ bottom). Reload. Resize the WI up and down. At some point the Overview resets and says "No Canvas Contexts".
Attachments
Devin Rousso
Comment 1 2019-09-30 15:29:47 PDT
I think the reason for this is that the underlying `WebGPUDevice` object gets GCd. Interesting. Would it be unreasonable to keep the `WebGPUDevice` alive so long as the underlying `GPUDevice` stays alive? I wonder if this is also a problem with `CanvasRenderingContext`.
Note You need to log in before you can comment on or make changes to this bug.