aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings
diff options
context:
space:
mode:
authorchickenleaf <lashwinib@gmail.com>2024-10-18 19:12:43 +0530
committerGitHub <noreply@github.com>2024-10-18 13:42:43 +0000
commitaf6154cf630bd498f8b5afbd8a321eb4a45463b6 (patch)
tree364dcf5c2d2cfd247716eed34bc04d0aa136c263 /components/script/dom/bindings
parentfde8d72acabb6f8314efe0e66312c02a488a7613 (diff)
downloadservo-af6154cf630bd498f8b5afbd8a321eb4a45463b6.tar.gz
servo-af6154cf630bd498f8b5afbd8a321eb4a45463b6.zip
More files with CanGc fixes (#33892)
* More files with CanGc fixes Signed-off-by: L Ashwin B <lashwinib@gmail.com> * removed the can_gc inside !task Signed-off-by: L Ashwin B <lashwinib@gmail.com> --------- Signed-off-by: L Ashwin B <lashwinib@gmail.com>
Diffstat (limited to 'components/script/dom/bindings')
-rw-r--r--components/script/dom/bindings/codegen/Bindings.conf20
1 files changed, 16 insertions, 4 deletions
diff --git a/components/script/dom/bindings/codegen/Bindings.conf b/components/script/dom/bindings/codegen/Bindings.conf
index 974ad7f7bd8..9a423cd8ace 100644
--- a/components/script/dom/bindings/codegen/Bindings.conf
+++ b/components/script/dom/bindings/codegen/Bindings.conf
@@ -145,7 +145,7 @@ DOMInterfaces = {
},
'HTMLCanvasElement': {
- 'canGc': ['CaptureStream'],
+ 'canGc': ['CaptureStream', 'GetContext'],
},
'HTMLTemplateElement': {
@@ -245,7 +245,7 @@ DOMInterfaces = {
'URL': {
'weakReferenceable': True,
- 'canGc': ['Parse'],
+ 'canGc': ['Parse', 'SearchParams'],
},
'VRDisplay': {
@@ -277,7 +277,7 @@ DOMInterfaces = {
'XRSession': {
'inRealms': ['RequestReferenceSpace', 'UpdateRenderState', 'UpdateTargetFrameRate'],
- 'canGc': ['End'],
+ 'canGc': ['End', 'RequestReferenceSpace'],
},
'XRSystem': {
@@ -293,7 +293,19 @@ DOMInterfaces = {
},
'XRRigidTransform': {
- 'canGc': ['Position', 'Orientation'],
+ 'canGc': ['Position', 'Orientation', 'Inverse'],
+},
+
+'XRReferenceSpace': {
+ 'canGc': ['GetOffsetReferenceSpace'],
+},
+
+'XRFrame': {
+ 'canGc': ['GetViewerPose', 'GetPose', 'GetJointPose'],
+},
+
+'XRHitTestResult': {
+ 'canGc': ['GetPose'],
},
'SubtleCrypto': {