OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>Testing OfflineAudioContext properties</title> | 4 <title>Testing OfflineAudioContext properties</title> |
5 <script src="../resources/testharness.js"></script> | 5 <script src="../../resources/testharness.js"></script> |
6 <script src="../resources/testharnessreport.js"></script> | 6 <script src="../../resources/testharnessreport.js"></script> |
7 <script src="resources/audit-util.js"></script> | 7 <script src="../resources/audit-util.js"></script> |
8 <script src="resources/audio-testing.js"></script> | 8 <script src="../resources/audio-testing.js"></script> |
9 <script src="resources/context-properties.js"></script> | 9 <script src="../resources/context-properties.js"></script> |
10 </head> | 10 </head> |
11 <body> | 11 <body> |
12 <script> | 12 <script> |
13 var audit = Audit.createTaskRunner(); | 13 var audit = Audit.createTaskRunner(); |
14 | 14 |
15 | 15 |
16 // Cross-checking two sets of properties: a programmatically generated set | 16 // Cross-checking two sets of properties: a programmatically generated set |
17 // and a pre-populated set. | 17 // and a pre-populated set. |
18 audit.defineTask('crosschecking-properties', function (taskDone) { | 18 audit.defineTask('crosschecking-properties', function (taskDone) { |
19 verifyPrototypeOwnProperties(OfflineAudioContext.prototype, | 19 verifyPrototypeOwnProperties(OfflineAudioContext.prototype, |
20 OfflineAudioContextOwnProperties, | 20 OfflineAudioContextOwnProperties, |
21 Should); | 21 Should); |
22 taskDone(); | 22 taskDone(); |
23 }); | 23 }); |
24 | 24 |
25 | 25 |
26 audit.runTasks(); | 26 audit.runTasks(); |
27 </script> | 27 </script> |
28 </body> | 28 </body> |
29 </html> | 29 </html> |
OLD | NEW |