Index: third_party/WebKit/LayoutTests/http/tests/webaudio/resources/autoplay-crossorigin-iframe.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/webaudio/resources/autoplay-crossorigin-iframe.html b/third_party/WebKit/LayoutTests/http/tests/webaudio/resources/autoplay-crossorigin-iframe.html |
index f72d21a92959b5449cf65f65f104410ef7a2193d..5ffd52c48ad5d18caa3cb2134bde9a3be2f223f5 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/webaudio/resources/autoplay-crossorigin-iframe.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/webaudio/resources/autoplay-crossorigin-iframe.html |
@@ -1,6 +1,9 @@ |
<!DOCTYPE html> |
<body><span>click me</span></body> |
<script> |
+if ('internals' in window) |
+ window.internals.settings.setMediaPlaybackRequiresUserGesture(true); |
+ |
function synthesizeClick(callback) { |
document.onclick = callback; |
window.parent.postMessage({ msg: 'clickme' }, '*'); |