Bug 1630908 - Part 1: Pass OriginAttributes to be included with remote type, r=nika,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D101073
This commit is contained in:
@@ -3122,10 +3122,14 @@ async function BrowserViewSourceOfDocument(args) {
|
||||
// source in tab expects the new view source browser's remoteness to match
|
||||
// that of the original URL, so disable remoteness if necessary for this
|
||||
// URL.
|
||||
var oa = E10SUtils.predictOriginAttributes({ window });
|
||||
preferredRemoteType = E10SUtils.getRemoteTypeForURI(
|
||||
args.URL,
|
||||
gMultiProcessBrowser,
|
||||
gFissionBrowser
|
||||
gFissionBrowser,
|
||||
E10SUtils.DEFAULT_REMOTE_TYPE,
|
||||
null,
|
||||
oa
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user