Commit b65024a3 authored by Sam Foster's avatar Sam Foster
Browse files

Bug 1719463 - Part 11: Remove the Help button from the pre-proton appMenu view. r=Gijs

parent ba9f1e0d
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -11,11 +11,6 @@
                     hidden="true"
                     closemenu="none"
                     oncommand="PanelUI.showSubView('PanelUI-whatsNew', this)"/>
      <toolbarbutton id="appMenu-help-button"
                     class="subviewbutton subviewbutton-iconic subviewbutton-nav"
                     label="&appMenuHelp.label;"
                     closemenu="none"
                     oncommand="PanelUI.showSubView('PanelUI-helpView', this)"/>
#ifndef XP_MACOSX
      <toolbarseparator/>
      <toolbarbutton id="appMenu-quit-button"
+1 −1
Original line number Diff line number Diff line
@@ -150,7 +150,7 @@ var UITour = {
        widgetName: "panic-button",
      },
    ],
    ["help", { query: "#appMenu-help-button" }],
    ["help", { query: "#appMenu-help-button2" }],
    ["home", { query: "#home-button" }],
    [
      "logins",
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ var AppMenu = {
        );
        await reopenAppMenu(browserWindow);

        browserWindow.document.getElementById("appMenu-help-button").click();
        browserWindow.document.getElementById("appMenu-help-button2").click();
        let view = browserWindow.document.getElementById("PanelUI-helpView");
        let promiseViewShown = BrowserTestUtils.waitForEvent(view, "ViewShown");
        await promiseViewShown;