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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/webaudio/autoplay-crossorigin.html

Issue 2389963002: Move setMediaPlaybackRequiresUserGesture to the cross-origin frame. (Closed)
Patch Set: Created 4 years, 2 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/webaudio/autoplay-crossorigin.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/webaudio/autoplay-crossorigin.html b/third_party/WebKit/LayoutTests/http/tests/webaudio/autoplay-crossorigin.html
index 138b2fab153bcb9208b2bc1f03edf917b35c9d21..e7259ddf5308fb7cf9e87de966711128fdc4b52e 100644
--- a/third_party/WebKit/LayoutTests/http/tests/webaudio/autoplay-crossorigin.html
+++ b/third_party/WebKit/LayoutTests/http/tests/webaudio/autoplay-crossorigin.html
@@ -5,9 +5,6 @@
<body></body>
<script>
async_test(t => {
- if ('internals' in window)
- window.internals.settings.setMediaPlaybackRequiresUserGesture(true);
-
window.addEventListener('message', e => {
switch (e.data.msg) {
case 'clickme':

Powered by Google App Engine
This is Rietveld 408576698