Implement DOMPoint.fromPoint

This commit is contained in:
Kagami Sascha Rosylight 2019-07-05 11:03:34 +09:00
parent 5f477707a1
commit 40dbb2c100
19 changed files with 30 additions and 133 deletions

View file

@ -677585,7 +677585,7 @@
"testharness"
],
"webaudio/the-audio-api/the-audioparam-interface/automation-rate-testing.js": [
"73892dd845887d731779b3794a14df3f6bd36cba",
"43279f91d68d3c5e2d7a086c739c838b31dc7335",
"support"
],
"webaudio/the-audio-api/the-audioparam-interface/automation-rate.html": [
@ -677617,7 +677617,7 @@
"testharness"
],
"webaudio/the-audio-api/the-audioparam-interface/k-rate-oscillator.html": [
"1672f0d975f2b2e2fd0c127663b403745b669265",
"6803f55eab00bbfb9766cc044a7240e6b4a0fda0",
"testharness"
],
"webaudio/the-audio-api/the-audioparam-interface/k-rate-panner.html": [

View file

@ -1,7 +0,0 @@
[transitionevent-interface.html]
[elapsedTime set to undefined]
expected: FAIL
[propertyName set to undefined]
expected: FAIL

View file

@ -1,10 +1,4 @@
[DOMMatrixInit-validate-fixup.html]
[{is2D: undefined} (2d)]
expected: FAIL
[{b: 0, m12: undefined} (2d)]
expected: FAIL
[{f: NaN, m42: NaN} (2d)]
expected: FAIL

View file

@ -1,26 +0,0 @@
[DOMPoint-001.html]
type: testharness
[testConstructorDictionary2undefined]
expected: FAIL
[testConstructorDictionary3]
expected: FAIL
[testConstructorDictionary4]
expected: FAIL
[testConstructorDictionary5]
expected: FAIL
[testConstructorDictionary2irregular]
expected: FAIL
[testConstructorDOMPoint]
expected: FAIL
[testConstructorIllegal1]
expected: FAIL
[testConstructorIllegal2]
expected: FAIL

View file

@ -1,55 +1,7 @@
[DOMPoint-002.html]
[test DOMPoint fromPoint with empty object]
expected: FAIL
[test DOMPoint fromPoint with x]
expected: FAIL
[test DOMPoint fromPoint with x, y]
expected: FAIL
[test DOMPoint fromPoint with x, y, z]
expected: FAIL
[test DOMPoint fromPoint with x, y, z, w]
expected: FAIL
[test DOMPoint fromPoint with x, y, z, w, v]
expected: FAIL
[test DOMPoint fromPoint with x, z]
expected: FAIL
[test DOMPoint fromPoint with undefined value]
expected: FAIL
[test DOMPoint matrixTransform]
expected: FAIL
[test DOMPointReadOnly fromPoint with empty object]
expected: FAIL
[test DOMPointReadOnly fromPoint with x]
expected: FAIL
[test DOMPointReadOnly fromPoint with x, y]
expected: FAIL
[test DOMPointReadOnly fromPoint with x, y, z]
expected: FAIL
[test DOMPointReadOnly fromPoint with x, y, z, w]
expected: FAIL
[test DOMPointReadOnly fromPoint with x, y, z, w, v]
expected: FAIL
[test DOMPointReadOnly fromPoint with x, z]
expected: FAIL
[test DOMPointReadOnly fromPoint with undefined value]
expected: FAIL
[test DOMPointReadOnly matrixTransform]
expected: FAIL

View file

@ -213,15 +213,9 @@
[PseudoElement interface object name]
expected: FAIL
[DOMPointReadOnly interface: operation fromPoint(DOMPointInit)]
expected: FAIL
[DOMPointReadOnly interface: operation matrixTransform(DOMMatrixInit)]
expected: FAIL
[DOMPointReadOnly interface: calling fromPoint(DOMPointInit) on new DOMPointReadOnly() with too few arguments must throw TypeError]
expected: FAIL
[DOMPointReadOnly interface: new DOMPointReadOnly() must inherit property "matrixTransform(DOMMatrixInit)" with the proper type]
expected: FAIL
@ -231,15 +225,6 @@
[DOMPoint interface: legacy window alias]
expected: FAIL
[DOMPoint interface: operation fromPoint(DOMPointInit)]
expected: FAIL
[DOMPoint interface: calling fromPoint(DOMPointInit) on new DOMPoint() with too few arguments must throw TypeError]
expected: FAIL
[DOMPointReadOnly interface: calling fromPoint(DOMPointInit) on new DOMPoint() with too few arguments must throw TypeError]
expected: FAIL
[DOMPointReadOnly interface: new DOMPoint() must inherit property "matrixTransform(DOMMatrixInit)" with the proper type]
expected: FAIL

View file

@ -1,28 +1,13 @@
[interfaces.worker.html]
[DOMPointReadOnly interface: operation fromPoint(DOMPointInit)]
expected: FAIL
[DOMPointReadOnly interface: operation matrixTransform(DOMMatrixInit)]
expected: FAIL
[DOMPointReadOnly interface: calling fromPoint(DOMPointInit) on new DOMPointReadOnly() with too few arguments must throw TypeError]
expected: FAIL
[DOMPointReadOnly interface: new DOMPointReadOnly() must inherit property "matrixTransform(DOMMatrixInit)" with the proper type]
expected: FAIL
[DOMPointReadOnly interface: calling matrixTransform(DOMMatrixInit) on new DOMPointReadOnly() with too few arguments must throw TypeError]
expected: FAIL
[DOMPoint interface: operation fromPoint(DOMPointInit)]
expected: FAIL
[DOMPoint interface: calling fromPoint(DOMPointInit) on new DOMPoint() with too few arguments must throw TypeError]
expected: FAIL
[DOMPointReadOnly interface: calling fromPoint(DOMPointInit) on new DOMPoint() with too few arguments must throw TypeError]
expected: FAIL
[DOMPointReadOnly interface: new DOMPoint() must inherit property "matrixTransform(DOMMatrixInit)" with the proper type]
expected: FAIL

View file

@ -1,2 +0,0 @@
[k-rate-biquad.html]
expected: ERROR

View file

@ -1,2 +0,0 @@
[k-rate-gain.html]
expected: ERROR

View file

@ -1,2 +1,10 @@
[k-rate-oscillator.html]
expected: ERROR
[X k-rate detune: Difference between a-rate and k-rate outputs should have contain at least one value different from 0.]
expected: FAIL
[< [Oscillator k-rate detune\] 1 out of 1 assertions were failed.]
expected: FAIL
[# AUDIT TASK RUNNER FINISHED: 1 out of 2 tasks were failed.]
expected: FAIL

View file

@ -1,2 +0,0 @@
[k-rate-stereo-panner.html]
expected: ERROR

View file

@ -1,4 +0,0 @@
[event_constructor.html]
[constructor with undefined type argument and members]
expected: FAIL

View file

@ -45,7 +45,7 @@
// The promise from |startRendering| is returned.
function doTest(context, should, options) {
let merger = new ChannelMergerNode(
context, {numberOfInputs: context.destination.numberOfChannels});
context, {numberOfInputs: context.destination.channelCount});
merger.connect(context.destination);
let src = null;

View file

@ -32,7 +32,7 @@
});
let merger = new ChannelMergerNode(
context, {numberOfInputs: context.numberOfChannels});
context, {numberOfInputs: context.destination.channelCount});
merger.connect(context.destination);
let inverter = new GainNode(context, {gain: -1});
inverter.connect(merger, 0, 2);