diff options
author | tannal <149947508+tannal@users.noreply.github.com> | 2024-01-16 23:56:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 15:56:32 +0000 |
commit | 8c53a8c745ab2a5b660d6f170e74b4fecca189c1 (patch) | |
tree | 54cca81038d47ce01e14822f69e04061929e578c /components/script/dom/bindings/codegen/CodegenRust.py | |
parent | 9654363c187ee549b82bca8c4e3098e4c20c7287 (diff) | |
download | servo-8c53a8c745ab2a5b660d6f170e74b4fecca189c1.tar.gz servo-8c53a8c745ab2a5b660d6f170e74b4fecca189c1.zip |
use FLoat32Array in XRView (#31077)
* use FLoat32Array in XRView
* handle error when calling set_data
Yes, we should handle this.
Co-authored-by: Taym Haddadi <haddadi.taym@gmail.com>
* fix: error handling
* chore: error message
---------
Co-authored-by: Taym Haddadi <haddadi.taym@gmail.com>
Diffstat (limited to 'components/script/dom/bindings/codegen/CodegenRust.py')
-rw-r--r-- | components/script/dom/bindings/codegen/CodegenRust.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/codegen/CodegenRust.py b/components/script/dom/bindings/codegen/CodegenRust.py index a4e2bb01a81..8f341e0d8bc 100644 --- a/components/script/dom/bindings/codegen/CodegenRust.py +++ b/components/script/dom/bindings/codegen/CodegenRust.py @@ -1461,7 +1461,7 @@ def getConversionConfigForType(type, isEnforceRange, isClamp, treatNullAs): def todo_switch_float_32(des): - return des.interface.identifier.name in ['XRView', 'XRRigidTransform', 'XRRay', 'GamepadPose'] + return des.interface.identifier.name in ['XRRigidTransform', 'XRRay', 'GamepadPose'] def builtin_return_type(returnType): |