diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-14 08:45:16 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-14 08:45:16 +0200 |
commit | 700c322d3766f191cfc8b329ac2000a973677139 (patch) | |
tree | b86565c9e782cbb49df86091bf187dbf678a342b /dom/base/nsScriptLoader.h | |
parent | 87e4f43be04313da7b4b5ede81c9c97b6bd5394c (diff) | |
download | UXP-700c322d3766f191cfc8b329ac2000a973677139.tar UXP-700c322d3766f191cfc8b329ac2000a973677139.tar.gz UXP-700c322d3766f191cfc8b329ac2000a973677139.tar.lz UXP-700c322d3766f191cfc8b329ac2000a973677139.tar.xz UXP-700c322d3766f191cfc8b329ac2000a973677139.zip |
Bug 1330657 - Enable <script type="module"> behind a pref
Diffstat (limited to 'dom/base/nsScriptLoader.h')
-rw-r--r-- | dom/base/nsScriptLoader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/base/nsScriptLoader.h b/dom/base/nsScriptLoader.h index d30a58441..a00239be5 100644 --- a/dom/base/nsScriptLoader.h +++ b/dom/base/nsScriptLoader.h @@ -568,6 +568,8 @@ private: JS::SourceBufferHolder GetScriptSource(nsScriptLoadRequest* aRequest, nsAutoString& inlineData); + bool ModuleScriptsEnabled(); + void SetModuleFetchStarted(nsModuleLoadRequest *aRequest); void SetModuleFetchFinishedAndResumeWaitingRequests(nsModuleLoadRequest *aRequest, nsresult aResult); |