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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user