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

Unified Diff: third_party/WebKit/LayoutTests/media/autoplay-muted-datasaver-off.html

Issue 2850553002: Autoplay: use an autoplay policy setting in Blink. (Closed)
Patch Set: rebase Created 3 years, 7 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
Index: third_party/WebKit/LayoutTests/media/autoplay-muted-datasaver-off.html
diff --git a/third_party/WebKit/LayoutTests/media/autoplay-muted-datasaver-off.html b/third_party/WebKit/LayoutTests/media/autoplay-muted-datasaver-off.html
index 5e9baa137a1ac0dc50f840ad02e754afdaf57608..18b54bdb162da8907610e8d01d392d5aa8fe6f0f 100644
--- a/third_party/WebKit/LayoutTests/media/autoplay-muted-datasaver-off.html
+++ b/third_party/WebKit/LayoutTests/media/autoplay-muted-datasaver-off.html
@@ -8,7 +8,7 @@
</head>
<body>
<script>
- window.internals.settings.setMediaPlaybackRequiresUserGesture(true);
+ window.internals.settings.setAutoplayPolicy('user-gesture-required');
window.internals.runtimeFlags.autoplayMutedVideosEnabled = true;
window.internals.settings.setDataSaverEnabled(false);

Powered by Google App Engine
This is Rietveld 408576698