diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-07-10 11:18:15 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-07-10 11:18:15 +0200 |
commit | b3daff7cd0514b2b9ccadb1378415b9de843c075 (patch) | |
tree | 6ffa3767fb6bf8ec548bbb477734779db8554b36 /dom/base/nsScriptLoader.cpp | |
parent | fb4eb66c1482af4dabf29a7ae88077a4089b73f5 (diff) | |
download | uxp-b3daff7cd0514b2b9ccadb1378415b9de843c075.tar.gz |
Bug 1340865 - Handle non-parser-created module scripts.
Diffstat (limited to 'dom/base/nsScriptLoader.cpp')
-rw-r--r-- | dom/base/nsScriptLoader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/nsScriptLoader.cpp b/dom/base/nsScriptLoader.cpp index 433f6afa50..6f8251fc38 100644 --- a/dom/base/nsScriptLoader.cpp +++ b/dom/base/nsScriptLoader.cpp @@ -1594,7 +1594,7 @@ nsScriptLoader::ProcessScriptElement(nsIScriptElement *aElement) } return false; } - if (!aElement->GetParserCreated() && !request->IsModuleRequest()) { + if (!aElement->GetParserCreated()) { // Violate the HTML5 spec in order to make LABjs and the "order" plug-in // for RequireJS work with their Gecko-sniffed code path. See // http://lists.w3.org/Archives/Public/public-html/2010Oct/0088.html |