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

Unified Diff: third_party/WebKit/LayoutTests/media/autoplay-unmute-offscreen.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-unmute-offscreen.html
diff --git a/third_party/WebKit/LayoutTests/media/autoplay-unmute-offscreen.html b/third_party/WebKit/LayoutTests/media/autoplay-unmute-offscreen.html
index 5124f311d32cf579606ba8b8ecad3e24bd275195..56b1a744c20db6002cdb3b7df973d2be26b2ab3a 100644
--- a/third_party/WebKit/LayoutTests/media/autoplay-unmute-offscreen.html
+++ b/third_party/WebKit/LayoutTests/media/autoplay-unmute-offscreen.html
@@ -5,7 +5,7 @@
<script src="media-file.js"></script>
<body>
<script>
- window.internals.settings.setMediaPlaybackRequiresUserGesture(true);
+ window.internals.settings.setAutoplayPolicy('user-gesture-required');
window.internals.runtimeFlags.autoplayMutedVideosEnabled = true;
async_test(function(t) {

Powered by Google App Engine
This is Rietveld 408576698