Update WPT expectations

This commit is contained in:
Manish Goregaokar 2018-08-24 12:52:24 -07:00
parent 5dd830344b
commit 04e60e683a
14 changed files with 96 additions and 314 deletions

View file

@ -1,13 +0,0 @@
[historical.html]
[dopplerFactor member should not exist on the AudioListener.]
expected: FAIL
[speedOfSound member should not exist on the AudioListener.]
expected: FAIL
[setVelocity member should not exist on the AudioListener.]
expected: FAIL
[setVelocity should not exist on PannerNodes.]
expected: FAIL

View file

@ -5,9 +5,6 @@
[Test driver] [Test driver]
expected: FAIL expected: FAIL
[BaseAudioContext interface: attribute listener]
expected: FAIL
[BaseAudioContext interface: attribute audioWorklet] [BaseAudioContext interface: attribute audioWorklet]
expected: FAIL expected: FAIL
@ -38,9 +35,6 @@
[BaseAudioContext interface: operation createIIRFilter([object Object\], [object Object\])] [BaseAudioContext interface: operation createIIRFilter([object Object\], [object Object\])]
expected: FAIL expected: FAIL
[BaseAudioContext interface: operation createPanner()]
expected: FAIL
[BaseAudioContext interface: operation createPeriodicWave([object Object\], [object Object\], PeriodicWaveConstraints)] [BaseAudioContext interface: operation createPeriodicWave([object Object\], [object Object\], PeriodicWaveConstraints)]
expected: FAIL expected: FAIL
@ -98,9 +92,6 @@
[AudioContext interface: context must inherit property "createMediaStreamDestination()" with the proper type] [AudioContext interface: context must inherit property "createMediaStreamDestination()" with the proper type]
expected: FAIL expected: FAIL
[BaseAudioContext interface: context must inherit property "listener" with the proper type]
expected: FAIL
[BaseAudioContext interface: context must inherit property "audioWorklet" with the proper type] [BaseAudioContext interface: context must inherit property "audioWorklet" with the proper type]
expected: FAIL expected: FAIL
@ -143,9 +134,6 @@
[BaseAudioContext interface: calling createIIRFilter([object Object\], [object Object\]) on context with too few arguments must throw TypeError] [BaseAudioContext interface: calling createIIRFilter([object Object\], [object Object\]) on context with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[BaseAudioContext interface: context must inherit property "createPanner()" with the proper type]
expected: FAIL
[BaseAudioContext interface: context must inherit property "createPeriodicWave([object Object\], [object Object\], PeriodicWaveConstraints)" with the proper type] [BaseAudioContext interface: context must inherit property "createPeriodicWave([object Object\], [object Object\], PeriodicWaveConstraints)" with the proper type]
expected: FAIL expected: FAIL
@ -179,9 +167,6 @@
[OfflineAudioContext interface: calling suspend(double) on new OfflineAudioContext(1, 1, sample_rate) with too few arguments must throw TypeError] [OfflineAudioContext interface: calling suspend(double) on new OfflineAudioContext(1, 1, sample_rate) with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[BaseAudioContext interface: new OfflineAudioContext(1, 1, sample_rate) must inherit property "listener" with the proper type]
expected: FAIL
[BaseAudioContext interface: new OfflineAudioContext(1, 1, sample_rate) must inherit property "audioWorklet" with the proper type] [BaseAudioContext interface: new OfflineAudioContext(1, 1, sample_rate) must inherit property "audioWorklet" with the proper type]
expected: FAIL expected: FAIL
@ -224,9 +209,6 @@
[BaseAudioContext interface: calling createIIRFilter([object Object\], [object Object\]) on new OfflineAudioContext(1, 1, sample_rate) with too few arguments must throw TypeError] [BaseAudioContext interface: calling createIIRFilter([object Object\], [object Object\]) on new OfflineAudioContext(1, 1, sample_rate) with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[BaseAudioContext interface: new OfflineAudioContext(1, 1, sample_rate) must inherit property "createPanner()" with the proper type]
expected: FAIL
[BaseAudioContext interface: new OfflineAudioContext(1, 1, sample_rate) must inherit property "createPeriodicWave([object Object\], [object Object\], PeriodicWaveConstraints)" with the proper type] [BaseAudioContext interface: new OfflineAudioContext(1, 1, sample_rate) must inherit property "createPeriodicWave([object Object\], [object Object\], PeriodicWaveConstraints)" with the proper type]
expected: FAIL expected: FAIL
@ -416,90 +398,12 @@
[AudioNode interface: new AnalyserNode(context) must inherit property "channelInterpretation" with the proper type] [AudioNode interface: new AnalyserNode(context) must inherit property "channelInterpretation" with the proper type]
expected: FAIL expected: FAIL
[AudioListener interface: existence and properties of interface object]
expected: FAIL
[AudioListener interface object length]
expected: FAIL
[AudioListener interface object name]
expected: FAIL
[AudioListener interface: existence and properties of interface prototype object]
expected: FAIL
[AudioListener interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[AudioListener interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[AudioListener interface: attribute positionX]
expected: FAIL
[AudioListener interface: attribute positionY]
expected: FAIL
[AudioListener interface: attribute positionZ]
expected: FAIL
[AudioListener interface: attribute forwardX]
expected: FAIL
[AudioListener interface: attribute forwardY]
expected: FAIL
[AudioListener interface: attribute forwardZ]
expected: FAIL
[AudioListener interface: attribute upX]
expected: FAIL
[AudioListener interface: attribute upY]
expected: FAIL
[AudioListener interface: attribute upZ]
expected: FAIL
[AudioListener interface: operation setPosition(float, float, float)] [AudioListener interface: operation setPosition(float, float, float)]
expected: FAIL expected: FAIL
[AudioListener interface: operation setOrientation(float, float, float, float, float, float)] [AudioListener interface: operation setOrientation(float, float, float, float, float, float)]
expected: FAIL expected: FAIL
[AudioListener must be primary interface of context.listener]
expected: FAIL
[Stringification of context.listener]
expected: FAIL
[AudioListener interface: context.listener must inherit property "positionX" with the proper type]
expected: FAIL
[AudioListener interface: context.listener must inherit property "positionY" with the proper type]
expected: FAIL
[AudioListener interface: context.listener must inherit property "positionZ" with the proper type]
expected: FAIL
[AudioListener interface: context.listener must inherit property "forwardX" with the proper type]
expected: FAIL
[AudioListener interface: context.listener must inherit property "forwardY" with the proper type]
expected: FAIL
[AudioListener interface: context.listener must inherit property "forwardZ" with the proper type]
expected: FAIL
[AudioListener interface: context.listener must inherit property "upX" with the proper type]
expected: FAIL
[AudioListener interface: context.listener must inherit property "upY" with the proper type]
expected: FAIL
[AudioListener interface: context.listener must inherit property "upZ" with the proper type]
expected: FAIL
[AudioListener interface: context.listener must inherit property "setPosition(float, float, float)" with the proper type] [AudioListener interface: context.listener must inherit property "setPosition(float, float, float)" with the proper type]
expected: FAIL expected: FAIL
@ -1673,201 +1577,6 @@
[OscillatorNode interface: calling setPeriodicWave(PeriodicWave) on new OscillatorNode(context) with too few arguments must throw TypeError] [OscillatorNode interface: calling setPeriodicWave(PeriodicWave) on new OscillatorNode(context) with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[PannerNode interface: existence and properties of interface object]
expected: FAIL
[PannerNode interface object length]
expected: FAIL
[PannerNode interface object name]
expected: FAIL
[PannerNode interface: existence and properties of interface prototype object]
expected: FAIL
[PannerNode interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[PannerNode interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[PannerNode interface: attribute panningModel]
expected: FAIL
[PannerNode interface: attribute positionX]
expected: FAIL
[PannerNode interface: attribute positionY]
expected: FAIL
[PannerNode interface: attribute positionZ]
expected: FAIL
[PannerNode interface: attribute orientationX]
expected: FAIL
[PannerNode interface: attribute orientationY]
expected: FAIL
[PannerNode interface: attribute orientationZ]
expected: FAIL
[PannerNode interface: attribute distanceModel]
expected: FAIL
[PannerNode interface: attribute refDistance]
expected: FAIL
[PannerNode interface: attribute maxDistance]
expected: FAIL
[PannerNode interface: attribute rolloffFactor]
expected: FAIL
[PannerNode interface: attribute coneInnerAngle]
expected: FAIL
[PannerNode interface: attribute coneOuterAngle]
expected: FAIL
[PannerNode interface: attribute coneOuterGain]
expected: FAIL
[PannerNode interface: operation setPosition(float, float, float)]
expected: FAIL
[PannerNode interface: operation setOrientation(float, float, float)]
expected: FAIL
[PannerNode must be primary interface of new PannerNode(context)]
expected: FAIL
[Stringification of new PannerNode(context)]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "panningModel" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "positionX" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "positionY" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "positionZ" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "orientationX" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "orientationY" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "orientationZ" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "distanceModel" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "refDistance" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "maxDistance" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "rolloffFactor" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "coneInnerAngle" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "coneOuterAngle" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "coneOuterGain" with the proper type]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "setPosition(float, float, float)" with the proper type]
expected: FAIL
[PannerNode interface: calling setPosition(float, float, float) on new PannerNode(context) with too few arguments must throw TypeError]
expected: FAIL
[PannerNode interface: new PannerNode(context) must inherit property "setOrientation(float, float, float)" with the proper type]
expected: FAIL
[PannerNode interface: calling setOrientation(float, float, float) on new PannerNode(context) with too few arguments must throw TypeError]
expected: FAIL
[AudioNode interface: new PannerNode(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 PannerNode(context) with too few arguments must throw TypeError]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "connect(AudioParam, unsigned long)" with the proper type]
expected: FAIL
[AudioNode interface: calling connect(AudioParam, unsigned long) on new PannerNode(context) with too few arguments must throw TypeError]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "disconnect()" with the proper type]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "disconnect(unsigned long)" with the proper type]
expected: FAIL
[AudioNode interface: calling disconnect(unsigned long) on new PannerNode(context) with too few arguments must throw TypeError]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "disconnect(AudioNode)" with the proper type]
expected: FAIL
[AudioNode interface: calling disconnect(AudioNode) on new PannerNode(context) with too few arguments must throw TypeError]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "disconnect(AudioNode, unsigned long)" with the proper type]
expected: FAIL
[AudioNode interface: calling disconnect(AudioNode, unsigned long) on new PannerNode(context) with too few arguments must throw TypeError]
expected: FAIL
[AudioNode interface: new PannerNode(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 PannerNode(context) with too few arguments must throw TypeError]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "disconnect(AudioParam)" with the proper type]
expected: FAIL
[AudioNode interface: calling disconnect(AudioParam) on new PannerNode(context) with too few arguments must throw TypeError]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "disconnect(AudioParam, unsigned long)" with the proper type]
expected: FAIL
[AudioNode interface: calling disconnect(AudioParam, unsigned long) on new PannerNode(context) with too few arguments must throw TypeError]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "context" with the proper type]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "numberOfInputs" with the proper type]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "numberOfOutputs" with the proper type]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "channelCount" with the proper type]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "channelCountMode" with the proper type]
expected: FAIL
[AudioNode interface: new PannerNode(context) must inherit property "channelInterpretation" with the proper type]
expected: FAIL
[PeriodicWave interface: existence and properties of interface object] [PeriodicWave interface: existence and properties of interface object]
expected: FAIL expected: FAIL

