servo/components/script/dom/webgpu
Ngo Iok Ui (Wu Yu Wei) e69962e646
canvas: prevent unwrap on offscreen canvas (#37460)
Remove all unwrap usage on offscreen canvas to prevent panic.

Testing:
`tests/wpt/tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.transfercontrol.to.offscreen-crash.html`
Fixes: #37415

---------

Signed-off-by: Wu Yu Wei <yuweiwu@pm.me>
Signed-off-by: Yu Wei Wu <yuweiwu@YunoMacBook-Air.local>
Co-authored-by: Yu Wei Wu <yuweiwu@YunoMacBook-Air.local>
2025-06-16 05:39:56 +00:00
..
gpu.rs Return the proper texture format for GetPreferredCanvasFormat (#37073) 2025-05-21 20:07:00 +00:00
gpuadapter.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpuadapterinfo.rs
gpubindgroup.rs
gpubindgrouplayout.rs
gpubuffer.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpubufferusage.rs
gpucanvascontext.rs canvas: prevent unwrap on offscreen canvas (#37460) 2025-06-16 05:39:56 +00:00
gpucolorwrite.rs
gpucommandbuffer.rs
gpucommandencoder.rs
gpucompilationinfo.rs
gpucompilationmessage.rs
gpucomputepassencoder.rs
gpucomputepipeline.rs
gpuconvert.rs
gpudevice.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpudevicelostinfo.rs
gpuerror.rs
gpuinternalerror.rs
gpumapmode.rs
gpuoutofmemoryerror.rs
gpupipelineerror.rs
gpupipelinelayout.rs
gpuqueryset.rs
gpuqueue.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpurenderbundle.rs
gpurenderbundleencoder.rs
gpurenderpassencoder.rs
gpurenderpipeline.rs
gpusampler.rs
gpushadermodule.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpushaderstage.rs
gpusupportedfeatures.rs
gpusupportedlimits.rs
gputexture.rs
gputextureusage.rs
gputextureview.rs
gpuuncapturederrorevent.rs
gpuvalidationerror.rs
identityhub.rs
mod.rs
wgsllanguagefeatures.rs