Skip to content

Commit

Permalink
Update WPTs expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
ferjm committed Jul 30, 2018
1 parent f8d61a3 commit a123747
Show file tree
Hide file tree
Showing 42 changed files with 316 additions and 15 deletions.
@@ -1,5 +1,5 @@
[ctor-audiobuffer.html]
expected: ERROR
expected: CRASH
[X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL

Expand Down
@@ -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

@@ -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

@@ -0,0 +1,2 @@
[audiobuffersource-ended.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audiobuffersource-grain.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audiobuffersource-multi-channels.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audiobuffersource-one-sample-loop.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audiobuffersource-playbackrate-zero.html]
expected: CRASH
@@ -0,0 +1,2 @@
[audiobuffersource-start.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audiosource-onended.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audiosource-time-limits.html]
expected: ERROR
@@ -1,5 +1,4 @@
[ctor-audiobuffersource.html]
expected: ERROR
[X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL

Expand All @@ -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

@@ -0,0 +1,2 @@
[note-grain-on-play.html]
expected: ERROR
@@ -0,0 +1,2 @@
[note-grain-on-timing.html]
expected: ERROR
@@ -0,0 +1,2 @@
[sample-accurate-scheduling.html]
expected: ERROR
Expand Up @@ -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

@@ -1,2 +1,2 @@
[audionode-channel-rules.html]
expected: ERROR
expected: CRASH

This file was deleted.

Expand Up @@ -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

@@ -1,2 +1,2 @@
[channel-mode-interp-basic.html]
expected: ERROR
expected: CRASH
@@ -1,2 +1,2 @@
[audioparam-connect-audioratesignal.html]
expected: ERROR
expected: CRASH
@@ -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

@@ -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

@@ -1,2 +1,2 @@
[audioparam-summingjunction.html]
expected: ERROR
expected: CRASH
@@ -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

@@ -1,4 +1,5 @@
[setTargetAtTime-after-event-within-block.html]
expected: ERROR
[Test setTargetAtTime after an event in the same processing block]
expected: FAIL

@@ -1,4 +1,5 @@
[setValueAtTime-within-block.html]
expected: ERROR
[Test setValueAtTime with start time not on a block boundary]
expected: FAIL

@@ -0,0 +1,2 @@
[audioworklet-audioparam-size.https.html]
expected: ERROR
@@ -1,4 +1,5 @@
[baseaudiocontext-audioworklet.https.html]
expected: ERROR
[\n Checking BaseAudioContext.audioWorklet\n ]
expected: FAIL

Expand Up @@ -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

@@ -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

@@ -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

@@ -0,0 +1,2 @@
[convolver-setBuffer-already-has-value.html]
expected: ERROR
@@ -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

@@ -1,5 +1,4 @@
[ctor-gain.html]
expected: ERROR
[X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL

Expand All @@ -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

@@ -1,5 +1,5 @@
[test-gainnode.html]
expected: ERROR
expected: CRASH
[GainNode]
expected: NOTRUN

Expand Up @@ -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

@@ -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

0 comments on commit a123747

Please sign in to comment.