bug 353078 - JavaScript Test - modify test to only fail in the event of a crash.

git-svn-id: svn://10.0.0.236/trunk@258137 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bclary%bclary.com
2009-08-18 08:09:36 +00:00
parent 9bca41222e
commit 144fc6f874

View File

@@ -52,14 +52,12 @@ function test()
printBugNumber(BUGNUMBER);
printStatus (summary);
expect = 'TypeError: can\'t convert global to string';
try
{
this.toString = function() { return {}; }; p = [11].map('foo'.split);
}
catch(ex)
{
actual = ex + '';
}
reportCompare(expect, actual, summary);