зеркало из https://github.com/mozilla/gecko-dev.git
Regression test for bug 313080 - catch exceptions to prevent exit code 3
This commit is contained in:
Родитель
351bc32f57
Коммит
1bd7abaf4c
|
@ -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();
|
||||
|
|
Загрузка…
Ссылка в новой задаче