Update features.cc
This commit is contained in:
parent
840c4c068a
commit
f1db89eb79
1 changed files with 3 additions and 7 deletions
10
third_party/blink/common/features.cc
vendored
10
third_party/blink/common/features.cc
vendored
|
@ -1,4 +1,4 @@
|
||||||
// Copyright 2018 The Chromium Authors. All rights reserved.
|
// Copyright 2022 The Chromium Authors. All rights reserved.
|
||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
@ -29,10 +29,6 @@ const base::Feature kBlockingDownloadsInAdFrameWithoutUserActivation{
|
||||||
"BlockingDownloadsInAdFrameWithoutUserActivation",
|
"BlockingDownloadsInAdFrameWithoutUserActivation",
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||||
|
|
||||||
// Support COEP on SharedWorker.
|
|
||||||
const base::Feature kCOEPForSharedWorker{"COEPForSharedWorker",
|
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
|
||||||
|
|
||||||
const base::Feature kCOLRV1Fonts{"COLRV1Fonts",
|
const base::Feature kCOLRV1Fonts{"COLRV1Fonts",
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
base::FEATURE_ENABLED_BY_DEFAULT};
|
||||||
|
|
||||||
|
@ -170,7 +166,7 @@ const base::Feature kNavigationPredictor {
|
||||||
// Enable browser-initiated dedicated worker script loading
|
// Enable browser-initiated dedicated worker script loading
|
||||||
// (PlzDedicatedWorker). https://crbug.com/906991
|
// (PlzDedicatedWorker). https://crbug.com/906991
|
||||||
const base::Feature kPlzDedicatedWorker{"PlzDedicatedWorker",
|
const base::Feature kPlzDedicatedWorker{"PlzDedicatedWorker",
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||||
|
|
||||||
// Enable Portals. https://crbug.com/865123.
|
// Enable Portals. https://crbug.com/865123.
|
||||||
// Note that default enabling this does not expose the portal
|
// Note that default enabling this does not expose the portal
|
||||||
|
@ -243,7 +239,7 @@ bool IsFencedFramesMPArchBased() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const base::Feature kInitialNavigationEntry{"InitialNavigationEntry",
|
const base::Feature kInitialNavigationEntry{"InitialNavigationEntry",
|
||||||
base::FEATURE_ENABLED_BY_DEFAULT};
|
base::FEATURE_DISABLED_BY_DEFAULT};
|
||||||
|
|
||||||
bool IsInitialNavigationEntryEnabled() {
|
bool IsInitialNavigationEntryEnabled() {
|
||||||
return base::FeatureList::IsEnabled(blink::features::kInitialNavigationEntry);
|
return base::FeatureList::IsEnabled(blink::features::kInitialNavigationEntry);
|
||||||
|
|
Loading…
Reference in a new issue