revert wrong test changes

This commit is contained in:
Dão Gottwald 2009-11-20 09:48:22 +01:00
parent 08b50f2aa1
commit 4532b4999f
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ function test() {
}
// open a window and add the above closed tab list
let newWin = open(location, "", "chrome,all");
let newWin = openDialog(location, "", "chrome,all,dialog=no");
newWin.addEventListener("load", function(aEvent) {
gPrefService.setIntPref("browser.sessionstore.max_tabs_undo",
test_state.windows[0]._closedTabs.length);

View File

@ -86,7 +86,7 @@ function test() {
aClosedTabList.filter(function(aData) aData.title == aTitle).length;
// open a window and add the above closed tab list
let newWin = open(location, "", "chrome,all");
let newWin = openDialog(location, "", "chrome,all,dialog=no");
newWin.addEventListener("load", function(aEvent) {
gPrefService.setIntPref("browser.sessionstore.max_tabs_undo",
test_state.windows[0]._closedTabs.length);