Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1152)

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/panner-equalpower.html

Issue 1820403002: Implement Automations for PannerNode and AutioListener (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update test because CL for min/maxValue AudioParam landed Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/compatibility.js"></script> 4 <script src="resources/compatibility.js"></script>
5 <script src="resources/audio-testing.js"></script> 5 <script src="resources/audio-testing.js"></script>
6 <script src="../resources/js-test.js"></script> 6 <script src="../resources/js-test.js"></script>
7 <script src="resources/panner-model-testing.js"></script> 7 <script src="resources/panner-model-testing.js"></script>
8 </head> 8 </head>
9 9
10 <body> 10 <body>
(...skipping 13 matching lines...) Expand all
24 if (window.testRunner) { 24 if (window.testRunner) {
25 testRunner.dumpAsText(); 25 testRunner.dumpAsText();
26 testRunner.waitUntilDone(); 26 testRunner.waitUntilDone();
27 } 27 }
28 28
29 window.jsTestIsAsync = true; 29 window.jsTestIsAsync = true;
30 30
31 // Create offline audio context. 31 // Create offline audio context.
32 context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate); 32 context = new OfflineAudioContext(2, sampleRate * renderLengthSeconds, sampleRate);
33 33
34 createTestAndRun(context, nodesToCreate, 1); 34 createTestAndRun(context, nodesToCreate, 1, function (panner, x, y, z) {
35 panner.setPosition(x, y, z);
36 });
35 } 37 }
36 38
37 runTest(); 39 runTest();
38 successfullyParsed = true; 40 successfullyParsed = true;
39 41
40 </script> 42 </script>
41 43
42 </body> 44 </body>
43 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698