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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/media/resources/autoplay-crossorigin-iframe.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/http/tests/media/resources/autoplay-crossorigin-iframe.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/media/resources/autoplay-crossorigin-iframe.html b/third_party/WebKit/LayoutTests/http/tests/media/resources/autoplay-crossorigin-iframe.html
index 1cae503623cc367b6f7fa46ff5a9baa810745c75..27797563b1d0a5e835679a0e49d32f5fca8e41a3 100644
--- a/third_party/WebKit/LayoutTests/http/tests/media/resources/autoplay-crossorigin-iframe.html
+++ b/third_party/WebKit/LayoutTests/http/tests/media/resources/autoplay-crossorigin-iframe.html
@@ -2,7 +2,7 @@
<script src="../../../media-resources/media-file.js"></script>
<body></body>
<script>
-window.internals.settings.setCrossOriginMediaPlaybackRequiresUserGesture(true);
+window.internals.settings.setAutoplayPolicy('user-gesture-required-for-cross-origin');
window.internals.runtimeFlags.autoplayMutedVideosEnabled = true;
{

Powered by Google App Engine
This is Rietveld 408576698