Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
Raymond Toy
2017/02/14 20:14:17
Should I fix these?
hongchan
2017/02/17 18:31:04
Since this is manual change I would say yes. :)
<
Raymond Toy
2017/02/17 19:10:11
Done.
| |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../resources/js-test.js"></script> | 4 <script src="../../resources/testharness.js"></script> |
| 5 <script src="../../resources/testharnessreport.js"></script> | |
| 5 <script src="../resources/audit-util.js"></script> | 6 <script src="../resources/audit-util.js"></script> |
| 6 <script src="../resources/audio-testing.js"></script> | 7 <script src="../resources/audit.js"></script> |
| 7 <script src="../resources/distance-model-testing.js"></script> | 8 <script src="../resources/distance-model-testing.js"></script> |
| 8 </head> | 9 </head> |
| 9 | 10 |
| 10 <body> | 11 <body> |
| 11 <div id="description"></div> | 12 <script> |
| 12 <div id="console"></div> | 13 let audit = Audit.createTaskRunner(); |
| 13 | 14 |
| 14 <script> | 15 audit.define("test", function (task, should) { |
| 15 description("Test exponential distance model of AudioPannerNode."); | 16 task.describe("Exponential distance model for PannerNode"); |
| 16 | |
| 17 function runTest() { | |
| 18 if (window.testRunner) { | |
| 19 testRunner.dumpAsText(); | |
| 20 testRunner.waitUntilDone(); | |
| 21 } | |
| 22 | |
| 23 window.jsTestIsAsync = true; | |
| 24 | |
| 25 // Create offline audio context. | 17 // Create offline audio context. |
| 26 context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate); | 18 context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate); |
| 27 | 19 |
| 28 createTestAndRun(context, "exponential"); | 20 createTestAndRun(context, "exponential", should) |
| 29 } | 21 .then(task.done.bind(task)); |
| 22 }); | |
| 30 | 23 |
| 31 runTest(); | 24 audit.run(); |
| 32 successfullyParsed = true; | |
| 33 | |
| 34 </script> | 25 </script> |
| 35 | 26 |
| 36 </body> | 27 </body> |
| 37 </html> | 28 </html> |
| OLD | NEW |