summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-07-10 11:18:15 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-07-10 11:18:15 +0200
commitfca1d20f8820deeca8e4ba86935a3d2e23ee02c0 (patch)
tree6ffa3767fb6bf8ec548bbb477734779db8554b36 /dom
parente9b828114a49e6dca62ea0db3bc4d143beaee5a1 (diff)
downloaduxp-fca1d20f8820deeca8e4ba86935a3d2e23ee02c0.tar.gz
Bug 1340865 - Handle non-parser-created module scripts.
Diffstat (limited to 'dom')
-rw-r--r--dom/base/nsScriptLoader.cpp2
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