Bug 1496189 - Password quality meter show always undetermined, r=paolo
authorAlexander Surkov <surkov.alexander@gmail.com>
Tue, 09 Oct 2018 10:47:04 +0800
changeset 440103 ccbd30a9a23a7b979abb27211a095aa43d424bcc
parent 440102 150a7a5613b7cfc2adac4c801f29391c414042ff
child 440104 470dd43efaa6a9b5c0d9e72e65276f7c07be4f25
push id108743
push usersurkov.alexander@gmail.com
push dateTue, 09 Oct 2018 02:48:48 +0000
treeherdermozilla-inbound@ccbd30a9a23a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspaolo
bugs1496189
milestone64.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 1496189 - Password quality meter show always undetermined, r=paolo
toolkit/content/widgets/progressmeter.js
--- a/toolkit/content/widgets/progressmeter.js
+++ b/toolkit/content/widgets/progressmeter.js
@@ -85,23 +85,23 @@ class MozProgressmeter extends MozXULEle
       this._initUI();
     }
   }
 
   _initUI() {
     let isUndetermined = this.isUndetermined();
     let content = isUndetermined ?
       `
-        <spacer class="progress-bar"/>
-        <spacer class="progress-remainder"/>
-      ` :
-      `
         <stack class="progress-remainder" flex="1" style="overflow: -moz-hidden-unscrollable;">
           <spacer class="progress-bar" top="0" style="margin-right: -1000px;"/>
         </stack>
+      ` :
+      `
+        <spacer class="progress-bar"/>
+        <spacer class="progress-remainder"/>
       `;
 
     this._stack = null;
     this._spacer = null;
     this._runAnimation = isUndetermined;
 
     this.textContent = "";
     this.appendChild(MozXULElement.parseXULToFragment(content));