Commit 1f976f74 authored by Raymond Toy's avatar Raymond Toy Committed by Commit Bot

Move AudioNode tests to WPT

Move the AudioNode tests to WPT.

Can't move tail-processing.html because it's specific to Chrome's tail
processing.

Firefox passes all tests except:

* audionode.html (because new AudioContext(1,44100,44100) succeeds but
  shouldn't
* tests that use oac.suspend
* audionode-connect-method-chaining.html with an IndexSizeError
  connecting

Bug: 745778
Change-Id: I0e21e2117a75246367ea2642759ed917ee3e028f
Reviewed-on: https://chromium-review.googlesource.com/994136Reviewed-by: default avatarHongchan Choi <hongchan@chromium.org>
Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#548843}
parent 850cd207
...@@ -318,6 +318,7 @@ external/wpt/web-animations/timing-model/animation-effects/active-time.html ...@@ -318,6 +318,7 @@ external/wpt/web-animations/timing-model/animation-effects/active-time.html
external/wpt/web-animations/timing-model/animations/finishing-an-animation.html external/wpt/web-animations/timing-model/animations/finishing-an-animation.html
external/wpt/web-animations/timing-model/animations/set-the-animation-start-time.html external/wpt/web-animations/timing-model/animations/set-the-animation-start-time.html
external/wpt/web-animations/timing-model/time-transformations/transformed-progress.html external/wpt/web-animations/timing-model/time-transformations/transformed-progress.html
external/wpt/webaudio/the-audio-api/the-audionode-interface/channel-mode-interp-basic.html
external/wpt/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https.html external/wpt/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https.html
external/wpt/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-onended.html external/wpt/webaudio/the-audio-api/the-constantsourcenode-interface/constant-source-onended.html
external/wpt/webaudio/the-audio-api/the-channelsplitternode-interface/audiochannelsplitter.html external/wpt/webaudio/the-audio-api/the-channelsplitternode-interface/audiochannelsplitter.html
...@@ -998,7 +999,6 @@ wake_lock/wakelock-api.html ...@@ -998,7 +999,6 @@ wake_lock/wakelock-api.html
wake_lock/wakelock-in-nested-frame.html wake_lock/wakelock-in-nested-frame.html
webaudio/AudioBufferSource/audiobuffersource-ended.html webaudio/AudioBufferSource/audiobuffersource-ended.html
webaudio/AudioBufferSource/audiobuffersource-playbackrate-zero.html webaudio/AudioBufferSource/audiobuffersource-playbackrate-zero.html
webaudio/AudioNode/channel-mode-interp-basic.html
webaudio/AudioParam/audioparam-setValueCurve-duration.html webaudio/AudioParam/audioparam-setValueCurve-duration.html
webaudio/codec-tests/flac/flac-decode.html webaudio/codec-tests/flac/flac-decode.html
webaudio/codec-tests/vorbis/vbr-128kbps-44khz.html webaudio/codec-tests/vorbis/vbr-128kbps-44khz.html
......
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
<title> <title>
audionode-channel-rules.html audionode-channel-rules.html
</title> </title>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script> <script src="/webaudio/resources/audit-util.js"></script>
<script src="../resources/audit.js"></script> <script src="/webaudio/resources/audit.js"></script>
<script src="../resources/mixing-rules.js"></script> <script src="/webaudio/resources/mixing-rules.js"></script>
</head> </head>
<body> <body>
<script id="layout-test-code"> <script id="layout-test-code">
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<title> <title>
audionode-connect-method-chaining.html audionode-connect-method-chaining.html
</title> </title>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script> <script src="/webaudio/resources/audit-util.js"></script>
<script src="../resources/audit.js"></script> <script src="/webaudio/resources/audit.js"></script>
</head> </head>
<body> <body>
<script id="layout-test-code"> <script id="layout-test-code">
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<title> <title>
audionode-connect-order.html audionode-connect-order.html
</title> </title>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script> <script src="/webaudio/resources/audit-util.js"></script>
<script src="../resources/audit.js"></script> <script src="/webaudio/resources/audit.js"></script>
</head> </head>
<body> <body>
<script id="layout-test-code"> <script id="layout-test-code">
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<title> <title>
audionode-disconnect-audioparam.html audionode-disconnect-audioparam.html
</title> </title>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script> <script src="/webaudio/resources/audit-util.js"></script>
<script src="../resources/audit.js"></script> <script src="/webaudio/resources/audit.js"></script>
</head> </head>
<body> <body>
<script id="layout-test-code"> <script id="layout-test-code">
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<title> <title>
audionode-disconnect.html audionode-disconnect.html
</title> </title>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script> <script src="/webaudio/resources/audit-util.js"></script>
<script src="../resources/audit.js"></script> <script src="/webaudio/resources/audit.js"></script>
</head> </head>
<body> <body>
<script id="layout-test-code"> <script id="layout-test-code">
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<title> <title>
audionode.html audionode.html
</title> </title>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script> <script src="/webaudio/resources/audit-util.js"></script>
<script src="../resources/audit.js"></script> <script src="/webaudio/resources/audit.js"></script>
</head> </head>
<body> <body>
<div id="description"></div> <div id="description"></div>
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<title> <title>
Test Setting of channelCountMode and channelInterpretation Test Setting of channelCountMode and channelInterpretation
</title> </title>
<script src="../../resources/testharness.js"></script> <script src="/resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script> <script src="/resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script> <script src="/webaudio/resources/audit-util.js"></script>
<script src="../resources/audit.js"></script> <script src="/webaudio/resources/audit.js"></script>
</head> </head>
<body> <body>
<script id="layout-test-code"> <script id="layout-test-code">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment