Bug 1262208: Generalize the disabled compilation mode message for asm.js; r=luke

MozReview-Commit-ID: ERdr7xy6DeO

--HG--
extra : rebase_source : f893716bbf21b9026e893cc3c70e51d52aa91996
This commit is contained in:
Benjamin Bouvier 2016-04-07 13:56:24 +02:00
Родитель f09dffab2b
Коммит 9126d25abe
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -8162,7 +8162,7 @@ EstablishPreconditions(ExclusiveContext* cx, AsmJSParser& parser)
switch (parser.options().asmJSOption) {
case AsmJSOption::Disabled:
return Warn(parser, JSMSG_USE_ASM_TYPE_FAIL, "Disabled by javascript.options.asmjs in about:config");
return Warn(parser, JSMSG_USE_ASM_TYPE_FAIL, "Disabled by 'asmjs' runtime option");
case AsmJSOption::DisabledByDebugger:
return Warn(parser, JSMSG_USE_ASM_TYPE_FAIL, "Disabled by debugger");
case AsmJSOption::Enabled: