summaryrefslogtreecommitdiffstats
path: root/dom/script/ScriptLoader.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-08-30 22:10:17 -0400
committerMoonchild <moonchild@palemoon.org>2020-09-05 18:45:45 +0000
commit9c515323ff6cc0dc42b9ee64397f297b7566d0a4 (patch)
treed810127ed7385efe0defd15b9da1c770663fa541 /dom/script/ScriptLoader.h
parentc2b91aaf8cbb8f263bb335d4e6b8c37de72cfc14 (diff)
downloadUXP-9c515323ff6cc0dc42b9ee64397f297b7566d0a4.tar
UXP-9c515323ff6cc0dc42b9ee64397f297b7566d0a4.tar.gz
UXP-9c515323ff6cc0dc42b9ee64397f297b7566d0a4.tar.lz
UXP-9c515323ff6cc0dc42b9ee64397f297b7566d0a4.tar.xz
UXP-9c515323ff6cc0dc42b9ee64397f297b7566d0a4.zip
Issue #618 - Don't preload nomodule scripts when modules are enabled (uplift)
Diffstat (limited to 'dom/script/ScriptLoader.h')
-rw-r--r--dom/script/ScriptLoader.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dom/script/ScriptLoader.h b/dom/script/ScriptLoader.h
index ed1e6acbc..20e76970f 100644
--- a/dom/script/ScriptLoader.h
+++ b/dom/script/ScriptLoader.h
@@ -479,13 +479,15 @@ public:
* @param aIntegrity The expect hash url, if avail, of the request
* @param aScriptFromHead Whether or not the script was a child of head
*/
- virtual void PreloadURI(nsIURI *aURI, const nsAString &aCharset,
+ virtual void PreloadURI(nsIURI *aURI,
+ const nsAString &aCharset,
const nsAString &aType,
const nsAString &aCrossOrigin,
const nsAString& aIntegrity,
bool aScriptFromHead,
bool aAsync,
bool aDefer,
+ bool aNoModule,
const mozilla::net::ReferrerPolicy aReferrerPolicy);
/**