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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-suspend-resume-promise.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 <script src="../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script src="resources/compatibility.js"></script> 5 <script src="../resources/compatibility.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 </head> 8 </head>
9 9
10 <body> 10 <body>
11 <script> 11 <script>
12 description('Test promise resolution of OfflineAudioContext.resume() and O fflineAudioContext.suspend().'); 12 description('Test promise resolution of OfflineAudioContext.resume() and O fflineAudioContext.suspend().');
13 window.jsTestIsAsync = true; 13 window.jsTestIsAsync = true;
14 14
15 var context; 15 var context;
16 16
17 // The sample rate is multiple of the rendering quantum, so suspension 17 // The sample rate is multiple of the rendering quantum, so suspension
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 context.startRendering().then(function () { 61 context.startRendering().then(function () {
62 Should('Promise context.state', context.state).beEqualTo('closed'); 62 Should('Promise context.state', context.state).beEqualTo('closed');
63 }).then(finishJSTest); 63 }).then(finishJSTest);
64 64
65 successfullyParsed = true; 65 successfullyParsed = true;
66 </script> 66 </script>
67 67
68 </body> 68 </body>
69 </html> 69 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698