Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement AnalyserNode #21712

Merged
merged 8 commits into from Sep 19, 2018

Update WPT expectations

  • Loading branch information
Manishearth committed Sep 18, 2018
commit aa2ccb38ca956401f57617b11be0b688b1bf7bb4
@@ -224,165 +224,6 @@
[AudioParam interface: calling setValueCurveAtTime([object Object\], double, double) on new AudioBufferSourceNode(context).playbackRate with too few arguments must throw TypeError]
expected: FAIL

[AnalyserNode interface: existence and properties of interface object]
expected: FAIL

[AnalyserNode interface object length]
expected: FAIL

[AnalyserNode interface object name]
expected: FAIL

[AnalyserNode interface: existence and properties of interface prototype object]
expected: FAIL

[AnalyserNode interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[AnalyserNode interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL

[AnalyserNode interface: operation getFloatFrequencyData(Float32Array)]
expected: FAIL

[AnalyserNode interface: operation getByteFrequencyData(Uint8Array)]
expected: FAIL

[AnalyserNode interface: operation getFloatTimeDomainData(Float32Array)]
expected: FAIL

[AnalyserNode interface: operation getByteTimeDomainData(Uint8Array)]
expected: FAIL

[AnalyserNode interface: attribute fftSize]
expected: FAIL

[AnalyserNode interface: attribute frequencyBinCount]
expected: FAIL

[AnalyserNode interface: attribute minDecibels]
expected: FAIL

[AnalyserNode interface: attribute maxDecibels]
expected: FAIL

[AnalyserNode interface: attribute smoothingTimeConstant]
expected: FAIL

[AnalyserNode must be primary interface of new AnalyserNode(context)]
expected: FAIL

[Stringification of new AnalyserNode(context)]
expected: FAIL

[AnalyserNode interface: new AnalyserNode(context) must inherit property "getFloatFrequencyData(Float32Array)" with the proper type]
expected: FAIL

[AnalyserNode interface: calling getFloatFrequencyData(Float32Array) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AnalyserNode interface: new AnalyserNode(context) must inherit property "getByteFrequencyData(Uint8Array)" with the proper type]
expected: FAIL

[AnalyserNode interface: calling getByteFrequencyData(Uint8Array) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AnalyserNode interface: new AnalyserNode(context) must inherit property "getFloatTimeDomainData(Float32Array)" with the proper type]
expected: FAIL

[AnalyserNode interface: calling getFloatTimeDomainData(Float32Array) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AnalyserNode interface: new AnalyserNode(context) must inherit property "getByteTimeDomainData(Uint8Array)" with the proper type]
expected: FAIL

[AnalyserNode interface: calling getByteTimeDomainData(Uint8Array) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AnalyserNode interface: new AnalyserNode(context) must inherit property "fftSize" with the proper type]
expected: FAIL

[AnalyserNode interface: new AnalyserNode(context) must inherit property "frequencyBinCount" with the proper type]
expected: FAIL

[AnalyserNode interface: new AnalyserNode(context) must inherit property "minDecibels" with the proper type]
expected: FAIL

[AnalyserNode interface: new AnalyserNode(context) must inherit property "maxDecibels" with the proper type]
expected: FAIL

[AnalyserNode interface: new AnalyserNode(context) must inherit property "smoothingTimeConstant" with the proper type]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "connect(AudioNode, unsigned long, unsigned long)" with the proper type]
expected: FAIL

[AudioNode interface: calling connect(AudioNode, unsigned long, unsigned long) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "connect(AudioParam, unsigned long)" with the proper type]
expected: FAIL

[AudioNode interface: calling connect(AudioParam, unsigned long) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "disconnect()" with the proper type]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "disconnect(unsigned long)" with the proper type]
expected: FAIL

[AudioNode interface: calling disconnect(unsigned long) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "disconnect(AudioNode)" with the proper type]
expected: FAIL

[AudioNode interface: calling disconnect(AudioNode) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "disconnect(AudioNode, unsigned long)" with the proper type]
expected: FAIL

[AudioNode interface: calling disconnect(AudioNode, unsigned long) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "disconnect(AudioNode, unsigned long, unsigned long)" with the proper type]
expected: FAIL

[AudioNode interface: calling disconnect(AudioNode, unsigned long, unsigned long) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "disconnect(AudioParam)" with the proper type]
expected: FAIL

[AudioNode interface: calling disconnect(AudioParam) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "disconnect(AudioParam, unsigned long)" with the proper type]
expected: FAIL

[AudioNode interface: calling disconnect(AudioParam, unsigned long) on new AnalyserNode(context) with too few arguments must throw TypeError]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "context" with the proper type]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "numberOfInputs" with the proper type]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "numberOfOutputs" with the proper type]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "channelCount" with the proper type]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "channelCountMode" with the proper type]
expected: FAIL

[AudioNode interface: new AnalyserNode(context) must inherit property "channelInterpretation" with the proper type]
expected: FAIL

[AudioListener interface: operation setPosition(float, float, float)]
expected: FAIL

@@ -1,5 +1,19 @@
[ctor-analyser.html]
expected: ERROR
[X node0 = new AnalyserNode(context) incorrectly threw TypeError: "window[name\] is not a constructor".]
expected: FAIL

[X node0.channelCount is not equal to 1. Got 2.]
expected: FAIL

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

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

[X node0.smoothingTimeConstant is not equal to 0.8. Got 0.800000011920929.]
expected: FAIL

[< [default constructor\] 1 out of 12 assertions were failed.]
expected: FAIL

@@ -1,7 +1,4 @@
[test-analysernode.html]
[Test AnalyserNode's ctor API]
expected: FAIL
[Test AnalyserNode API]
expected: FAIL

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.