Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1140)

Unified Diff: content/public/common/content_features.cc

Issue 2023033003: scheduler: Throttle timers in out-of-view frames (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index b9c57a8c7c7d63ea85049f3b1949e582342fdce2..1c0ac0a82eeb78cf7d33e84d536971e254773651 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -132,6 +132,10 @@ const base::Feature kSpeculativeLaunchServiceWorker{
const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Throttle Blink timers in out-of-view cross origin frames.
+const base::Feature kTimerThrottlingForHiddenFrames{
+ "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT};
+
// Enables token binding
// (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
const base::Feature kTokenBinding{"token-binding",
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698