From 7c598e877531d01301c8cd2031ffc3f90b96c9d0 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 29 Jan 2011 02:56:21 -0500 Subject: [PATCH] Unset browser.tabs.closeWindowWithLastTab when running tests. --- common/tests/functional/testCommands.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/tests/functional/testCommands.js b/common/tests/functional/testCommands.js index 0565c4c5..047cd834 100644 --- a/common/tests/functional/testCommands.js +++ b/common/tests/functional/testCommands.js @@ -8,6 +8,8 @@ var setupModule = function (module) { dactyl.dactyl.options["autocomplete"] = []; dactyl.dactyl.options["wildmode"] = ["list"]; + + dactyl.prefs.set("browser.tabs.closeWindowWithLastTab", false); }; var teardownModule = function (module) { dactyl.teardown();