Bug 202368
Summary: | Web Inspector: Canvas Context "resets" when resizing WI with WebGPU demo | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jon Lee <jonlee> |
Component: | Web Inspector | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Devin Rousso
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`.