summaryrefslogtreecommitdiff
path: root/toolkit/content/tests
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/content/tests')
-rw-r--r--toolkit/content/tests/browser/head.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/toolkit/content/tests/browser/head.js b/toolkit/content/tests/browser/head.js
index e3ef195382..399b63e340 100644
--- a/toolkit/content/tests/browser/head.js
+++ b/toolkit/content/tests/browser/head.js
@@ -99,6 +99,7 @@ class DateTimeTestHelper {
let pickerClosePromise = new Promise(resolve => {
this.panel.addEventListener("popuphidden", resolve, {once: true});
});
+ this.panel.hidePopup();
this.panel.closePicker();
await pickerClosePromise;
}