forked from mirrors/gecko-dev
Bug 1909163 - mark select dropdown as tabspecific, a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D217232 Differential Revision: https://phabricator.services.mozilla.com/D219917
This commit is contained in:
parent
86c87fdd04
commit
7fb38dfb81
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue