Bug 1380274 - add an anchor to the definition of the overflow panel area, r=jaws
authorGijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 27 Jul 2017 14:16:08 +0100
changeset 420260 18cb88892539e7dd4c5b9076cb78cff0283261e1
parent 420259 87bd87bb40646066039afd60e8bbae10b53e400b
child 420261 e65c70c5c833aed67f952323a971554b1fe05c6e
push id7566
push usermtabara@mozilla.com
push dateWed, 02 Aug 2017 08:25:16 +0000
treeherdermozilla-beta@86913f512c3c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1380274
milestone56.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 1380274 - add an anchor to the definition of the overflow panel area, r=jaws MozReview-Commit-ID: EezQr2JP1JH
browser/components/customizableui/CustomizableUI.jsm
--- a/browser/components/customizableui/CustomizableUI.jsm
+++ b/browser/components/customizableui/CustomizableUI.jsm
@@ -325,16 +325,17 @@ var CustomizableUIInternal = {
 
     if (gPhotonStructure) {
       if (gAreas.has(CustomizableUI.AREA_PANEL)) {
         this.unregisterArea(CustomizableUI.AREA_PANEL, true);
       }
       this.registerArea(CustomizableUI.AREA_FIXED_OVERFLOW_PANEL, {
         type: CustomizableUI.TYPE_MENU_PANEL,
         defaultPlacements: [],
+        anchor: "nav-bar-overflow-button",
       }, true);
     } else {
       if (gAreas.has(CustomizableUI.AREA_FIXED_OVERFLOW_PANEL)) {
         this.unregisterArea(CustomizableUI.AREA_FIXED_OVERFLOW_PANEL, true);
       }
       // In tests we destroy some widgets. Those should be removed from the
       // default placements when re-registering the panel.
       let placementsToUse = Array.from(gDefaultPanelPlacements);