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
authorRicky Rosario <rickyrosario@gmail.com>
Tue, 12 Mar 2019 09:11:10 +0000
changeset 521526 8f87d52ffc92
parent 521525 18452fcf3bb3
child 521527 1aa0df07fbdd
push id10867
push userdvarga@mozilla.com
push dateThu, 14 Mar 2019 15:20:45 +0000
treeherdermozilla-beta@abad13547875 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1533452, 3024989
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
browser/base/content/browser.js
--- a/browser/base/content/browser.js
+++ b/browser/base/content/browser.js
@@ -8294,23 +8294,23 @@ var ConfirmationHint = {
       this._description.hidden = true;
       this._panel.classList.remove("with-description");
     }
 
     if (options.hideArrow) {
       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);
     }, {once: true});
 
     this._panel.addEventListener("popuphidden", () => {
       this._panel.removeAttribute("hidearrow");
       this._animationBox.removeAttribute("animate");