author | Wendy Wigg <wiggwendy@gmail.com> |
Wed, 04 Dec 2019 10:59:42 +0000 | |
changeset 505312 | e58cebce47378165bdb2baffb15a0921ff922ba9 |
parent 505311 | 82ae4e73b3baacc7490690c3287c3d2ab13fc7d2 |
child 505313 | e8463f077741d3bf4145f67ac7a0c762c72867ca |
push id | 102260 |
push user | mdeboer@mozilla.com |
push date | Wed, 04 Dec 2019 11:15:43 +0000 |
treeherder | autoland@e58cebce4737 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | mikedeboer |
bugs | 1431214 |
milestone | 73.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/toolkit/content/widgets/browser-custom-element.js +++ b/toolkit/content/widgets/browser-custom-element.js @@ -1008,30 +1008,16 @@ this.webNavigation.loadURI(aURI, loadURIOptions) ); } gotoIndex(aIndex) { this._wrapURIChangeCall(() => this.webNavigation.gotoIndex(aIndex)); } - /** - * Used by session restore to ensure that currentURI is set so - * that switch-to-tab works before the tab is fully - * restored. This function also invokes onLocationChanged - * listeners in tabbrowser.xml. - */ - _setCurrentURI(aURI) { - if (this.isRemoteBrowser) { - this._remoteWebProgressManager.setCurrentURI(aURI); - } else { - this.docShell.setCurrentURI(aURI); - } - } - preserveLayers(preserve) { if (!this.isRemoteBrowser) { return; } let { frameLoader } = this; if (frameLoader.remoteTab) { frameLoader.remoteTab.preserveLayers(preserve); }