mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Support integrity
for module script
This commit is contained in:
parent
f2007751dd
commit
cfad32cffd
2 changed files with 6 additions and 0 deletions
|
@ -582,6 +582,7 @@ impl HTMLScriptElement {
|
|||
ModuleOwner::Window(Trusted::new(self)),
|
||||
url.clone(),
|
||||
Destination::Script,
|
||||
integrity_metadata.to_owned(),
|
||||
);
|
||||
|
||||
if !r#async && was_parser_inserted {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue