| Index: third_party/WebKit/LayoutTests/media/autoplay-document-move.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/autoplay-document-move.html b/third_party/WebKit/LayoutTests/media/autoplay-document-move.html
|
| index 962a5f4611d0596cdb7a68564f6a89923eec13c5..cd5557134b3b2ea29ea182cee60909cc19d01814 100644
|
| --- a/third_party/WebKit/LayoutTests/media/autoplay-document-move.html
|
| +++ b/third_party/WebKit/LayoutTests/media/autoplay-document-move.html
|
| @@ -17,7 +17,7 @@
|
| }, 'internals are exposed');
|
|
|
| async_test(function(t) {
|
| - window.internals.settings.setMediaPlaybackRequiresUserGesture(false);
|
| + window.internals.settings.setAutoplayPolicy('no-user-gesture-required');
|
| var v = createAndMoveVideo();
|
| assert_true(v.paused, 'Video should be paused before calling play()');
|
|
|
| @@ -29,7 +29,7 @@
|
| }, 'Test that video should autoplay without gesture requirement');
|
|
|
| async_test(function(t) {
|
| - window.internals.settings.setMediaPlaybackRequiresUserGesture(true);
|
| + window.internals.settings.setAutoplayPolicy('user-gesture-required');
|
| var v = createAndMoveVideo();
|
| assert_true(v.paused, 'Video should be paused before calling play()');
|
|
|
|
|