aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen
diff options
context:
space:
mode:
authorcathiechen <cathiechen@igalia.com>2024-03-22 16:02:01 +0100
committerGitHub <noreply@github.com>2024-03-22 15:02:01 +0000
commitcb275e086c215b6da741c7918cd9683a134eb24f (patch)
tree173f32008068d06f27b3d1a8af1a855dfa6174da /components/script/dom/bindings/codegen
parentbae77671f85481503ab563c20ed488cf883436fa (diff)
downloadservo-cb275e086c215b6da741c7918cd9683a134eb24f.tar.gz
servo-cb275e086c215b6da741c7918cd9683a134eb24f.zip
Implement StaticRange (#31809)
* Add DOM interface for AbstractRange * Add DOM interface for StaticRange * Update WPT tests for StaticRange-constructor.html * Fix formatting * Add AbstractRange & StaticRange in interfaces.html * rebased the code and fixed the failures Signed-off-by: Cathie Chen <cathiechen@igalia.com> * update the expected result in idlharness.window.js.ini file * Addressed the code review comments * updae the test result of legacy layout --------- Signed-off-by: Cathie Chen <cathiechen@igalia.com> Co-authored-by: Nipun Garg <nipung271@gmail.com>
Diffstat (limited to 'components/script/dom/bindings/codegen')
-rw-r--r--components/script/dom/bindings/codegen/Bindings.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/components/script/dom/bindings/codegen/Bindings.conf b/components/script/dom/bindings/codegen/Bindings.conf
index 4f8986dea48..b4c5c96b8ff 100644
--- a/components/script/dom/bindings/codegen/Bindings.conf
+++ b/components/script/dom/bindings/codegen/Bindings.conf
@@ -30,6 +30,14 @@ DOMInterfaces = {
'spiderMonkeyInterface': True,
},
+'AbstractRange': {
+ 'weakReferenceable': True,
+},
+
+'StaticRange': {
+ 'weakReferenceable': True,
+},
+
'Range': {
'weakReferenceable': True,
},