Regression test for bug 313080 - catch exceptions to prevent exit code 3

This commit is contained in:
bob%bclary.com 2005-10-24 08:35:25 +00:00
Родитель 351bc32f57
Коммит 1bd7abaf4c
1 изменённых файлов: 10 добавлений и 4 удалений

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

@ -45,10 +45,16 @@ var expect = 'No Crash';
printBugNumber (bug);
printStatus (summary);
<element/>.__proto__();
<element/>.__parent__();
<element/>.function::__proto__();
try
{
<element/>.__proto__();
<element/>.__parent__();
<element/>.function::__proto__();
}
catch(e)
{
printStatus(e + '');
}
TEST(1, expect, actual);
END();