Bug 1357064 - Reducing the width of the window while the last tab is selected shouldn't causes the tabstrip to animate, r=dao.
authorFlorian Queze <florian@queze.net>
Wed, 19 Apr 2017 00:04:09 +0200
changeset 401878 1735bad11778eee56faadccb916c31b9ad9e0be5
parent 401877 6187bdf62907ca7e6372592752da45f00178d33e
child 401879 edda32a96d465ad3f2ee03f031a202f3c4910676
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1357064
milestone55.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 1357064 - Reducing the width of the window while the last tab is selected shouldn't causes the tabstrip to animate, r=dao.
browser/base/content/tabbrowser.xml
--- a/browser/base/content/tabbrowser.xml
+++ b/browser/base/content/tabbrowser.xml
@@ -6237,17 +6237,17 @@
                 break;
 
               TabsInTitlebar.updateAppearance();
 
               var width = this.mTabstrip.boxObject.width;
               if (width != this.mTabstripWidth) {
                 this.adjustTabstrip();
                 this._fillTrailingGap();
-                this._handleTabSelect();
+                this._handleTabSelect(false);
                 this.mTabstripWidth = width;
               }
               break;
             case "mouseout":
               // If the "related target" (the node to which the pointer went) is not
               // a child of the current document, the mouse just left the window.
               let relatedTarget = aEvent.relatedTarget;
               if (relatedTarget && relatedTarget.ownerDocument == document)