aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-21 01:24:02 +0530
committerGitHub <noreply@github.com>2024-10-20 19:54:02 +0000
commit4d11b2dc84d53b90ca5f2b729ffa1a5db2da45e9 (patch)
treeeeaf8d6534467052f92f7653c4c0bb4bb7e55230 /components/script/dom/bindings/codegen
parentc75f6627ba0e314d5fb4c4c9230e93cbb1b188e3 (diff)
downloadservo-4d11b2dc84d53b90ca5f2b729ffa1a5db2da45e9.tar.gz
servo-4d11b2dc84d53b90ca5f2b729ffa1a5db2da45e9.zip
CanGc fixes from constantsourcenode.rs & window.rs (#33931)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/dom/bindings/codegen')
-rw-r--r--components/script/dom/bindings/codegen/Bindings.conf12
1 files changed, 10 insertions, 2 deletions
diff --git a/components/script/dom/bindings/codegen/Bindings.conf b/components/script/dom/bindings/codegen/Bindings.conf
index bcb265079e2..eaed7eeba48 100644
--- a/components/script/dom/bindings/codegen/Bindings.conf
+++ b/components/script/dom/bindings/codegen/Bindings.conf
@@ -25,7 +25,7 @@ DOMInterfaces = {
'BaseAudioContext': {
'inRealms': ['DecodeAudioData', 'Resume', 'ParseFromString', 'GetBounds', 'GetClientRects'],
- 'canGc': ['CreateChannelMerger', 'CreateOscillator', 'CreateStereoPanner', 'CreateGain', 'CreateIIRFilter', 'CreateBiquadFilter', 'CreateBufferSource', 'CreateAnalyser', 'CreatePanner', 'CreateChannelSplitter', 'CreateBuffer'],
+ 'canGc': ['CreateChannelMerger', 'CreateOscillator', 'CreateStereoPanner', 'CreateGain', 'CreateIIRFilter', 'CreateBiquadFilter', 'CreateBufferSource', 'CreateAnalyser', 'CreatePanner', 'CreateChannelSplitter', 'CreateBuffer', 'CreateConstantSource'],
},
'Blob': {
@@ -143,6 +143,10 @@ DOMInterfaces = {
'inRealms': ['PlayEffect', 'Reset']
},
+'History': {
+ 'canGc': ['Go'],
+},
+
'HTMLButtonElement': {
'canGc': ['ReportValidity'],
},
@@ -192,6 +196,10 @@ DOMInterfaces = {
'canGc': ['ReportValidity'],
},
+'Location': {
+ 'canGc': ['Assign', 'Reload', 'Replace', 'SetHash', 'SetHost', 'SetHostname', 'SetHref', 'SetPathname', 'SetPort', 'SetProtocol', 'SetSearch'],
+},
+
'MediaDevices': {
'canGc': ['GetUserMedia'],
'inRealms': ['GetUserMedia', 'GetClientRects', 'GetBoundingClientRect'],
@@ -293,7 +301,7 @@ DOMInterfaces = {
},
'Window': {
- 'canGc': ['Stop', 'Fetch'],
+ 'canGc': ['Stop', 'Fetch', 'Open'],
'inRealms': ['Fetch', 'GetOpener'],
},