Bug 1533452 - Very frequent (80%) macOS debug TEST-UNEXPECTED-FAIL | leakcheck | default 3024989 bytes leaked (AbstractThread, AbstractWatcher, AnimationTimeline, AtomSet, AudioChannelAgent, ...) when Gecko 67 merges to Beta on 2019-03-11 r=dao

MozReview-Commit-ID: BTTLzWmA1HT

Differential Revision: https://phabricator.services.mozilla.com/D23034

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Ricky Rosario 2019-03-12 09:11:10 +00:00
Родитель b0162f4644
Коммит 82faf9e160
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -8299,13 +8299,13 @@ var ConfirmationHint = {
this._panel.setAttribute("hidearrow", "true");
}
// The timeout value used here allows the panel to stay open for
// 1.5s second after the text transition (duration=120ms) has finished.
// If there is a description, we show for 4s and there is no text transition.
const DURATION = options.showDescription ? 4000 : 1500 + 120;
this._panel.addEventListener("popupshown", () => {
this._animationBox.setAttribute("animate", "true");
// The timeout value used here allows the panel to stay open for
// 1.5s second after the text transition (duration=120ms) has finished.
// If there is a description, we show for 4s and there is no text transition.
const DURATION = options.showDescription ? 4000 : 1500 + 120;
setTimeout(() => {
this._panel.hidePopup(true);
}, DURATION);