diff options
author | tanishka <109246904+taniishkaaa@users.noreply.github.com> | 2024-10-23 04:13:52 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 22:43:52 +0000 |
commit | 7fbd2a521ee8ec6b21dd67e462da25883ecccabf (patch) | |
tree | a81a220df1e612112e323aba8187f9344fc1fb32 /components/script/dom/bindings | |
parent | 7b392db02f96fa5f3663c5c9d29eed988efe0030 (diff) | |
download | servo-7fbd2a521ee8ec6b21dd67e462da25883ecccabf.tar.gz servo-7fbd2a521ee8ec6b21dd67e462da25883ecccabf.zip |
CanGc fixes from eventtarget.rs (#33973)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/dom/bindings')
-rw-r--r-- | components/script/dom/bindings/codegen/Bindings.conf | 38 |
1 files changed, 21 insertions, 17 deletions
diff --git a/components/script/dom/bindings/codegen/Bindings.conf b/components/script/dom/bindings/codegen/Bindings.conf index 5a802df98f9..a2c216863f7 100644 --- a/components/script/dom/bindings/codegen/Bindings.conf +++ b/components/script/dom/bindings/codegen/Bindings.conf @@ -55,7 +55,7 @@ DOMInterfaces = { 'BluetoothRemoteGATTServer': { 'inRealms': ['Connect'], - 'canGc': ['GetPrimaryService', 'GetPrimaryServices', 'Connect'], + 'canGc': ['GetPrimaryService', 'GetPrimaryServices', 'Connect', 'Disconnect'], }, 'BluetoothRemoteGATTService': { @@ -116,7 +116,7 @@ DOMInterfaces = { }, 'ElementInternals': { - 'canGc': ['ReportValidity'], + 'canGc': ['CheckValidity', 'ReportValidity'], }, 'EventSource': { @@ -184,11 +184,7 @@ DOMInterfaces = { }, 'HTMLButtonElement': { - 'canGc': ['ReportValidity'], -}, - -'HTMLCanvasElement': { - 'canGc': ['CaptureStream', 'GetContext'], + 'canGc': ['CheckValidity', 'ReportValidity'], }, 'HTMLElement': { @@ -196,36 +192,40 @@ DOMInterfaces = { }, 'HTMLFieldSetElement': { - 'canGc': ['ReportValidity'], + 'canGc': ['CheckValidity', 'ReportValidity'], }, 'HTMLFormElement': { - 'canGc': ['RequestSubmit', 'ReportValidity', 'Submit'], -}, - -'HTMLInputElement': { - 'canGc': ['ReportValidity', 'SelectFiles'], + 'canGc': ['CheckValidity', 'RequestSubmit', 'ReportValidity', 'Submit'], }, 'HTMLImageElement': { 'canGc': ['Width', 'Height', 'Decode'], }, +'HTMLInputElement': { + 'canGc': ['CheckValidity', 'ReportValidity', 'SelectFiles'], +}, + 'HTMLMediaElement': { 'canGc': ['Load', 'Pause', 'Play', 'SetSrcObject'], 'inRealms': ['Play'], }, 'HTMLObjectElement': { - 'canGc': ['ReportValidity'], + 'canGc': ['CheckValidity', 'ReportValidity'], }, 'HTMLOutputElement': { - 'canGc': ['ReportValidity'], + 'canGc': ['CheckValidity', 'ReportValidity'], +}, + +'HTMLCanvasElement': { + 'canGc': ['CaptureStream', 'GetContext'], }, 'HTMLSelectElement': { - 'canGc': ['ReportValidity'], + 'canGc': ['CheckValidity', 'ReportValidity'], }, 'HTMLTemplateElement': { @@ -233,7 +233,7 @@ DOMInterfaces = { }, 'HTMLTextAreaElement': { - 'canGc': ['ReportValidity'], + 'canGc': ['CheckValidity', 'ReportValidity'], }, 'Location': { @@ -295,6 +295,10 @@ DOMInterfaces = { 'canGc': ['Query', 'Request', 'Revoke'], }, +'Permissions': { + 'canGc': ['Query', 'Request', 'Revoke'], +}, + 'Promise': { 'spiderMonkeyInterface': True, }, |