Skip to content

Commit

Permalink
chore: disable Microtask queues per WindowAgent.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinsc committed Jan 4, 2023
1 parent 90eeeaf commit 0ffa9df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions shell/browser/feature_list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "media/base/media_switches.h"
#include "net/base/features.h"
#include "services/network/public/cpp/features.h"
#include "third_party/blink/renderer/platform/scheduler/common/features.h"

#if BUILDFLAG(IS_MAC)
#include "device/base/features.h" // nogncheck
Expand All @@ -36,6 +37,12 @@ void InitializeFeatureList() {
disable_features +=
std::string(",") + features::kSpareRendererForSitePerProcess.name;

// Microtask queues per WindowAgent causes issues with Node, so disable
// this feature for now. See
// https://chromium-review.googlesource.com/c/chromium/src/+/4003663
disable_features +=
std::string(",") + blink::scheduler::kMicrotaskQueuePerWindowAgent.name;

#if BUILDFLAG(IS_MAC)
// Needed for WebUSB implementation
enable_features += std::string(",") + device::kNewUsbBackend.name;
Expand Down

0 comments on commit 0ffa9df

Please sign in to comment.