mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backed out changeset fe00dbf89462 (bug 1063156) for bustage
This commit is contained in:
parent
cd7a3d69f2
commit
6ee5aea422
@ -4282,13 +4282,12 @@ this.XPIProvider = {
|
||||
|
||||
let principal = Cc["@mozilla.org/systemprincipal;1"].
|
||||
createInstance(Ci.nsIPrincipal);
|
||||
#ifdef NIGHTLY_BUILD
|
||||
if (!aMultiprocessCompatible) {
|
||||
|
||||
if (!aMultiprocessCompatible && Services.appinfo.browserTabsRemoteAutostart) {
|
||||
let interposition = Cc["@mozilla.org/addons/multiprocess-shims;1"].
|
||||
getService(Ci.nsIAddonInterposition);
|
||||
Cu.setAddonInterposition(aId, interposition);
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!aFile.exists()) {
|
||||
this.bootstrapScopes[aId] =
|
||||
|
@ -551,7 +551,9 @@ nsXREDirProvider::GetFiles(const char* aProperty, nsISimpleEnumerator** aResult)
|
||||
static void
|
||||
RegisterExtensionInterpositions(nsINIParser &parser)
|
||||
{
|
||||
#ifdef NIGHTLY_BUILD
|
||||
if (!mozilla::BrowserTabsRemoteAutostart())
|
||||
return;
|
||||
|
||||
nsCOMPtr<nsIAddonInterposition> interposition =
|
||||
do_GetService("@mozilla.org/addons/multiprocess-shims;1");
|
||||
|
||||
@ -570,7 +572,6 @@ RegisterExtensionInterpositions(nsINIParser &parser)
|
||||
continue;
|
||||
}
|
||||
while (true);
|
||||
#endif
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user