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

This commit is contained in:
Bob Clary 2009-08-18 00:29:58 -07:00
Родитель 623bc7ba43
Коммит 444ee67a40
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -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);