Skip to content

Commit

Permalink
Enable WPTs
Browse files Browse the repository at this point in the history
  • Loading branch information
ferjm committed Jul 30, 2018
1 parent ff1d5a5 commit 9dda87a
Show file tree
Hide file tree
Showing 147 changed files with 585 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/wpt/include.ini
Expand Up @@ -107,6 +107,8 @@ skip: true
skip: false
[url]
skip: false
[webaudio]
skip: false
[WebCryptoAPI]
skip: false
[webgl]
Expand Down
4 changes: 4 additions & 0 deletions tests/wpt/metadata/webaudio/idlharness.https.html.ini
@@ -0,0 +1,4 @@
[idlharness.https.html]
[WebAudio IDL tests]
expected: FAIL

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

[< [initialize\] 1 out of 1 assertions were failed.]
expected: FAIL

[X node0 = new AnalyserNode(context) incorrectly threw TypeError: "window[name\] is not a constructor".]
expected: FAIL

@@ -0,0 +1,2 @@
[realtimeanalyser-basic.html]
expected: ERROR
@@ -0,0 +1,2 @@
[realtimeanalyser-fft-scaling.html]
expected: ERROR
@@ -0,0 +1,2 @@
[realtimeanalyser-fft-sizing.html]
expected: ERROR
@@ -0,0 +1,4 @@
[test-analyser-gain.html]
[Test effect of AnalyserNode on GainNode output]
expected: FAIL

@@ -0,0 +1,4 @@
[test-analyser-minimum.html]
[Test AnalyserNode when the input is silent]
expected: FAIL

@@ -0,0 +1,4 @@
[test-analyser-output.html]
[AnalyserNode output]
expected: FAIL

@@ -0,0 +1,4 @@
[test-analyser-scale.html]
[Test AnalyserNode when the input is scaled]
expected: FAIL

@@ -0,0 +1,7 @@
[test-analysernode.html]
[Test AnalyserNode API]
expected: FAIL

