chore: enable microtask queue per window agent (#36870)
* chore: enable microtask queue per window agent * chore: switch policies on context microtask queue * fix: ensure node::Environment is valid
This commit is contained in:
parent
2a7d0a84c0
commit
fefb22a83d
19 changed files with 115 additions and 54 deletions
|
@ -16,7 +16,6 @@
|
|||
#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" // nogncheck
|
||||
|
||||
#if BUILDFLAG(IS_MAC)
|
||||
#include "device/base/features.h" // nogncheck
|
||||
|
@ -37,12 +36,6 @@ 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue