зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1327942 Part 1: Allow about pages that can load in non-remote and remote browser to load in any remote type. r=gijs
This commit is contained in:
Родитель
4c8762a1b0
Коммит
0b7581a7f3
|
@ -102,9 +102,10 @@ this.E10SUtils = {
|
|||
return DEFAULT_REMOTE_TYPE;
|
||||
}
|
||||
|
||||
if (flags & Ci.nsIAboutModule.URI_CAN_LOAD_IN_CHILD &&
|
||||
aPreferredRemoteType != NOT_REMOTE) {
|
||||
return DEFAULT_REMOTE_TYPE;
|
||||
// If the about page can load in parent or child, it should be safe to
|
||||
// load in any remote type.
|
||||
if (flags & Ci.nsIAboutModule.URI_CAN_LOAD_IN_CHILD) {
|
||||
return aPreferredRemoteType;
|
||||
}
|
||||
|
||||
return NOT_REMOTE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче