servo/components/script/dom/webxr
Gregory Terzian 027954dbad
script: introduce safe wrappers for js val conversions (#38004)
Introduce a safe wrapper trait for the unsafe `ToJSValConvertible`, and
use it in `script/dom` where the default `T` implementation works.

Part of https://github.com/servo/servo/issues/37951

---------

Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com>
2025-07-15 01:57:15 +00:00
..
fakexrdevice.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
fakexrinputcontroller.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
mod.rs
xrboundedreferencespace.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrcompositionlayer.rs
xrcubelayer.rs
xrcylinderlayer.rs
xrequirectlayer.rs
xrframe.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrhand.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
xrhittestresult.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrhittestsource.rs script: Move Window-only gamepad functionality out of GlobalScope (#36805) 2025-05-02 20:10:26 +00:00
xrinputsource.rs script: introduce safe wrappers for js val conversions (#38004) 2025-07-15 01:57:15 +00:00
xrinputsourcearray.rs script: Move Window-only gamepad functionality out of GlobalScope (#36805) 2025-05-02 20:10:26 +00:00
xrinputsourceevent.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrinputsourceschangeevent.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrjointpose.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrjointspace.rs
xrlayer.rs
xrlayerevent.rs Use new stylo crate renames (#35898) 2025-03-12 00:02:12 +00:00
xrmediabinding.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
xrpose.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrprojectionlayer.rs
xrquadlayer.rs
xrray.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrreferencespace.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrreferencespaceevent.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrrenderstate.rs script: Move Window-only gamepad functionality out of GlobalScope (#36805) 2025-05-02 20:10:26 +00:00
xrrigidtransform.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrsession.rs script: Move Window-only gamepad functionality out of GlobalScope (#36805) 2025-05-02 20:10:26 +00:00
xrsessionevent.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrspace.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
xrsubimage.rs
xrsystem.rs script: Move Window-only gamepad functionality out of GlobalScope (#36805) 2025-05-02 20:10:26 +00:00
xrtest.rs script: Mark callback methods with CanGc. (#35753) 2025-03-03 12:17:25 +00:00
xrview.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrviewerpose.rs script: introduce safe wrappers for js val conversions (#38004) 2025-07-15 01:57:15 +00:00
xrviewport.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
xrwebglbinding.rs
xrwebgllayer.rs Change canvas/context/snapshot size from u64 -> u32 (#36827) 2025-06-07 14:37:21 +00:00
xrwebglsubimage.rs