View file

@ -1,2 +1,5 @@
[audiobuffersource-multi-channels.html] [audiobuffersource-multi-channels.html]
expected: CRASH expected: TIMEOUT
[X Rendered audio for channel 0 does not equal [0,0.19242584705352783,0.3714718818664551,0.5250332355499268,0.6435103416442871,0.7207010388374329,0.7542802691459656,0.7458723187446594,0.7007185816764832,0.6269197463989258,0.5344454050064087,0.4339446425437927,0.33560463786125183,0.24808235466480255,0.17771567404270172,0.12810270488262177...\] with an element-wise tolerance of {"absoluteThreshold":0.000030517578125,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t6.2648326158523560e-2\t1.9242584705352783e-1\t1.2977752089500427e-1\t6.7442873648311685e-1\t3.0517578125000000e-5\n\t[2\]\t1.2505052983760834e-1\t3.7147188186645508e-1\t2.4642135202884674e-1\t6.6336474995282613e-1\t3.0517578125000000e-5\n\t[3\]\t1.8696144223213196e-1\t5.2503323554992676e-1\t3.3807179331779480e-1\t6.4390551002679652e-1\t3.0517578125000000e-5\n\t[4\]\t2.4813784658908844e-1\t6.4351034164428711e-1\t3.9537249505519867e-1\t6.1439959775152853e-1\t3.0517578125000000e-5\n\t[5\]\t3.0833941698074341e-1\t7.2070103883743286e-1\t4.1236162185668945e-1\t5.7216737542361873e-1\t3.0517578125000000e-5\n\t...and 44074 more errors.\n\tMax AbsError of 8.6889546364545822e-1 at index of 129.\n\t[129\]\t9.7299009561538696e-1\t1.0409463196992874e-1\t8.6889546364545822e-1\t8.3471687944145678e+0\t3.0517578125000000e-5\n\tMax RelError of 1.2424206265621037e+5 at index of 1363.\n\t[1363\]\t-5.8316510915756226e-1\t4.6938193918322213e-6\t5.8316980297695409e-1\t1.2424206265621037e+5\t3.0517578125000000e-5\n]
expected: FAIL

View file

@ -1,5 +1,4 @@
[ctor-panner.html] [ctor-panner.html]
expected: ERROR
[X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".] [X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL expected: FAIL
@ -9,3 +8,15 @@
[X node0 = new PannerNode(context) incorrectly threw TypeError: "window[name\] is not a constructor".] [X node0 = new PannerNode(context) incorrectly threw TypeError: "window[name\] is not a constructor".]
expected: FAIL expected: FAIL
[< [test AudioNodeOptions\] 2 out of 18 assertions were failed.]
expected: FAIL
[X new PannerNode(c, {"channelCount":0}) did not throw an exception.]
expected: FAIL
[# AUDIT TASK RUNNER FINISHED: 1 out of 5 tasks were failed.]
expected: FAIL
[X node6.channelInterpretation is not equal to discrete. Got speakers.]
expected: FAIL

View file

@ -1,2 +1,10 @@
[distance-exponential.html] [distance-exponential.html]
expected: ERROR [X Number of impulses is not equal to 100. Got 0.]
expected: FAIL
[< [test\] 1 out of 2 assertions were failed.]
expected: FAIL
[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.]
expected: FAIL

View file

@ -1,2 +1,10 @@
[distance-inverse.html] [distance-inverse.html]
expected: ERROR [X Number of impulses is not equal to 100. Got 0.]
expected: FAIL
[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.]
expected: FAIL
[< [test\] 1 out of 2 assertions were failed.]
expected: FAIL

View file

@ -1,2 +1,10 @@
[distance-linear.html] [distance-linear.html]
expected: ERROR [X Number of impulses is not equal to 100. Got 0.]
expected: FAIL
[< [test\] 1 out of 2 assertions were failed.]
expected: FAIL
[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.]
expected: FAIL

View file

@ -1,2 +1,10 @@
[panner-automation-equalpower-stereo.html] [panner-automation-equalpower-stereo.html]
expected: ERROR [X Number of impulses found is not equal to 100. Got 0.]
expected: FAIL
[< [test\] 1 out of 4 assertions were failed.]
expected: FAIL
[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.]
expected: FAIL

View file

@ -11,3 +11,28 @@
[X new PannerNode(c, {refDistance: -1}) threw "ReferenceError" instead of EcmaScript error RangeError.] [X new PannerNode(c, {refDistance: -1}) threw "ReferenceError" instead of EcmaScript error RangeError.]
expected: FAIL expected: FAIL
[X panner.maxDistance = 0 did not throw an exception.]
expected: FAIL
[X panner.maxDistance = -1 threw "NotSupportedError" instead of EcmaScript error RangeError.]
expected: FAIL
[< [max-distance-error\] 4 out of 6 assertions were failed.]
expected: FAIL
[X new PannerNode(c, {maxDistance: 0}) did not throw an exception.]
expected: FAIL
[X panner.refDistance = -1 did not throw an exception.]
expected: FAIL
[X new PannerNode(c, {refDistance: -1}) did not throw an exception.]
expected: FAIL
[< [ref-distance-error\] 2 out of 6 assertions were failed.]
expected: FAIL
[X new PannerNode(c, {maxDistance: -1}) did not throw an exception.]
expected: FAIL

View file

@ -1,2 +1,10 @@
[panner-equalpower-stereo.html] [panner-equalpower-stereo.html]
expected: ERROR [X Number of impulses found is not equal to 100. Got 0.]
expected: FAIL
[< [test\] 1 out of 4 assertions were failed.]
expected: FAIL
[# AUDIT TASK RUNNER FINISHED: 1 out of 1 tasks were failed.]
expected: FAIL

View file

@ -1,2 +1,8 @@
[panner-equalpower.html] [panner-equalpower.html]
expected: ERROR expected: TIMEOUT
[X Number of impulses found is not equal to 100. Got 0.]
expected: FAIL
[< [test\] 1 out of 4 assertions were failed.]
expected: FAIL

View file

@ -1,5 +1,4 @@
[pannernode-basic.html] [pannernode-basic.html]
expected: ERROR
[X Initialize context and panner incorrectly threw TypeError: "context.createPanner is not a function".] [X Initialize context and panner incorrectly threw TypeError: "context.createPanner is not a function".]
expected: FAIL expected: FAIL

View file

@ -65286,7 +65286,7 @@
"testharness" "testharness"
], ],
"mozilla/interfaces.html": [ "mozilla/interfaces.html": [
"ad419477302c2f55fd0b0f7b90d4b36ee9700988", "179f9c6c6928b3a4194c82f85cd1cce81123a5bc",
"testharness" "testharness"
], ],
"mozilla/interfaces.js": [ "mozilla/interfaces.js": [

View file

@ -16,6 +16,7 @@ test_interfaces([
"AudioBufferSourceNode", "AudioBufferSourceNode",
"AudioContext", "AudioContext",
"AudioDestinationNode", "AudioDestinationNode",
"AudioListener",
"AudioNode", "AudioNode",
"AudioParam", "AudioParam",
"AudioScheduledSourceNode", "AudioScheduledSourceNode",
@ -173,6 +174,7 @@ test_interfaces([
"OfflineAudioContext", "OfflineAudioContext",
"OscillatorNode", "OscillatorNode",
"PageTransitionEvent", "PageTransitionEvent",
"PannerNode",
"Performance", "Performance",
"PerformanceEntry", "PerformanceEntry",
"PerformanceMark", "PerformanceMark",