diff --git a/js/tests/js1_5/Regress/regress-319384.js b/js/tests/js1_5/Regress/regress-319384.js index be07fc0706c0..e1648087e585 100755 --- a/js/tests/js1_5/Regress/regress-319384.js +++ b/js/tests/js1_5/Regress/regress-319384.js @@ -47,7 +47,13 @@ printStatus('This test only runs in the browser'); if (typeof clearTimeout === 'function') { - clearTimeout('foo'); + try + { + clearTimeout('foo'); + } + catch(ex) + { + } } reportCompare(expect, actual, summary);