bug 299209, since new behavior is Syntax Error instead of crash, change test to eval expression and catch eval error.
git-svn-id: svn://10.0.0.236/trunk@175518 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
561bb9c551
commit
b086faba7e
@ -45,7 +45,13 @@ printStatus (summary);
|
||||
|
||||
for (a = 0; a <= 10000; a++)
|
||||
{
|
||||
function(){("");}
|
||||
try
|
||||
{
|
||||
eval('function(){("");}');
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
reportCompare(expect, actual, summary);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user