mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1015494 - fix sidebar state at the end of the test, r=mconley
--HG-- extra : rebase_source : 377a22b5e2850786453fe9f600f57005c1756bed
This commit is contained in:
parent
ce07827af2
commit
17fe4d3830
@ -19,6 +19,11 @@ window.sawEvent = function(event, isattr) {
|
||||
|
||||
registerCleanupFunction(() => {
|
||||
delete window.sawEvent;
|
||||
|
||||
// Ensure sidebar is hidden after each test:
|
||||
if (!document.getElementById("sidebar-box").hidden) {
|
||||
toggleSidebar("", false);
|
||||
}
|
||||
});
|
||||
|
||||
function checkExpectedEvents(expected) {
|
||||
@ -84,7 +89,7 @@ add_task(function*() {
|
||||
document.getElementById("customizationui-widget-panel").hidePopup();
|
||||
yield subviewHiddenPromise;
|
||||
|
||||
yield resetCustomization();
|
||||
return resetCustomization();
|
||||
});
|
||||
|
||||
function add_sidebar_task(description, setup, teardown) {
|
||||
|
Loading…
Reference in New Issue
Block a user