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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/onstatechange.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files Created 4 years 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> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test statechange event</title> 4 <title>Test statechange event</title>
5 <script src="../resources/js-test.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <script src="resources/audit-util.js"/></script> 6 <script src="../resources/audit-util.js"/></script>
7 <script src="resources/audio-testing.js"/></script> 7 <script src="../resources/audio-testing.js"/></script>
8 <script src="resources/compatibility.js"></script> 8 <script src="../resources/compatibility.js"></script>
9 </head> 9 </head>
10 10
11 <body> 11 <body>
12 <script> 12 <script>
13 description("Test statechange event is properly signaled") 13 description("Test statechange event is properly signaled")
14 14
15 window.jsTestIsAsync = true; 15 window.jsTestIsAsync = true;
16 16
17 var secondsToRender = 2; 17 var secondsToRender = 2;
18 var sampleRate = 48000; 18 var sampleRate = 48000;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 // the order of the state change event and resolving the promise is not specified. Thus, 71 // the order of the state change event and resolving the promise is not specified. Thus,
72 // just wait for a bit and then finish the test. We assume the offline context runs faster 72 // just wait for a bit and then finish the test. We assume the offline context runs faster
73 // than realtime. 73 // than realtime.
74 setTimeout(finalCheck, secondsToRender * 1000); 74 setTimeout(finalCheck, secondsToRender * 1000);
75 } 75 }
76 76
77 runTest(); 77 runTest();
78 </script> 78 </script>
79 </body> 79 </body>
80 </html> 80 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698