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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/gain-basic.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files Created 3 years, 12 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
(Empty)
1 <!DOCTYPE html>
2
3 <!--
4 Verifies GainNode attributes and their type.
5 -->
6
7 <html>
8 <head>
9 <script src="../resources/js-test.js"></script>
10 <script src="resources/compatibility.js"></script>
11 <script src="resources/audit-util.js"></script>
12 <script src="resources/audio-testing.js"></script>
13
14 </head>
15 <body>
16
17 <script>
18 description("Tests GainNode attributes in IDL.");
19
20 function runTest() {
21 if (window.testRunner) {
22 testRunner.dumpAsText();
23 }
24
25 // Create audio context.
26 var context = new AudioContext();
27
28 // Create gain node.
29 var gainNode = context.createGain();
30
31 if (gainNode.gain.toString().indexOf("AudioParam") > -1)
32 testPassed("gain is of AudioParam type.");
33 else
34 testFailed("gain is not of AudioParam type.");
35 }
36
37 runTest();
38 </script>
39
40 </body>
41 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/gain.html ('k') | third_party/WebKit/LayoutTests/webaudio/gain-basic-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698