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

Side by Side Diff: third_party/WebKit/LayoutTests/media/video-autoplay-experiment-modes.html

Issue 2133383002: Remove video-test.js dependency from [audio, video]-autoplay-* tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html>
1 <html> 2 <html>
2 <video autoplay controls></video> 3 <video autoplay controls></video>
3 <script src=media-file.js></script> 4 <script src="media-file.js"></script>
4 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 5 <script src="autoplay-experiment-helper.js"></script>
5 (Please avoid writing new tests using video-test.js) -->
6 <script src=video-test.js></script>
7 <script src=autoplay-experiment-helper.js></script>
8 <body> 6 <body>
9 <pre> 7 <pre>
10 Check if the autoplay gesture override experiment works. There are a lot 8 Check if the autoplay gesture override experiment works. There are a lot
11 of config options, so this test just runs all of them. 9 of config options, so this test just runs all of them.
12 10
13 The "results" table contains one row per config tested. 11 The "results" table contains one row per config tested.
14 == Test Inputs == 12 == Test Inputs ==
15 # - config number, in case you'd like to run just one. 13 # - config number, in case you'd like to run just one.
16 Flags - autoplay experiment setting being tested. 14 Flags - autoplay experiment setting being tested.
17 a - "foraudio" 15 a - "foraudio"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 start('video', [ 'none', 73 start('video', [ 'none',
76 'enabled-forvideo', 74 'enabled-forvideo',
77 'enabled-forvideo-ifpagevisible', 75 'enabled-forvideo-ifpagevisible',
78 'enabled-forvideo-ifviewport-ifmuted', 76 'enabled-forvideo-ifviewport-ifmuted',
79 'enabled-forvideo-ifviewport-playmuted', 77 'enabled-forvideo-ifviewport-playmuted',
80 'enabled-forvideo-ifmobile', 78 'enabled-forvideo-ifmobile',
81 'enabled-foraudio']); 79 'enabled-foraudio']);
82 80
83 </script> 81 </script>
84 </html> 82 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698