Backed out changeset 835b96c27ded as a fix that should have gone out with the prior backout. r=why-did-i-push-a-patch-so-late

This commit is contained in:
Jeff Walden 2018-02-03 01:10:57 -08:00
parent 00ead48fa5
commit 600a478b40

View File

@ -19,14 +19,14 @@ function test()
printBugNumber(BUGNUMBER);
printStatus (summary);
expect = 'SyntaxError';
expect = 'SyntaxError: unterminated string literal';
try
{
eval('new Function("setter/*\n");');
}
catch(ex)
{
actual = ex.constructor.name;
actual = ex + '';
}
reportCompare(expect, actual, 'new Function("setter/*\n");');
@ -36,7 +36,7 @@ function test()
}
catch(ex)
{
actual = ex.constructor.name;
actual = ex + '';
}
reportCompare(expect, actual, 'new Function("setter/*\n*/");');
}