| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 70 |
| 73 <script> | 71 <script> |
| 74 | 72 |
| 75 start('audio', [ 'none', | 73 start('audio', [ 'none', |
| 76 'enabled-forvideo', | 74 'enabled-forvideo', |
| 77 'enabled-foraudio', | 75 'enabled-foraudio', |
| 78 'enabled-foraudio-ifviewport']); | 76 'enabled-foraudio-ifviewport']); |
| 79 | 77 |
| 80 </script> | 78 </script> |
| 81 </html> | 79 </html> |
| OLD | NEW |