зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1041917 - Make it possible to transition from non-remote to remote browsers while browsing away from about: pages. r=billm. feedback=mrbkap.
--HG-- extra : histedit_source : f6bc00b11d21d68cc1a09c5da70d81a1c054085e
This commit is contained in:
Родитель
8ea5c183d9
Коммит
526c7cd453
|
@ -776,6 +776,16 @@
|
|||
unifiedComplete.registerOpenPage(aLocation);
|
||||
this.mBrowser.registeredOpenURI = aLocation;
|
||||
}
|
||||
|
||||
// It's possible we've moved from a URL that we cannot load remotely
|
||||
// to one that we can. If so, switch to a remote browser. This will
|
||||
// cause us to re-enter this onLocationChange function, but next time,
|
||||
// updateBrowserRemotenessByURL will return false.
|
||||
if (gMultiProcessBrowser &&
|
||||
this.mTabBrowser.updateBrowserRemotenessByURL(this.mBrowser,
|
||||
aLocation.spec)) {
|
||||
this.mTabBrowser.loadURIWithFlags(aLocation.spec, aFlags);
|
||||
}
|
||||
}
|
||||
|
||||
if (!this.mBlank) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче