| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |