| Index: third_party/WebKit/LayoutTests/webaudio/internals/audiosummingjunction-crash.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/internals/audiosummingjunction-crash.html b/third_party/WebKit/LayoutTests/webaudio/internals/audiosummingjunction-crash.html
|
| index 2d211d3215b95ea3be01d092a02b398d919dd784..cab47599986004d44877dce6bd059689b8721d76 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/internals/audiosummingjunction-crash.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/internals/audiosummingjunction-crash.html
|
| @@ -1,26 +1,35 @@
|
| -<body>
|
| -<script src="../../resources/testharness.js"></script>
|
| -<script src="../../resources/testharnessreport.js"></script>
|
| -<script src="../resources/audit.js"></script>
|
| -<script>
|
| -let audit = Audit.createTaskRunner();
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <title>
|
| + audiosummingjunction-crash.html
|
| + </title>
|
| + <script src="../../resources/testharness.js"></script>
|
| + <script src="../../resources/testharnessreport.js"></script>
|
| + <script src="../resources/audit.js"></script>
|
| + </head>
|
| + <body>
|
| + <script id="layout-test-code">
|
| + let audit = Audit.createTaskRunner();
|
|
|
| -audit.define(
|
| - {
|
| - label: 'test',
|
| - description:
|
| - 'Test connection from ChannelMerger to MediaStreamAudioDestination'
|
| - },
|
| - (task, should) => {
|
| - let context = new AudioContext();
|
| - let node = context.createChannelMerger(4);
|
| - node.connect(context.createMediaStreamDestination(), 0);
|
| - gc();
|
| - // Test passes if we get here because we didn't crash
|
| - should(true, 'Test survived GC').message('correctly', 'incorrectly');
|
| - task.done();
|
| - });
|
| + audit.define(
|
| + {
|
| + label: 'test',
|
| + description:
|
| + 'Test connection from ChannelMerger to MediaStreamAudioDestination'
|
| + },
|
| + (task, should) => {
|
| + let context = new AudioContext();
|
| + let node = context.createChannelMerger(4);
|
| + node.connect(context.createMediaStreamDestination(), 0);
|
| + gc();
|
| + // Test passes if we get here because we didn't crash
|
| + should(true, 'Test survived GC')
|
| + .message('correctly', 'incorrectly');
|
| + task.done();
|
| + });
|
|
|
| -audit.run();
|
| -</script>
|
| -</body>
|
| + audit.run();
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|