mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
script: Tell SpiderMonkey whether scripts are inline
Co-authored-by: atbrakhi <atbrakhi@igalia.com> Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
048d0b0538
commit
615c9ec013
8 changed files with 41 additions and 8 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
use std::rc::Rc;
|
||||
|
||||
use js::glue::IntroductionType;
|
||||
use js::jsval::UndefinedValue;
|
||||
use script_bindings::root::DomRoot;
|
||||
|
||||
|
@ -39,6 +40,7 @@ pub(crate) fn load_script(head: &HTMLHeadElement) {
|
|||
ScriptFetchOptions::default_classic_script(global_scope),
|
||||
global_scope.api_base_url(),
|
||||
CanGc::note(),
|
||||
IntroductionType::Undefined,
|
||||
);
|
||||
}
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue