Issue #618 - Don't preload nomodule scripts when modules are enabled

Ref: BZ 1382020
This commit is contained in:
Gaming4JC 2020-08-26 11:19:42 -04:00 committed by Roy Tam
commit 6c8f24a735
8 changed files with 57 additions and 18 deletions

View file

@ -251,7 +251,8 @@ class nsHtml5TreeOpExecutor final : public nsHtml5DocumentBuilder,
const nsAString& aIntegrity,
bool aScriptFromHead,
bool aAsync,
bool aDefer);
bool aDefer,
bool aNoModule);
void PreloadStyle(const nsAString& aURL, const nsAString& aCharset,
const nsAString& aCrossOrigin,