diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-31 06:58:52 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-31 06:58:52 +0200 |
commit | de16d196679e3deaf8797abcc05db5cf0ead6ae8 (patch) | |
tree | b2d0ed916ab6c774949fd86d783fa75b4f687a33 /toolkit/content/tests/browser/head.js | |
parent | 7e0d05ea58eee63d0647a0bbd4de662fcebc3bf2 (diff) | |
download | UXP-de16d196679e3deaf8797abcc05db5cf0ead6ae8.tar UXP-de16d196679e3deaf8797abcc05db5cf0ead6ae8.tar.gz UXP-de16d196679e3deaf8797abcc05db5cf0ead6ae8.tar.lz UXP-de16d196679e3deaf8797abcc05db5cf0ead6ae8.tar.xz UXP-de16d196679e3deaf8797abcc05db5cf0ead6ae8.zip |
Bug 1401876 - (Part 1) Close datetime picker on popuphidden
Diffstat (limited to 'toolkit/content/tests/browser/head.js')
-rw-r--r-- | toolkit/content/tests/browser/head.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolkit/content/tests/browser/head.js b/toolkit/content/tests/browser/head.js index e3ef19538..399b63e34 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; } |