mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Bug 1340865 - Handle non-parser-created module scripts.
This commit is contained in:
parent
67f5e5d20c
commit
289343a51d
1 changed files with 1 additions and 1 deletions
|
|
@ -1601,7 +1601,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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue