Bug 626500 - Part 2: Test adjustments; r=dao a=blocking-final+

This commit is contained in:
Ehsan Akhgari 2011-01-19 12:34:13 -05:00
parent bd4763137a
commit 5f11f7b148
2 changed files with 6 additions and 4 deletions

View File

@ -47,8 +47,9 @@ function test() {
// use the Tab View button to launch it for the first time
window.addEventListener("tabviewshown", onTabViewLoadedAndShown, false);
let button = document.getElementById("tabview-button");
ok(button, "Tab View button exists");
button.doCommand();
ok(!button, "Tab View button not exist by default");
let tabViewCommand = document.getElementById("Browser:ToggleTabView");
tabViewCommand.doCommand();
}
// ----------

View File

@ -51,8 +51,9 @@ function test() {
function toggleTabView() {
let button = document.getElementById("tabview-button");
ok(button, "Tab View button exists");
button.doCommand();
ok(!button, "Tab View button not exist by default");
let tabViewCommand = document.getElementById("Browser:ToggleTabView");
tabViewCommand.doCommand();
}
// ----------