[Test AnalyserNode's ctor API]
expected: FAIL
@@ -0,0 +1,2 @@
[audiobuffer-copy-channel.html]
expected: CRASH
@@ -0,0 +1,8 @@
[ctor-audiobuffer.html]
expected: ERROR
[X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL

[< [initialize\] 1 out of 1 assertions were failed.]
expected: FAIL

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

[< [initialize\] 1 out of 1 assertions were failed.]
expected: FAIL

[X node0 = new AudioBufferSourceNode(context) incorrectly threw TypeError: "Value is not an object.".]
expected: FAIL

[X node0 instanceof AudioBufferSourceNode is not equal to true. Got false.]
expected: FAIL

@@ -0,0 +1,5 @@
[audiocontext-suspend-resume.html]
expected: ERROR
[X offlineContext = new OfflineAudioContext(1, 44100, 44100) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL

@@ -0,0 +1,2 @@
[audiocontextoptions.html]
expected: CRASH
@@ -0,0 +1,2 @@
[audionode-channel-rules.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audionode-connect-method-chaining.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audionode-connect-order.html]
expected: ERROR
@@ -0,0 +1,4 @@
[audionode-connect-return-value.html]
[connect should return the node connected to.]
expected: FAIL

@@ -0,0 +1,2 @@
[audionode-disconnect-audioparam.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audionode-disconnect.html]
expected: ERROR
@@ -0,0 +1,13 @@
[audionode.html]
[X AudioContext.destination.numberOfOutputs is not equal to 0. Got 1.]
expected: FAIL

[X Connecting a node to a different context did not throw an exception.]
expected: FAIL

[< [test\] 2 out of 12 assertions were failed.]
expected: FAIL

[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.]
expected: FAIL

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

@@ -0,0 +1,2 @@
[audioparam-exponentialRampToValueAtTime.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audioparam-large-endtime.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audioparam-linearRampToValueAtTime.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audioparam-method-chaining.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audioparam-setTargetAtTime.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audioparam-setValueAtTime.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audioparam-setValueCurve-exceptions.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audioparam-setValueCurveAtTime.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audioparam-summingjunction.html]
expected: ERROR
@@ -0,0 +1,2 @@
[automation-rate.html]
expected: ERROR
@@ -0,0 +1,2 @@
[event-insertion.html]
expected: ERROR
@@ -0,0 +1,2 @@
[k-rate-audioworklet.https.html]
expected: ERROR
@@ -0,0 +1,2 @@
[k-rate-biquad.html]
expected: ERROR
@@ -0,0 +1,2 @@
[k-rate-constant-source.html]
expected: ERROR
@@ -0,0 +1,2 @@
[k-rate-delay.html]
expected: ERROR
@@ -0,0 +1,2 @@
[k-rate-gain.html]
expected: ERROR
@@ -0,0 +1,2 @@
[k-rate-oscillator.html]
expected: ERROR
@@ -0,0 +1,2 @@
[k-rate-panner.html]
expected: ERROR
@@ -0,0 +1,2 @@
[k-rate-stereo-panner.html]
expected: ERROR
@@ -0,0 +1,2 @@
[retrospective-exponentialRampToValueAtTime.html]
expected: ERROR
@@ -0,0 +1,2 @@
[retrospective-linearRampToValueAtTime.html]
expected: ERROR
@@ -0,0 +1,2 @@
[retrospective-setTargetAtTime.html]
expected: ERROR
@@ -0,0 +1,2 @@
[retrospective-setValueAtTime.html]
expected: ERROR
@@ -0,0 +1,2 @@
[retrospective-setValueCurveAtTime.html]
expected: ERROR
@@ -0,0 +1,4 @@
[setTargetAtTime-after-event-within-block.html]
[Test setTargetAtTime after an event in the same processing block]
expected: FAIL

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

@@ -0,0 +1,4 @@
[audioworklet-addmodule-resolution.https.html]
[\n Test the invocation order of AudioWorklet.addModule() and BaseAudioContext\n ]
expected: FAIL

@@ -0,0 +1,2 @@
[audioworklet-audioparam.https.html]
expected: ERROR
@@ -0,0 +1,4 @@
[audioworklet-messageport.https.html]
[\n Test MessagePort in AudioWorkletNode and AudioWorkletProcessor\n ]
expected: FAIL

@@ -0,0 +1,4 @@
[audioworkletglobalscope-sample-rate.https.html]
[\n Test sampleRate in AudioWorkletGlobalScope\n ]
expected: FAIL

@@ -0,0 +1,4 @@
[audioworkletglobalscope-timing-info.https.html]
[\n Test currentTime and currentFrame in AudioWorkletGlobalScope\n ]
expected: FAIL

@@ -0,0 +1,2 @@
[audioworkletnode-automatic-pull.https.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audioworkletnode-channel-count.https.html]
expected: ERROR
@@ -0,0 +1,8 @@
[audioworkletnode-construction.https.html]
expected: ERROR
[X Creating a node before loading a module should throw. threw "ReferenceError" instead of InvalidStateError.]
expected: FAIL

[< [construction-before-module-loading\] 1 out of 1 assertions were failed.]
expected: FAIL

@@ -0,0 +1,2 @@
[audioworkletnode-constructor-options.https.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audioworkletnode-disconnected-input.https.html]
expected: ERROR
@@ -0,0 +1,4 @@
[audioworkletnode-onerror.https.html]
[\n Test onprocessorerror handler in AudioWorkletNode\n ]
expected: FAIL

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

@@ -0,0 +1,2 @@
[biquad-allpass.html]
expected: ERROR
@@ -0,0 +1,2 @@
[biquad-automation.html]
expected: ERROR
@@ -0,0 +1,2 @@
[biquad-bandpass.html]
expected: ERROR
@@ -0,0 +1,8 @@
[biquad-basic.html]
expected: ERROR
[X Initialize context for testing incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL

[< [initialize\] 1 out of 1 assertions were failed.]
expected: FAIL

@@ -0,0 +1,2 @@
[biquad-getFrequencyResponse.html]
expected: ERROR
@@ -0,0 +1,2 @@
[biquad-highpass.html]
expected: ERROR
@@ -0,0 +1,2 @@
[biquad-highshelf.html]
expected: ERROR
@@ -0,0 +1,2 @@
[biquad-lowpass.html]
expected: ERROR
@@ -0,0 +1,2 @@
[biquad-lowshelf.html]
expected: ERROR
@@ -0,0 +1,2 @@
[biquad-notch.html]
expected: ERROR
@@ -0,0 +1,2 @@
[biquad-peaking.html]
expected: ERROR
@@ -0,0 +1,2 @@
[biquad-tail.html]
expected: ERROR
@@ -0,0 +1,2 @@
[biquadfilternode-basic.html]
expected: ERROR
@@ -0,0 +1,11 @@
[ctor-biquadfilter.html]
expected: ERROR
[X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL

[< [initialize\] 1 out of 1 assertions were failed.]
expected: FAIL

[X node0 = new BiquadFilterNode(context) incorrectly threw TypeError: "window[name\] is not a constructor".]
expected: FAIL

@@ -0,0 +1,2 @@
[no-dezippering.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audiochannelmerger-basic.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audiochannelmerger-disconnect.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audiochannelmerger-input-non-default.html]
expected: ERROR
@@ -0,0 +1,2 @@
[audiochannelmerger-input.html]
expected: ERROR
@@ -0,0 +1,11 @@
[ctor-channelmerger.html]
expected: ERROR
[X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL

[< [initialize\] 1 out of 1 assertions were failed.]
expected: FAIL

[X node0 = new ChannelMergerNode(context) incorrectly threw TypeError: "window[name\] is not a constructor".]
expected: FAIL

@@ -0,0 +1,2 @@
[audiochannelsplitter.html]
expected: ERROR
@@ -0,0 +1,11 @@
[ctor-channelsplitter.html]
expected: ERROR
[X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL

[< [initialize\] 1 out of 1 assertions were failed.]
expected: FAIL

[X node0 = new ChannelSplitterNode(context) incorrectly threw TypeError: "window[name\] is not a constructor".]
expected: FAIL

@@ -0,0 +1,5 @@
[constant-source-basic.html]
expected: ERROR
[X Factory method: node = context.createConstantSource() incorrectly threw TypeError: "context.createConstantSource is not a function".]
expected: FAIL

@@ -0,0 +1,4 @@
[constant-source-onended.html]
[\n Test ConstantSourceNode onended\n ]
expected: FAIL

@@ -0,0 +1,2 @@
[constant-source-output.html]
expected: ERROR

0 comments on commit 9dda87a

Please sign in to comment.