mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 939965 - [Australis] Use ensureReady to force panel menu construction instead of opening it. r=Gijs.
This commit is contained in:
parent
71a5f95334
commit
2c8ec1fe50
@ -114,14 +114,7 @@ let gTests = [
|
||||
setup: startCustomizing,
|
||||
run: function() {
|
||||
otherWin = yield openAndLoadWindow(null, true);
|
||||
// Open and close the panel to force its construction:
|
||||
let shownPromise = promisePanelShown(otherWin);
|
||||
otherWin.PanelUI.toggle({type: "command"});
|
||||
yield shownPromise;
|
||||
let hiddenPromise = promisePanelHidden(otherWin);
|
||||
otherWin.PanelUI.toggle({type: "command"});
|
||||
yield hiddenPromise;
|
||||
|
||||
yield otherWin.PanelUI.ensureReady();
|
||||
ok(CustomizableUI.inDefaultState, "Should start in default state");
|
||||
|
||||
for (let widgetId of [kXULWidgetId, kAPIWidgetId]) {
|
||||
|
Loading…
Reference in New Issue
Block a user