From b3daff7cd0514b2b9ccadb1378415b9de843c075 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 10 Jul 2018 11:18:15 +0200 Subject: Bug 1340865 - Handle non-parser-created module scripts. --- dom/base/nsScriptLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dom/base/nsScriptLoader.cpp') 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 -- cgit v1.2.3