LibWeb: Implement fetching classic scripts using Fetch infrastructure

This commit is contained in:
Timothy Flynn
2023-05-10 17:08:07 -04:00
committed by Andreas Kling
parent 12976b74ca
commit a84e64ed22
3 changed files with 86 additions and 60 deletions

View File

@@ -10,7 +10,9 @@ interface HTMLScriptElement : HTMLElement {
[CEReactions, Reflect] attribute DOMString type;
[CEReactions, Reflect=nomodule] attribute boolean noModule;
[CEReactions, Reflect] attribute boolean defer;
[CEReactions, Reflect=crossorigin] attribute DOMString? crossOrigin;
[CEReactions, Reflect] attribute DOMString integrity;
[CEReactions, Reflect=referrerpolicy] attribute DOMString referrerPolicy;
static boolean supports(DOMString type);