aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2024-11-13 15:21:56 -0500
committerGitHub <noreply@github.com>2024-11-13 20:21:56 +0000
commit3fd1a229df65406699c5795cf504948cdb314320 (patch)
tree733e603ef5d9a1babe76c0081b80f7fd3492bc89 /components/script/dom
parent6b6697e97bd3f88c3e5da4d632afb611be1a403e (diff)
downloadservo-3fd1a229df65406699c5795cf504948cdb314320.tar.gz
servo-3fd1a229df65406699c5795cf504948cdb314320.zip
Add some more CanGc arguments for compiling module scripts. (#34182)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script/dom')
-rw-r--r--components/script/dom/htmlscriptelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlscriptelement.rs b/components/script/dom/htmlscriptelement.rs
index 6b55cf0f220..86a803648a5 100644
--- a/components/script/dom/htmlscriptelement.rs
+++ b/components/script/dom/htmlscriptelement.rs
@@ -1053,7 +1053,7 @@ impl HTMLScriptElement {
if let Some(record) = record {
rooted!(in(*GlobalScope::get_cx()) let mut rval = UndefinedValue());
let evaluated =
- module_tree.execute_module(global, record, rval.handle_mut().into());
+ module_tree.execute_module(global, record, rval.handle_mut().into(), can_gc);
if let Err(exception) = evaluated {
module_tree.set_rethrow_error(exception);