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 script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpubindgroup.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpubindgrouplayout.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpubuffer.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpubufferusage.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpucanvascontext.rs canvas: prevent unwrap on offscreen canvas (#37460) 2025-06-16 05:39:56 +00:00
gpucolorwrite.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpucommandbuffer.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpucommandencoder.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpucompilationinfo.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpucompilationmessage.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpucomputepassencoder.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpucomputepipeline.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpuconvert.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpudevice.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpudevicelostinfo.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
gpuerror.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpuinternalerror.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpumapmode.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpuoutofmemoryerror.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpupipelineerror.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpupipelinelayout.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpuqueryset.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpuqueue.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpurenderbundle.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpurenderbundleencoder.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpurenderpassencoder.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpurenderpipeline.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpusampler.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpushadermodule.rs script: add TaskSource argument to route_promise (#36831) 2025-05-04 17:05:27 +00:00
gpushaderstage.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gpusupportedfeatures.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gpusupportedlimits.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gputexture.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
gputextureusage.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
gputextureview.rs webgpu: Add a webgpu_traits crate (#36320) 2025-04-04 08:06:07 +00:00
gpuuncapturederrorevent.rs Use new stylo crate renames (#35898) 2025-03-12 00:02:12 +00:00
gpuvalidationerror.rs script: Limit public exports. (#34915) 2025-01-10 08:19:19 +00:00
identityhub.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00
mod.rs Update wgpu and impl WGSLLanguageFeatures (#34928) 2025-01-10 17:41:11 +00:00
wgsllanguagefeatures.rs script: Remove dependency on webgpu (#36332) 2025-04-04 11:52:58 +00:00