зеркало из https://github.com/mozilla/gecko-dev.git
bug 353078 - JavaScript Test - modify test to only fail in the event of a crash.
This commit is contained in:
Родитель
623bc7ba43
Коммит
444ee67a40
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче