The problem happens when using a raw buffer, and the swap chain is destroyed before the Readback callback is completed. In this case the present is aborted causing the flash. The webgpu canvas code needs to delay destruction till all redbacks are completed.
Bug 1878316 Comment 3 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
The problem happens when using a raw buffer, and the swap chain is destroyed before the Readback callback is completed. In this case the present is aborted causing the flash. The webgpu canvas code needs to delay destruction till all readbacks are completed.