mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 626500 - Part 2: Test adjustments; r=dao a=blocking-final+
This commit is contained in:
parent
bd4763137a
commit
5f11f7b148
@ -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();
|
||||
}
|
||||
|
||||
// ----------
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
// ----------
|
||||
|
Loading…
Reference in New Issue
Block a user