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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/audiosummingjunction-crash.html

Issue 2698843003: Convert more miscellaneous tests to testharness (Closed)
Patch Set: Address review comments. Created 3 years, 9 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/audiosummingjunction-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <body> 1 <body>
2 <script src="../resources/js-test.js"> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script src="resources/audit.js"></script>
3 <script> 5 <script>
4 description("This test passes if it doesn't crash."); 6 let audit = Audit.createTaskRunner();
5 var ac = new AudioContext(); 7
6 var node = ac.createChannelMerger(4); 8 audit.define(
7 node.connect(ac.createMediaStreamDestination(), 0); 9 {
8 gc(); 10 label: 'test',
11 description:
12 'Test connection from ChannelMerger to MediaStreamAudioDestination'
13 },
14 (task, should) => {
15 let context = new AudioContext();
16 let node = context.createChannelMerger(4);
17 node.connect(context.createMediaStreamDestination(), 0);
18 gc();
19 // Test passes if we get here because we didn't crash
20 should(true, 'Test survived GC').message('correctly', 'incorrectly');
21 task.done();
22 });
23
24 audit.run();
9 </script> 25 </script>
10 </body> 26 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/audiosummingjunction-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698