summaryrefslogtreecommitdiffstats
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
commitb3daff7cd0514b2b9ccadb1378415b9de843c075 (patch)
tree6ffa3767fb6bf8ec548bbb477734779db8554b36
parentfb4eb66c1482af4dabf29a7ae88077a4089b73f5 (diff)
downloadUXP-b3daff7cd0514b2b9ccadb1378415b9de843c075.tar
UXP-b3daff7cd0514b2b9ccadb1378415b9de843c075.tar.gz
UXP-b3daff7cd0514b2b9ccadb1378415b9de843c075.tar.lz
UXP-b3daff7cd0514b2b9ccadb1378415b9de843c075.tar.xz
UXP-b3daff7cd0514b2b9ccadb1378415b9de843c075.zip
Bug 1340865 - Handle non-parser-created module scripts.
-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 433f6afa5..6f8251fc3 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