Bug 1189887: Enable async plugin init by default except when e10s is on; r=jimm
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "nsCRT.h"
|
||||
#include "nsIFile.h"
|
||||
#include "nsIObserverService.h"
|
||||
#include "nsIXULRuntime.h"
|
||||
#include "nsNPAPIPlugin.h"
|
||||
#include "nsPrintfCString.h"
|
||||
#include "prsystem.h"
|
||||
@@ -641,7 +642,9 @@ PluginModuleParent::PluginModuleParent(bool aIsChrome)
|
||||
, mAsyncNewRv(NS_ERROR_NOT_INITIALIZED)
|
||||
{
|
||||
#if defined(XP_WIN) || defined(XP_MACOSX) || defined(MOZ_WIDGET_GTK)
|
||||
mIsStartingAsync = Preferences::GetBool(kAsyncInitPref, false);
|
||||
// Until some e10s bugs are resolved, disable asyncInit with e10s
|
||||
mIsStartingAsync = Preferences::GetBool(kAsyncInitPref, false) &&
|
||||
!BrowserTabsRemoteAutostart();
|
||||
#if defined(MOZ_CRASHREPORTER)
|
||||
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("AsyncPluginInit"),
|
||||
mIsStartingAsync ?
|
||||
|
||||
Reference in New Issue
Block a user