aboutsummaryrefslogtreecommitdiffstats
path: root/components/config
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2024-12-10 02:31:04 -0500
committerGitHub <noreply@github.com>2024-12-10 07:31:04 +0000
commitbc2def0582ff374d72633f2a06b47842483bac47 (patch)
treeab6533e50c14677a310207b9b67574e70af4cb07 /components/config
parent2f64dde623ee4bfd57dc4dccf2384352ecc727a0 (diff)
downloadservo-bc2def0582ff374d72633f2a06b47842483bac47.tar.gz
servo-bc2def0582ff374d72633f2a06b47842483bac47.zip
script: Add stub interface for AbortController. (#34519)
Signed-off-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: syvb <me@iter.ca>
Diffstat (limited to 'components/config')
-rw-r--r--components/config/prefs.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/config/prefs.rs b/components/config/prefs.rs
index adf0f910ca1..3811fd94d61 100644
--- a/components/config/prefs.rs
+++ b/components/config/prefs.rs
@@ -247,6 +247,10 @@ mod gen {
enabled: bool,
}
},
+ abort_controller: {
+ /// Whether to expose the AbortControll/AbortSignal DOM interfaces.
+ enabled: bool,
+ },
allow_scripts_to_close_windows: bool,
canvas_capture: {
enabled: bool,