servo/components/script/dom/webxr
Josh Matthews b8971e528f
script: Move Window-only gamepad functionality out of GlobalScope (#36805)
The only code that calls these methods is in the script thread, and the
code is simpler when we can assume a Window global. Pulling this thread
led to cleaning up a lot of constructors for Window-only WebXR code,
too.

Testing: Existing WPT coverage.

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2025-05-02 20:10:26 +00:00
..
fakexrdevice.rs
fakexrinputcontroller.rs
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
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: Move Window-only gamepad functionality out of GlobalScope (#36805) 2025-05-02 20:10:26 +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
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
xrsubimage.rs
xrsystem.rs script: Move Window-only gamepad functionality out of GlobalScope (#36805) 2025-05-02 20:10:26 +00:00
xrtest.rs
xrview.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrviewerpose.rs Use Window in new methods instead of GlobalScope for interfaces with … (#36133) 2025-04-02 14:50:56 +00:00
xrviewport.rs
xrwebglbinding.rs
xrwebgllayer.rs Cleanups for future script crate split (#35987) 2025-03-16 13:46:14 +00:00
xrwebglsubimage.rs