fx-compat: nsIWebNavigation::loadURI() signature change

This commit is contained in:
Dan Stillman 2020-07-05 17:41:06 -04:00
parent b6f5d7183f
commit 1bb99a6bc8

View file

@ -790,8 +790,14 @@
this._iframe.addEventListener("DOMContentLoaded", listener, false);
this._iframe.webNavigation.loadURI(uri.spec,
Components.interfaces.nsIWebNavigation.LOAD_FLAGS_BYPASS_HISTORY, null, null, null);
let loadURIOptions = {
triggeringPrincipal: null,
csp: null,
loadFlags: Components.interfaces.nsIWebNavigation.LOAD_FLAGS_BYPASS_HISTORY,
referrerInfo: null,
postData: null,
};
this._iframe.webNavigation.loadURI(uri.spec, loadURIOptions);
]]>
</body>
</method>