зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1434429 - Another followup test-fix. r=red
This commit is contained in:
Родитель
599951fe17
Коммит
ca820b5e0b
|
@ -19,14 +19,14 @@ function test()
|
|||
printBugNumber(BUGNUMBER);
|
||||
printStatus (summary);
|
||||
|
||||
expect = 'SyntaxError: unterminated string literal';
|
||||
expect = 'SyntaxError';
|
||||
try
|
||||
{
|
||||
eval('new Function("setter/*\n");');
|
||||
}
|
||||
catch(ex)
|
||||
{
|
||||
actual = ex + '';
|
||||
actual = ex.constructor.name;
|
||||
}
|
||||
reportCompare(expect, actual, 'new Function("setter/*\n");');
|
||||
|
||||
|
@ -36,7 +36,7 @@ function test()
|
|||
}
|
||||
catch(ex)
|
||||
{
|
||||
actual = ex + '';
|
||||
actual = ex.constructor.name;
|
||||
}
|
||||
reportCompare(expect, actual, 'new Function("setter/*\n*/");');
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче