mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Add some more CanGc arguments for compiling module scripts. (#34182)
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
6b6697e97b
commit
3fd1a229df
2 changed files with 14 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue