Josh Matthews
25a0764a37
Use out parameter for generated methods returning JSVal ( #34087 )
...
* Make generated bindings that return a WebIDL `any` value use out parameters.
Returning raw JSVal values makes it easier to create GC hazards in code
that calls these methods. Accepting a MutableHandle argument instead
ensures that the values are rooted by the caller.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Update mozjs.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Fix clippy warnings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
2024-11-05 08:29:08 +00:00
eri
b3d9924396
clippy: Fix redundant_*
warnings ( #32056 )
...
* clippy: Fix `redundant_field_names` warnings
* clippy: Fix other `redundant_*` warnings
* docs: Update docstring comments
2024-04-11 21:46:18 +00:00
Rosemary Ajayi
52a74287fc
clippy: Fix a few problems in components/scripts
( #31959 )
...
* fixed various clippy warnings
* fixed various clippy warnings
2024-04-01 05:34:48 +00:00
Oluwatobi Sofela
a8976ff00a
clippy: Fix option_as_ref_deref warnings ( #31936 )
2024-03-29 11:52:45 +00:00
Ekta Siwach
1bc63801e7
fix redundant closures in component/script/dom ( #31917 )
...
* fixed unnecessary conversions
* resolved conflicts
* resolved conflicts
* fix redundant closures in component/script/dom
* resolved conflicts
* fixed formatting
2024-03-28 09:06:02 +00:00
Oluwatobi Sofela
3c05b58221
clippy: Fix explicit_auto_deref
warnings in components/script
( #31837 )
...
* clippy: Fix explicit auto-deref warnings
* clippy: Fix explicit auto-deref warnings
* refactor: Tidy up code
* refactor: Fix method not found errors
2024-03-23 11:29:20 +00:00
Martin Robinson
5c1723c983
rustdoc: Fix many rustdoc errors ( #31147 )
...
This fixes many rustdoc errors that occur due to raw URLs in rustdoc
comments as well as unescaped Rust code that should be in backticks.
2024-01-22 13:13:48 +00:00
Samson
aad2dccc9c
Strict import formatting (grouping and granularity) ( #30325 )
...
* strict imports formatting
* Reformat all imports
2023-09-11 19:16:54 +00:00
Alan Jeffrey
bf7f4eae31
Update WebXR Layer IDL, and matching changes to the Rust code.
2020-08-03 12:37:01 -05:00
Alan Jeffrey
349619ed2d
Support for webxr layer management
2020-06-28 16:37:45 -05:00
Alan Jeffrey
fda8da0e9d
Added first-cut implementation of XR layers
2020-04-13 13:57:58 -05:00
YUAN LYU
3ea6d87bcc
Add trait DomObjectWrap to provide WRAP function
2020-03-20 22:16:56 -04:00
Manish Goregaokar
f52a6f0e8f
Set inlineVerticalFieldOfView to null for immersive sessions
2019-12-11 22:12:07 -08:00
Manish Goregaokar
a64e02a451
Add inlineVerticalFieldOfView support
2019-12-10 15:13:42 -08:00
Manish Goregaokar
b0002a003d
Make use of ended flag, get rid of XRLayer
2019-07-22 09:32:01 -07:00
Manish Goregaokar
33421e8ee0
Apply pending render states in RAF
2019-07-11 11:12:59 -07:00
Manish Goregaokar
c7ed4379e8
Fill in updateRenderState() stubs
2019-07-11 11:12:59 -07:00
Manish Goregaokar
401b470e90
Hook XRRenderState into XRSession
2019-03-25 09:06:49 -07:00
Manish Goregaokar
1dc7636135
Add XRRenderState
2019-03-25 09:06:21 -07:00