OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
| 3 <head> |
| 4 <title> |
| 5 stereopannernode-panning.html |
| 6 </title> |
| 7 <script src="../../resources/testharness.js"></script> |
| 8 <script src="../../resources/testharnessreport.js"></script> |
| 9 <script src="../resources/audit-util.js"></script> |
| 10 <script src="../resources/audit.js"></script> |
| 11 <script src="../resources/stereopanner-testing.js"></script> |
| 12 </head> |
| 13 <body> |
| 14 <script id="layout-test-code"> |
| 15 let audit = Audit.createTaskRunner(); |
3 | 16 |
4 <head> | 17 audit.define('mono-test', (task, should) => { |
5 <script src="../../resources/testharness.js"></script> | 18 StereoPannerTest |
6 <script src="../../resources/testharnessreport.js"></script> | 19 .create(should, {numberOfInputChannels: 1, prefix: 'Mono: '}) |
7 <script src="../resources/audit-util.js"></script> | 20 .run() |
8 <script src="../resources/audit.js"></script> | 21 .then(() => task.done()); |
9 <script src="../resources/stereopanner-testing.js"></script> | 22 }); |
10 </head> | |
11 | 23 |
12 <body> | 24 audit.define('stereo-test', (task, should) => { |
13 <script> | 25 StereoPannerTest |
| 26 .create(should, {numberOfInputChannels: 2, prefix: 'Stereo: '}) |
| 27 .run() |
| 28 .then(() => task.done()); |
| 29 }); |
14 | 30 |
15 var audit = Audit.createTaskRunner(); | 31 audit.run(); |
16 | 32 </script> |
17 audit.define('mono-test', (task, should) => { | 33 </body> |
18 StereoPannerTest.create(should, { | |
19 numberOfInputChannels: 1, | |
20 prefix: "Mono: " | |
21 }) | |
22 .run() | |
23 .then(() => task.done()); | |
24 }); | |
25 | |
26 audit.define('stereo-test', (task, should) => { | |
27 StereoPannerTest.create(should, { | |
28 numberOfInputChannels: 2, | |
29 prefix: "Stereo: " | |
30 }) | |
31 .run() | |
32 .then(() => task.done()); | |
33 }); | |
34 | |
35 audit.run(); | |
36 </script> | |
37 </body> | |
38 | |
39 </html> | 34 </html> |
OLD | NEW |