From aa2ccb38ca956401f57617b11be0b688b1bf7bb4 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Fri, 14 Sep 2018 16:30:59 +0530 Subject: [PATCH] Update WPT expectations --- .../webaudio/idlharness.https.window.js.ini | 159 ------------------ .../ctor-analyser.html.ini | 16 +- .../test-analysernode.html.ini | 3 - 3 files changed, 15 insertions(+), 163 deletions(-) diff --git a/tests/wpt/metadata/webaudio/idlharness.https.window.js.ini b/tests/wpt/metadata/webaudio/idlharness.https.window.js.ini index 4114b54f0a6f..c02b11746d7e 100644 --- a/tests/wpt/metadata/webaudio/idlharness.https.window.js.ini +++ b/tests/wpt/metadata/webaudio/idlharness.https.window.js.ini @@ -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 diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html.ini index decbfc1cb82c..5f2600f8dd69 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/ctor-analyser.html.ini @@ -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 + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/test-analysernode.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/test-analysernode.html.ini index 6992ca5707d1..3628d39c5cc9 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/test-analysernode.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/test-analysernode.html.ini @@ -1,7 +1,4 @@ [test-analysernode.html] - [Test AnalyserNode's ctor API] - expected: FAIL - [Test AnalyserNode API] expected: FAIL