diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer.html.ini index 11144a484d2..c20621a71fd 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffer-interface/ctor-audiobuffer.html.ini @@ -1,5 +1,5 @@ [ctor-audiobuffer.html] - expected: ERROR + expected: CRASH [X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".] expected: FAIL diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-basic.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-basic.html.ini new file mode 100644 index 00000000000..c4a1a127826 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-basic.html.ini @@ -0,0 +1,11 @@ +[audiobuffersource-basic.html] + expected: ERROR + [X start(-1) did not throw an exception.] + expected: FAIL + + [X start(0,-1) threw "InvalidStateError" instead of function RangeError() {\n [native code\]\n}.] + expected: FAIL + + [X start(0,0,-1) threw "InvalidStateError" instead of function RangeError() {\n [native code\]\n}.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-channels.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-channels.html.ini new file mode 100644 index 00000000000..e50e54a484f --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-channels.html.ini @@ -0,0 +1,10 @@ +[audiobuffersource-channels.html] + [X source.buffer = buffer again did not throw an exception.] + expected: FAIL + + [< [validate .buffer\] 1 out of 16 assertions were failed.] + expected: FAIL + + [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-ended.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-ended.html.ini new file mode 100644 index 00000000000..6d26244d4cb --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-ended.html.ini @@ -0,0 +1,2 @@ +[audiobuffersource-ended.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-grain.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-grain.html.ini new file mode 100644 index 00000000000..e91945998e8 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-grain.html.ini @@ -0,0 +1,2 @@ +[audiobuffersource-grain.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-multi-channels.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-multi-channels.html.ini new file mode 100644 index 00000000000..d85973ca825 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-multi-channels.html.ini @@ -0,0 +1,2 @@ +[audiobuffersource-multi-channels.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-one-sample-loop.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-one-sample-loop.html.ini new file mode 100644 index 00000000000..e0cf64c8248 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-one-sample-loop.html.ini @@ -0,0 +1,2 @@ +[audiobuffersource-one-sample-loop.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-playbackrate-zero.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-playbackrate-zero.html.ini new file mode 100644 index 00000000000..0ba28a1e87a --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-playbackrate-zero.html.ini @@ -0,0 +1,2 @@ +[audiobuffersource-playbackrate-zero.html] + expected: CRASH diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-start.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-start.html.ini new file mode 100644 index 00000000000..b63ac8ba155 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiobuffersource-start.html.ini @@ -0,0 +1,2 @@ +[audiobuffersource-start.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiosource-onended.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiosource-onended.html.ini new file mode 100644 index 00000000000..57fb1bf99f3 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiosource-onended.html.ini @@ -0,0 +1,2 @@ +[audiosource-onended.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiosource-time-limits.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiosource-time-limits.html.ini new file mode 100644 index 00000000000..b1b1fdea573 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/audiosource-time-limits.html.ini @@ -0,0 +1,2 @@ +[audiosource-time-limits.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html.ini index cb9953a5945..ca302b9c130 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/ctor-audiobuffersource.html.ini @@ -1,5 +1,4 @@ [ctor-audiobuffersource.html] - expected: ERROR [X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".] expected: FAIL @@ -12,3 +11,12 @@ [X node0 instanceof AudioBufferSourceNode is not equal to true. Got false.] expected: FAIL + [X node2.buffer === buffer is not equal to true. Got false.] + expected: FAIL + + [< [constructor options\] 1 out of 7 assertions were failed.] + expected: FAIL + + [# AUDIT TASK RUNNER FINISHED: 1 out of 5 tasks were failed.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-play.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-play.html.ini new file mode 100644 index 00000000000..dcc2b107271 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-play.html.ini @@ -0,0 +1,2 @@ +[note-grain-on-play.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-timing.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-timing.html.ini new file mode 100644 index 00000000000..a6ee1a51c20 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/note-grain-on-timing.html.ini @@ -0,0 +1,2 @@ +[note-grain-on-timing.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sample-accurate-scheduling.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sample-accurate-scheduling.html.ini new file mode 100644 index 00000000000..3d60a2897b1 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiobuffersourcenode-interface/sample-accurate-scheduling.html.ini @@ -0,0 +1,2 @@ +[sample-accurate-scheduling.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-suspend-resume.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-suspend-resume.html.ini index d3a0f34dc1b..2027a838885 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-suspend-resume.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audiocontext-interface/audiocontext-suspend-resume.html.ini @@ -3,3 +3,9 @@ [X offlineContext = new OfflineAudioContext(1, 44100, 44100) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".] expected: FAIL + [X p1 = offlineContext.suspend() incorrectly threw TypeError: "offlineContext.suspend is not a function".] + expected: FAIL + + [X p1 instanceof Promise is not true. Got false.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-channel-rules.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-channel-rules.html.ini index 270831b7378..7cb30f75b56 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-channel-rules.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-channel-rules.html.ini @@ -1,2 +1,2 @@ [audionode-channel-rules.html] - expected: ERROR + expected: CRASH diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-connect-return-value.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-connect-return-value.html.ini deleted file mode 100644 index e4a66b55635..00000000000 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode-connect-return-value.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[audionode-connect-return-value.html] - [connect should return the node connected to.] - expected: FAIL - diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode.html.ini index 4e50308c069..0879ed55b0e 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/audionode.html.ini @@ -11,3 +11,6 @@ [# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.] expected: FAIL + [< [test\] 1 out of 12 assertions were failed.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/channel-mode-interp-basic.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/channel-mode-interp-basic.html.ini index 783f3ff032d..ba388d1c837 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/channel-mode-interp-basic.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audionode-interface/channel-mode-interp-basic.html.ini @@ -1,2 +1,2 @@ [channel-mode-interp-basic.html] - expected: ERROR + expected: CRASH diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-connect-audioratesignal.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-connect-audioratesignal.html.ini index a095f42f1d4..a1e209bdabf 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-connect-audioratesignal.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-connect-audioratesignal.html.ini @@ -1,2 +1,2 @@ [audioparam-connect-audioratesignal.html] - expected: ERROR + expected: CRASH diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-exceptional-values.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-exceptional-values.html.ini index 248fea6a1ac..8bc69f7212e 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-exceptional-values.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-exceptional-values.html.ini @@ -1,8 +1,49 @@ [audioparam-exceptional-values.html] - expected: ERROR [X Creating context for testing incorrectly threw ReferenceError: "OfflineAudioContext is not defined".] expected: FAIL [< [initialize\] 1 out of 1 assertions were failed.] expected: FAIL + [X gain.gain.setValueAtTime(1,-1) did not throw an exception.] + expected: FAIL + + [X gain.gain.linearRampToValueAtTime(1,-1) did not throw an exception.] + expected: FAIL + + [X gain.gain.exponentialRampToValueAtTime(1,-1) did not throw an exception.] + expected: FAIL + + [X gain.gain.setTargetAtTime(1,-1,1) did not throw an exception.] + expected: FAIL + + [X gain.gain.setTargetAtTime(1,1,-1) did not throw an exception.] + expected: FAIL + + [X gain.gain.setValueCurveAtTime([[object Float32Array\]\],-1,1) threw "TypeError" instead of function RangeError() {\n [native code\]\n}.] + expected: FAIL + + [X gain.gain.setValueCurveAtTime([[object Float32Array\]\],1,-1) threw "TypeError" instead of function RangeError() {\n [native code\]\n}.] + expected: FAIL + + [X gain.gain.setValueCurveAtTime(curve, 1, 0) threw "TypeError" instead of function RangeError() {\n [native code\]\n}.] + expected: FAIL + + [< [special cases 1\] 8 out of 8 assertions were failed.] + expected: FAIL + + [X gain.gain.exponentialRampToValueAtTime(0,1) did not throw an exception.] + expected: FAIL + + [X gain.gain.exponentialRampToValueAtTime(-1e-100,1) did not throw an exception.] + expected: FAIL + + [X gain.gain.exponentialRampToValueAtTime(1e-100,1) did not throw an exception.] + expected: FAIL + + [< [special cases 2\] 3 out of 3 assertions were failed.] + expected: FAIL + + [# AUDIT TASK RUNNER FINISHED: 2 out of 6 tasks were failed.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-setValueCurve-exceptions.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-setValueCurve-exceptions.html.ini index 56df600f048..cbb02b814c0 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-setValueCurve-exceptions.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-setValueCurve-exceptions.html.ini @@ -1,2 +1,35 @@ [audioparam-setValueCurve-exceptions.html] expected: ERROR + [X setValueCurveAtTime(curve, 0.0125, 0.0125) incorrectly threw TypeError: "g.gain.setValueCurveAtTime is not a function".] + expected: FAIL + + [X setValueAtTime(1, 0.018750000000000003) did not throw an exception.] + expected: FAIL + + [X linearRampToValueAtTime(1, 0.018750000000000003) did not throw an exception.] + expected: FAIL + + [X exponentialRampToValueAtTime(1, 0.018750000000000003) did not throw an exception.] + expected: FAIL + + [X setTargetAtTime(1, 0.018750000000000003, 1) did not throw an exception.] + expected: FAIL + + [< [setValueCurve\] 5 out of 6 assertions were failed.] + expected: FAIL + + [X setValueCurveAtTime(curve, 0.05, 0.1) incorrectly threw TypeError: "g.gain.setValueCurveAtTime is not a function".] + expected: FAIL + + [X setValueCurveAtTime(curve, 0.00625, 0.01) threw "TypeError" instead of NotSupportedError.] + expected: FAIL + + [X setValueCurveAtTime(curve, 0.018750000000000003, 0.01) threw "TypeError" instead of NotSupportedError.] + expected: FAIL + + [X setValueCurveAtTime(curve, 0.03125, 0.01) threw "TypeError" instead of NotSupportedError.] + expected: FAIL + + [X setValueCurveAtTime(curve, 0.043750000000000004, 0.01) threw "TypeError" instead of NotSupportedError.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-summingjunction.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-summingjunction.html.ini index 4969e59bbd1..ed0b9766226 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-summingjunction.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/audioparam-summingjunction.html.ini @@ -1,2 +1,2 @@ [audioparam-summingjunction.html] - expected: ERROR + expected: CRASH diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/automation-rate.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/automation-rate.html.ini index 7394d9167aa..fb10576f028 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/automation-rate.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/automation-rate.html.ini @@ -1,2 +1,11 @@ [automation-rate.html] expected: ERROR + [X Set AudioBufferSourceNode.detune.automationRate to "a-rate" did not throw an exception.] + expected: FAIL + + [X Set AudioBufferSourceNode.playbackRate.automationRate to "a-rate" did not throw an exception.] + expected: FAIL + + [< [AudioBufferSourceNode\] 2 out of 4 assertions were failed.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/setTargetAtTime-after-event-within-block.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/setTargetAtTime-after-event-within-block.html.ini index b85f8845f18..62baf631517 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/setTargetAtTime-after-event-within-block.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/setTargetAtTime-after-event-within-block.html.ini @@ -1,4 +1,5 @@ [setTargetAtTime-after-event-within-block.html] + expected: ERROR [Test setTargetAtTime after an event in the same processing block] expected: FAIL diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/setValueAtTime-within-block.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/setValueAtTime-within-block.html.ini index 03c2e023d4d..46d91bcf8d2 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/setValueAtTime-within-block.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioparam-interface/setValueAtTime-within-block.html.ini @@ -1,4 +1,5 @@ [setValueAtTime-within-block.html] + expected: ERROR [Test setValueAtTime with start time not on a block boundary] expected: FAIL diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-size.https.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-size.https.html.ini new file mode 100644 index 00000000000..96c7333c9aa --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioworklet-interface/audioworklet-audioparam-size.https.html.ini @@ -0,0 +1,2 @@ +[audioworklet-audioparam-size.https.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https.html.ini index 3e3b5437281..c65b4e97e43 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-audioworklet-interface/baseaudiocontext-audioworklet.https.html.ini @@ -1,4 +1,5 @@ [baseaudiocontext-audioworklet.https.html] + expected: ERROR [\n Checking BaseAudioContext.audioWorklet\n ] expected: FAIL diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-basic.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-basic.html.ini index 5db6179d6b6..05e059ad3c0 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-basic.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-biquadfilternode-interface/biquad-basic.html.ini @@ -6,3 +6,9 @@ [< [initialize\] 1 out of 1 assertions were failed.] expected: FAIL + [X context.createBiquadFilter does not exist. Got undefined.] + expected: FAIL + + [< [existence\] 1 out of 1 assertions were failed.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-basic.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-basic.html.ini index 4d75c400e84..ac202e63983 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-basic.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-channelmergernode-interface/audiochannelmerger-basic.html.ini @@ -1,2 +1,17 @@ [audiochannelmerger-basic.html] expected: ERROR + [X context.createChannelMerger() incorrectly threw TypeError: "context.createChannelMerger is not a function".] + expected: FAIL + + [X context.createChannelMerger(0) threw "TypeError" instead of IndexSizeError.] + expected: FAIL + + [X context.createChannelMerger(32) incorrectly threw TypeError: "context.createChannelMerger is not a function".] + expected: FAIL + + [X context.createChannelMerger(33) threw "TypeError" instead of IndexSizeError.] + expected: FAIL + + [< [exceptions-channels\] 4 out of 4 assertions were failed.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-channelsplitternode-interface/audiochannelsplitter.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-channelsplitternode-interface/audiochannelsplitter.html.ini index 4e6601565ed..48bc3434924 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-channelsplitternode-interface/audiochannelsplitter.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-channelsplitternode-interface/audiochannelsplitter.html.ini @@ -1,2 +1,11 @@ [audiochannelsplitter.html] expected: ERROR + [X createChannelSplitter(0) threw "TypeError" instead of IndexSizeError.] + expected: FAIL + + [X createChannelSplitter(33) threw "TypeError" instead of IndexSizeError.] + expected: FAIL + + [X splitternode = context.createChannelSplitter(32) incorrectly threw TypeError: "context.createChannelSplitter is not a function".] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-convolvernode-interface/convolver-setBuffer-already-has-value.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-convolvernode-interface/convolver-setBuffer-already-has-value.html.ini new file mode 100644 index 00000000000..231d4038bd0 --- /dev/null +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-convolvernode-interface/convolver-setBuffer-already-has-value.html.ini @@ -0,0 +1,2 @@ +[convolver-setBuffer-already-has-value.html] + expected: ERROR diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit.html.ini index b67478861c9..031e60e922d 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-delaynode-interface/delaynode-maxdelaylimit.html.ini @@ -1,2 +1,11 @@ [delaynode-maxdelaylimit.html] expected: ERROR + [X () => context.createDelay(180) threw "TypeError" instead of Delay length cannot be 180 seconds or more.] + expected: FAIL + + [X () => context.createDelay(0) threw "TypeError" instead of Delay length cannot be 0.] + expected: FAIL + + [X () => context.createDelay(-1) threw "TypeError" instead of Delay length cannot be negative.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html.ini index f3299d77c26..f607ab5b6f6 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-gainnode-interface/ctor-gain.html.ini @@ -1,5 +1,4 @@ [ctor-gain.html] - expected: ERROR [X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".] expected: FAIL @@ -12,3 +11,33 @@ [X node0 instanceof GainNode is not equal to true. Got false.] expected: FAIL + [X node.channelCount is not equal to 17. Got 2.] + expected: FAIL + + [X new GainNode(c, {channelCount: 0}) did not throw an exception.] + expected: FAIL + + [X new GainNode(c, {channelCount: 99}) did not throw an exception.] + expected: FAIL + + [X node.channelCountMode after valid setter is not equal to clamped-max. Got max.] + expected: FAIL + + [X node.channelCountMode after valid setter is not equal to explicit. Got max.] + expected: FAIL + + [X node.channelCountMode after invalid setter is not equal to explicit. Got max.] + expected: FAIL + + [X node.channelInterpretation is not equal to discrete. Got speakers.] + expected: FAIL + + [X node.channelInterpretation after invalid setter is not equal to discrete. Got speakers.] + expected: FAIL + + [< [test AudioNodeOptions\] 8 out of 20 assertions were failed.] + expected: FAIL + + [# AUDIT TASK RUNNER FINISHED: 1 out of 5 tasks were failed.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-gainnode-interface/test-gainnode.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-gainnode-interface/test-gainnode.html.ini index 0d2ee9a750f..a5e4a81c792 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-gainnode-interface/test-gainnode.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-gainnode-interface/test-gainnode.html.ini @@ -1,5 +1,5 @@ [test-gainnode.html] - expected: ERROR + expected: CRASH [GainNode] expected: NOTRUN diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-basic.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-basic.html.ini index 155aaf9a9ef..9714afed1a4 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-basic.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter-basic.html.ini @@ -6,3 +6,9 @@ [< [initialize\] 1 out of 1 assertions were failed.] expected: FAIL + [X context.createIIRFilter does not exist. Got undefined.] + expected: FAIL + + [< [existence\] 1 out of 1 assertions were failed.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter.html.ini index f98237d5ae5..4aac1bfcd15 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-iirfilternode-interface/iirfilter.html.ini @@ -1,2 +1,8 @@ [iirfilter.html] expected: ERROR + [X createIIRFilter with normalized coefficients incorrectly threw TypeError: "context.createIIRFilter is not a function".] + expected: FAIL + + [X createIIRFilter with unnormalized coefficients incorrectly threw TypeError: "context.createIIRFilter is not a function".] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html.ini index 71a9223566f..39e0f41ad9c 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-offlineaudiocontext-interface/ctor-offlineaudiocontext.html.ini @@ -1,5 +1,4 @@ [ctor-offlineaudiocontext.html] - expected: ERROR [X new OfflineAudioContext(3) threw "ReferenceError" instead of TypeError.] expected: FAIL @@ -9,3 +8,33 @@ [X context = new OfflineAudioContext(3, 42, 12345) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".] expected: FAIL + [X new OfflineAudioContext() did not throw an exception.] + expected: FAIL + + [X new OfflineAudioContext({}) did not throw an exception.] + expected: FAIL + + [X new OfflineAudioContext({"length":42}) did not throw an exception.] + expected: FAIL + + [X new OfflineAudioContext({"sampleRate":12345}) did not throw an exception.] + expected: FAIL + + [< [options-1\] 4 out of 10 assertions were failed.] + expected: FAIL + + [X new OfflineAudioContext({"length":42,"sampleRate":8000,"numberOfChannels":33}) did not throw an exception.] + expected: FAIL + + [X new OfflineAudioContext({"length":0,"sampleRate":8000}) did not throw an exception.] + expected: FAIL + + [X new OfflineAudioContext({"length":1,"sampleRate":1}) did not throw an exception.] + expected: FAIL + + [< [options-2\] 3 out of 3 assertions were failed.] + expected: FAIL + + [# AUDIT TASK RUNNER FINISHED: 2 out of 4 tasks were failed.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-offlineaudiocontext-interface/current-time-block-size.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-offlineaudiocontext-interface/current-time-block-size.html.ini index 9112d9bdd39..e2a57f9d12b 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-offlineaudiocontext-interface/current-time-block-size.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-offlineaudiocontext-interface/current-time-block-size.html.ini @@ -1,4 +1,5 @@ [current-time-block-size.html] + expected: TIMEOUT [Test currentTime at completion of OfflineAudioContext rendering] - expected: FAIL + expected: TIMEOUT diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html.ini index d9b88d010ea..a7cc51f5b36 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-oscillatornode-interface/ctor-oscillator.html.ini @@ -12,3 +12,39 @@ [X node0 instanceof OscillatorNode is not equal to true. Got false.] expected: FAIL + [X node0.type is not equal to sine. Got undefined.] + expected: FAIL + + [< [default constructor\] 1 out of 9 assertions were failed.] + expected: FAIL + + [X node.channelCount is not equal to 17. Got 2.] + expected: FAIL + + [X new OscillatorNode(c, {channelCount: 0}) did not throw an exception.] + expected: FAIL + + [X new OscillatorNode(c, {channelCount: 99}) did not throw an exception.] + expected: FAIL + + [X node.channelCountMode after valid setter is not equal to clamped-max. Got max.] + expected: FAIL + + [X node.channelCountMode after valid setter is not equal to explicit. Got max.] + expected: FAIL + + [X node.channelCountMode after invalid setter is not equal to explicit. Got max.] + expected: FAIL + + [X node.channelInterpretation is not equal to discrete. Got speakers.] + expected: FAIL + + [X node.channelInterpretation after invalid setter is not equal to discrete. Got speakers.] + expected: FAIL + + [< [test AudioNodeOptions\] 8 out of 20 assertions were failed.] + expected: FAIL + + [X node1.type is not equal to sawtooth. Got undefined.] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html.ini index 590a0e116bd..4ba526061c3 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-pannernode-interface/panner-distance-clamping.html.ini @@ -1,2 +1,11 @@ [panner-distance-clamping.html] expected: ERROR + [X new PannerNode(c, {refDistance: -1}) threw "ReferenceError" instead of RangeError.] + expected: FAIL + + [X new PannerNode(c, {refDistance: 0}) incorrectly threw ReferenceError: "PannerNode is not defined".] + expected: FAIL + + [X new PannerNode(c, {refDistance: 5e-324}) incorrectly threw ReferenceError: "PannerNode is not defined".] + expected: FAIL +