From 16cd7cb165d7462afea9796df1883d69bfa6b98b Mon Sep 17 00:00:00 2001 From: "joshmoz%gmail.com" Date: Mon, 12 Mar 2007 09:19:40 +0000 Subject: [PATCH] remove unnecessary exception handling code in unit test for bug 332389. r=jwalden git-svn-id: svn://10.0.0.236/trunk@221771 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/tests/unit/test_bug332389.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/mozilla/xpcom/tests/unit/test_bug332389.js b/mozilla/xpcom/tests/unit/test_bug332389.js index cfe4ef15c34..91f8943e876 100644 --- a/mozilla/xpcom/tests/unit/test_bug332389.js +++ b/mozilla/xpcom/tests/unit/test_bug332389.js @@ -12,13 +12,7 @@ function run_test() { terminated = true; break; } - try { - f = f.parent - } - catch (e) { - // Exception means we reached the top of a volume, terminate - f = null; - } + f = f.parent; } do_check_true(terminated);