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:
bob%bclary.com 2005-07-02 08:56:41 +00:00
parent 561bb9c551
commit b086faba7e

View File

@ -45,7 +45,13 @@ printStatus (summary);
for (a = 0; a <= 10000; a++)
{
function(){("");}
try
{
eval('function(){("");}');
}
catch(e)
{
}
}
reportCompare(expect, actual, summary);