mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-02 06:22:20 +00:00
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:
parent
00ead48fa5
commit
600a478b40
@ -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*/");');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user