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:
Mike Conley 2014-08-13 14:03:32 -04:00
Родитель 8ea5c183d9
Коммит 526c7cd453
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -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) {