aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-20 13:35:11 +0530
committerGitHub <noreply@github.com>2024-10-20 08:05:11 +0000
commita57b6a3f79314910543024c951d365e55efa154e (patch)
tree1a9ec5c4989abe059b638701fc39da1467505485 /components/script/dom/bindings/codegen
parentd0d02cd56cb646da1f2193e57561b78d5e4b6bdf (diff)
downloadservo-a57b6a3f79314910543024c951d365e55efa154e.tar.gz
servo-a57b6a3f79314910543024c951d365e55efa154e.zip
CanGc fixes through focusevent.rs & hashchangeevent.rs (#33921)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/dom/bindings/codegen')
-rw-r--r--components/script/dom/bindings/codegen/Bindings.conf38
1 files changed, 37 insertions, 1 deletions
diff --git a/components/script/dom/bindings/codegen/Bindings.conf b/components/script/dom/bindings/codegen/Bindings.conf
index 9a423cd8ace..d53fe81b955 100644
--- a/components/script/dom/bindings/codegen/Bindings.conf
+++ b/components/script/dom/bindings/codegen/Bindings.conf
@@ -101,6 +101,10 @@ DOMInterfaces = {
'canGc': ['SetInnerHTML', 'SetOuterHTML', 'InsertAdjacentHTML', 'GetClientRects', 'GetBoundingClientRect'],
},
+'ElementInternals': {
+ 'canGc': ['ReportValidity'],
+},
+
'EventSource': {
'weakReferenceable': True,
},
@@ -135,8 +139,24 @@ DOMInterfaces = {
'inRealms': ['PlayEffect', 'Reset']
},
+'HTMLButtonElement': {
+ 'canGc': ['ReportValidity'],
+},
+
+'HTMLElement': {
+ 'canGc': ['Focus', 'Blur'],
+},
+
+'HTMLFieldSetElement': {
+ 'canGc': ['ReportValidity'],
+},
+
'HTMLFormElement': {
- 'canGc': ['RequestSubmit'],
+ 'canGc': ['RequestSubmit', 'ReportValidity'],
+},
+
+'HTMLInputElement': {
+ 'canGc': ['ReportValidity'],
},
'HTMLMediaElement': {
@@ -144,14 +164,30 @@ DOMInterfaces = {
'inRealms': ['Play'],
},
+'HTMLObjectElement': {
+ 'canGc': ['ReportValidity'],
+},
+
+'HTMLOutputElement': {
+ 'canGc': ['ReportValidity'],
+},
+
'HTMLCanvasElement': {
'canGc': ['CaptureStream', 'GetContext'],
},
+'HTMLSelectElement': {
+ 'canGc': ['ReportValidity'],
+},
+
'HTMLTemplateElement': {
'canGc': ['Content'],
},
+'HTMLTextAreaElement': {
+ 'canGc': ['ReportValidity'],
+},
+
'MediaDevices': {
'canGc': ['GetUserMedia'],
'inRealms': ['GetUserMedia', 'GetClientRects', 'GetBoundingClientRect'],