Commit 7fb38dfb authored by Gijs Kruitbosch's avatar Gijs Kruitbosch
Browse files

Bug 1909163 - mark select dropdown as tabspecific, a=RyanVM

parent 86c87fdd
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3604,9 +3604,9 @@ var XULBrowserWindow = {
    };

    // If the location is changed due to switching tabs,
    // ensure we close any open tabspecific panels.
    // ensure we close any open tabspecific popups.
    if (aIsSimulated) {
      closeOpenPanels("panel[tabspecific='true']");
      closeOpenPanels(":is(panel, menupopup)[tabspecific='true']");
    }

    // Ensure we close any remaining open locationspecific panels
+1 −0
Original line number Diff line number Diff line
@@ -750,6 +750,7 @@ export class SelectParent extends JSWindowActorParent {
    popup.setAttribute("id", "ContentSelectDropdownPopup");
    popup.setAttribute("activateontab", "true");
    popup.setAttribute("position", "after_start");
    popup.setAttribute("tabspecific", "true");
    popup.setAttribute("level", "parent");
    if (AppConstants.platform == "win") {
      popup.setAttribute("consumeoutsideclicks", "false");