mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 772155 - Disallow nested content processes. r=bz
This commit is contained in:
parent
b8f5384767
commit
3caf235295
@ -1377,6 +1377,12 @@ nsFrameLoader::ShouldUseRemoteProcess()
|
||||
return false;
|
||||
}
|
||||
|
||||
// If we're inside a content process, don't use a remote process for this
|
||||
// frame; it won't work properly until bug 761935 is fixed.
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Content) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// If we're an <iframe mozbrowser> and we don't have a "remote" attribute,
|
||||
// fall back to the default.
|
||||
if (OwnerIsBrowserFrame() &&
|
||||
|
Loading…
Reference in New Issue
Block a user