| Index: LayoutTests/media/no-autoplay-with-user-gesture-requirement.html
|
| diff --git a/LayoutTests/media/no-autoplay-with-user-gesture-requirement.html b/LayoutTests/media/no-autoplay-with-user-gesture-requirement.html
|
| deleted file mode 100644
|
| index ad279ac9d44967d9f53a8045559563502108d607..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/media/no-autoplay-with-user-gesture-requirement.html
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -<html>
|
| - <head>
|
| - <title>Test that media autoplay should not work if user gesture is required for playback</title>
|
| - <script src=media-file.js></script>
|
| - <script src=video-test.js></script>
|
| - <script>
|
| - if (window.internals)
|
| - window.internals.settings.setMediaPlaybackRequiresUserGesture(true);
|
| -
|
| - function testPlay()
|
| - {
|
| - failTest("play event should not fire without user gesture.");
|
| - }
|
| -
|
| - function testPaused()
|
| - {
|
| - testExpected("video.paused", true);
|
| - endTest();
|
| - }
|
| -
|
| - function canplaythrough()
|
| - {
|
| - setTimeout(testPaused, 100);
|
| - }
|
| -
|
| - function start()
|
| - {
|
| - findMediaElement();
|
| - video.src = findMediaFile("video", "content/test");
|
| - testExpected("video.paused", true);
|
| - waitForEvent('canplaythrough', canplaythrough);
|
| - waitForEvent('play', testPlay);
|
| - }
|
| - </script>
|
| - </head>
|
| -
|
| - <body onload="start()">
|
| - <p>Test that media autoplay should not work if user gesture is required for playback.</p>
|
| - <video controls autoplay></video>
|
| - </body>
|
| -</html>
|
|
|