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

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

Issue 2815493002: Move layout tests that use 'js-test.js' to |internals| directory (Closed)
Patch Set: Path fixed Created 3 years, 8 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 <body>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <script src="resources/audit.js"></script>
5 <script>
6 let audit = Audit.createTaskRunner();
7
8 audit.define(
9 {
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();
25 </script>
26 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698