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