OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 4 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
5 (Please avoid writing new tests using video-test.js) --> | 5 (Please avoid writing new tests using video-test.js) --> |
6 <script src=video-test.js></script> | 6 <script src=video-test.js></script> |
7 <script src=media-file.js></script> | 7 <script src=media-file.js></script> |
8 <script> | 8 <script> |
9 var index = 0; | 9 var index = 0; |
10 | 10 |
11 function testMuted(expectedMuted, expectedDefaultMuted) | 11 function testMuted(expectedMuted, expectedDefaultMuted) |
12 { | 12 { |
13 testExpected("video.muted", expectedMuted); | 13 testExpected("video.muted", expectedMuted); |
14 testExpected("video.defaultMuted", expectedDefaultMuted); | 14 testExpected("video.defaultMuted", expectedDefaultMuted); |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 } | 83 } |
84 | 84 |
85 </script> | 85 </script> |
86 </head> | 86 </head> |
87 | 87 |
88 <body onload="runNextTest()"> | 88 <body onload="runNextTest()"> |
89 <div id="parent"></div> | 89 <div id="parent"></div> |
90 <p>Test 'muted' content attribute<p> | 90 <p>Test 'muted' content attribute<p> |
91 </body> | 91 </body> |
92 </html> | 92 </html> |
OLD | NEW |