mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
Bug 842712 - strWindowName of |window.open(strUrl, strWindowName , strWindowFeatures)| should be targeting tab context, this problem only happens win8 metro UI r=mbrubeck
This commit is contained in:
parent
4b6c7f4bc0
commit
d51de8c341
@ -1458,7 +1458,7 @@ Tab.prototype = {
|
||||
browser.id = "browser-" + this._id;
|
||||
this._chromeTab.linkedBrowser = browser;
|
||||
|
||||
browser.setAttribute("type", "content");
|
||||
browser.setAttribute("type", "content-targetable");
|
||||
|
||||
let useRemote = Services.appinfo.browserTabsRemote;
|
||||
let useLocal = Util.isLocalScheme(aURI);
|
||||
@ -1532,7 +1532,7 @@ Tab.prototype = {
|
||||
} else {
|
||||
notification.classList.remove("active-tab-notificationbox");
|
||||
browser.messageManager.sendAsyncMessage("Browser:Blur", { });
|
||||
browser.setAttribute("type", "content");
|
||||
browser.setAttribute("type", "content-targetable");
|
||||
browser.active = false;
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user