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:
Rodrigo Silveira 2014-02-10 11:30:56 -08:00
parent 4b6c7f4bc0
commit d51de8c341

View File

@ -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;
}
},