Backed out changeset a2f3a6818c4d (bug 1189887) for test_instance_re-parent.html failures CLOSED TREE

This commit is contained in:
Wes Kocher 2015-08-05 13:09:08 -07:00
Родитель e2ed929e0c
Коммит 6fe397ef93
2 изменённых файлов: 7 добавлений и 5 удалений

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

@ -33,7 +33,6 @@
#include "nsCRT.h"
#include "nsIFile.h"
#include "nsIObserverService.h"
#include "nsIXULRuntime.h"
#include "nsNPAPIPlugin.h"
#include "nsPrintfCString.h"
#include "prsystem.h"
@ -642,9 +641,7 @@ PluginModuleParent::PluginModuleParent(bool aIsChrome)
, mAsyncNewRv(NS_ERROR_NOT_INITIALIZED)
{
#if defined(XP_WIN) || defined(XP_MACOSX) || defined(MOZ_WIDGET_GTK)
// Until some e10s bugs are resolved, disable asyncInit with e10s
mIsStartingAsync = Preferences::GetBool(kAsyncInitPref, false) &&
!BrowserTabsRemoteAutostart();
mIsStartingAsync = Preferences::GetBool(kAsyncInitPref, false);
#if defined(MOZ_CRASHREPORTER)
CrashReporter::AnnotateCrashReport(NS_LITERAL_CSTRING("AsyncPluginInit"),
mIsStartingAsync ?

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

@ -2540,8 +2540,13 @@ pref("dom.ipc.plugins.reportCrashURL", true);
// Defaults to 30 seconds.
pref("dom.ipc.plugins.unloadTimeoutSecs", 30);
// Asynchronous plugin initialization should be enabled by default.
// Asynchronous plugin initialization should only be enabled on non-e10s
// channels until some remaining bugs are resolved.
#ifdef E10S_TESTING_ONLY
pref("dom.ipc.plugins.asyncInit", false);
#else
pref("dom.ipc.plugins.asyncInit", true);
#endif
pref("dom.ipc.processCount", 1);