зеркало из https://github.com/mozilla/gecko-dev.git
Regression test - wrap test function in try catch block to prevent undefined functions in test case from percolating to the top, no bug, not part of the build
This commit is contained in:
Родитель
42b8a26303
Коммит
774c5495a4
|
@ -1355,6 +1355,12 @@ function productList(catID,famID) {
|
|||
// addBoxItem(document.Support_Form.Product_ID, 'Zen Portable Media Center', 'DUMMYPREFIX_ZenPMC_Temp|9882');
|
||||
}
|
||||
|
||||
productList(0,0);
|
||||
try
|
||||
{
|
||||
productList(0,0);
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
}
|
||||
|
||||
reportCompare(expect, actual, summary);
|
||||
|
|
Загрузка…
Ссылка в новой задаче