forked from mirrors/gecko-dev
Bug 1885598: Do not pass remoteType r=mossop
Firstly, this parameter is actually named remoteTypeOverride and secondly, it is only valid for about: urls when passed to loadURI Differential Revision: https://phabricator.services.mozilla.com/D204788
This commit is contained in:
parent
265d406901
commit
4427e1d91e
1 changed files with 0 additions and 12 deletions
|
|
@ -10,7 +10,6 @@ const lazy = {};
|
|||
|
||||
ChromeUtils.defineESModuleGetters(lazy, {
|
||||
BrowserWindowTracker: "resource:///modules/BrowserWindowTracker.sys.mjs",
|
||||
E10SUtils: "resource://gre/modules/E10SUtils.sys.mjs",
|
||||
HiddenFrame: "resource://gre/modules/HiddenFrame.sys.mjs",
|
||||
});
|
||||
|
||||
|
|
@ -542,19 +541,8 @@ export const PageDataService = new (class PageDataService extends EventEmitter {
|
|||
this.#backgroundBrowsers.set(browser, resolve);
|
||||
|
||||
let principal = Services.scriptSecurityManager.getSystemPrincipal();
|
||||
let oa = lazy.E10SUtils.predictOriginAttributes({
|
||||
browser,
|
||||
});
|
||||
let loadURIOptions = {
|
||||
triggeringPrincipal: principal,
|
||||
remoteType: lazy.E10SUtils.getRemoteTypeForURI(
|
||||
url,
|
||||
true,
|
||||
false,
|
||||
lazy.E10SUtils.DEFAULT_REMOTE_TYPE,
|
||||
null,
|
||||
oa
|
||||
),
|
||||
};
|
||||
browser.fixupAndLoadURIString(url, loadURIOptions);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue