Bug 1336554 - Add support to e10s-multi for simplified browser tab. r=mconley

This patch adds support to e10s-multi when creating tab for simplified browser.

MozReview-Commit-ID: KHXePRVxrGl

--HG--
extra : rebase_source : 4c215fdd2506f19864dd9dfdfacd9f7f710802aa
This commit is contained in:
Matheus Longaray 2017-02-03 21:21:01 +01:00
parent 589fbe3c24
commit 5dfa84f720

View File

@ -3400,8 +3400,10 @@ var PrintPreviewListener = {
return gBrowser.getBrowserForTab(this._printPreviewTab);
},
createSimplifiedBrowser() {
let browser = this._tabBeforePrintPreview.linkedBrowser;
this._simplifyPageTab = gBrowser.loadOneTab("about:blank",
{ inBackground: true });
{ inBackground: true,
relatedBrowser: browser });
return this.getSimplifiedSourceBrowser();
},
getSourceBrowser() {