Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
# ignore-this-changeset Differential Revision: https://phabricator.services.mozilla.com/D16388
This commit is contained in:
@@ -2301,9 +2301,8 @@ nsresult ScriptLoader::FillCompileOptionsForRequest(
|
||||
|
||||
bool isScriptElement =
|
||||
!aRequest->IsModuleRequest() || aRequest->AsModuleRequest()->IsTopLevel();
|
||||
aOptions->setIntroductionInfoToCaller(jsapi.cx(),
|
||||
isScriptElement ? "scriptElement"
|
||||
: "importedModule");
|
||||
aOptions->setIntroductionInfoToCaller(
|
||||
jsapi.cx(), isScriptElement ? "scriptElement" : "importedModule");
|
||||
aOptions->setFileAndLine(aRequest->mURL.get(), aRequest->mLineNo);
|
||||
aOptions->setIsRunOnce(true);
|
||||
aOptions->setNoScriptRval(true);
|
||||
|
||||
Reference in New Issue
Block a user