Backed out changeset 34d5cbb640e3 (bug 1530557) for failing bc at browser_double_close_tab.js
authorAndreea Pavel <apavel@mozilla.com>
Tue, 05 Mar 2019 03:20:24 +0200
changeset 520182 b6a5fe5a1c5287718bab9da980c212afac30a8ee
parent 520181 79c8caa8661252b8ecbc98c4c2a8ad91304c010a
child 520183 7c5b913dc2e3b68cb7b019574de03d7b5d8de364
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1530557
milestone67.0a1
backs out34d5cbb640e33ad6b06af239788470118156764b
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
Backed out changeset 34d5cbb640e3 (bug 1530557) for failing bc at browser_double_close_tab.js
toolkit/components/prompts/content/tabprompts.jsm
--- a/toolkit/components/prompts/content/tabprompts.jsm
+++ b/toolkit/components/prompts/content/tabprompts.jsm
@@ -240,18 +240,18 @@ var TabModalPrompt = class {
       case "unload":
       case "TabClose":
         this.abortPrompt();
         break;
     }
   }
 
   onResize() {
-    let availWidth = this.element.clientWidth;
-    let availHeight = this.element.clientHeight;
+    let availWidth = this.clientWidth;
+    let availHeight = this.clientHeight;
     if (availWidth == this.availWidth && availHeight == this.availHeight)
       return;
     this.availWidth = availWidth;
     this.availHeight = availHeight;
 
     let main = this.ui.mainContainer;
     let info = this.ui.infoContainer;
     let body = this.ui.infoBody;