mirror of
https://github.com/servo/servo.git
synced 2025-08-17 03:15:34 +01:00
Auto merge of #20405 - christianpoveda:issue_20349, r=jdm
Add constructors for typed arrays in DOMMatrix and DOMMatrixReadOnly <!-- Please describe your changes on the following line: --> - DOMMatrix now have the functions: FromFloat32Array, FromFloat64Array. - DOMMatrixReadOnly now have the functions: FromFloat32Array, FromFloat64Array, ToFloat32Array, ToFloat64Array. r? @jdm --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #20349 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20405) <!-- Reviewable:end -->
This commit is contained in:
commit
2d78964634
7 changed files with 328 additions and 431 deletions
|
@ -1,13 +0,0 @@
|
|||
[DOMMatrix-newobject.html]
|
||||
[DOMMatrix toFloat32Array]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix toFloat64Array]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly toFloat32Array]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly toFloat64Array]
|
||||
expected: FAIL
|
||||
|
|
@ -276,102 +276,24 @@
|
|||
[DOMRectList interface: calling item(unsigned long) on [object DOMRect\] with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: operation fromFloat32Array(Float32Array)]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: operation fromFloat64Array(Float64Array)]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: operation toFloat32Array()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: operation toFloat64Array()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: stringifier]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat32Array(Float32Array) on new DOMMatrixReadOnly() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat64Array(Float64Array) on new DOMMatrixReadOnly() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toFloat32Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toFloat64Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat32Array(Float32Array) on DOMMatrixReadOnly.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat64Array(Float64Array) on DOMMatrixReadOnly.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: DOMMatrixReadOnly.fromMatrix({is2D: false}) must inherit property "toFloat32Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: DOMMatrixReadOnly.fromMatrix({is2D: false}) must inherit property "toFloat64Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: legacy window alias]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: operation fromFloat32Array(Float32Array)]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: operation fromFloat64Array(Float64Array)]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: operation setMatrixValue(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: calling fromFloat32Array(Float32Array) on new DOMMatrix() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: calling fromFloat64Array(Float64Array) on new DOMMatrix() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: new DOMMatrix() must inherit property "setMatrixValue(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: calling setMatrixValue(DOMString) on new DOMMatrix() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat32Array(Float32Array) on new DOMMatrix() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat64Array(Float64Array) on new DOMMatrix() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: new DOMMatrix() must inherit property "toFloat32Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: new DOMMatrix() must inherit property "toFloat64Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: calling fromFloat32Array(Float32Array) on DOMMatrix.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: calling fromFloat64Array(Float64Array) on DOMMatrix.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: DOMMatrix.fromMatrix({is2D: false}) must inherit property "setMatrixValue(DOMString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: calling setMatrixValue(DOMString) on DOMMatrix.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat32Array(Float32Array) on DOMMatrix.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat64Array(Float64Array) on DOMMatrix.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: DOMMatrix.fromMatrix({is2D: false}) must inherit property "toFloat32Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: DOMMatrix.fromMatrix({is2D: false}) must inherit property "toFloat64Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -43,82 +43,3 @@
|
|||
|
||||
[DOMRectReadOnly interface: calling fromRect(DOMRectInit) on new DOMRect() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: operation fromFloat32Array(Float32Array)]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: operation fromFloat64Array(Float64Array)]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: operation toFloat32Array()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: operation toFloat64Array()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat32Array(Float32Array) on new DOMMatrixReadOnly() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat64Array(Float64Array) on new DOMMatrixReadOnly() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toFloat32Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toFloat64Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat32Array(Float32Array) on DOMMatrixReadOnly.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat64Array(Float64Array) on DOMMatrixReadOnly.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: DOMMatrixReadOnly.fromMatrix({is2D: false}) must inherit property "toFloat32Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: DOMMatrixReadOnly.fromMatrix({is2D: false}) must inherit property "toFloat64Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: operation fromFloat32Array(Float32Array)]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: operation fromFloat64Array(Float64Array)]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: calling fromFloat32Array(Float32Array) on new DOMMatrix() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: calling fromFloat64Array(Float64Array) on new DOMMatrix() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat32Array(Float32Array) on new DOMMatrix() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat64Array(Float64Array) on new DOMMatrix() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: new DOMMatrix() must inherit property "toFloat32Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: new DOMMatrix() must inherit property "toFloat64Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: calling fromFloat32Array(Float32Array) on DOMMatrix.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrix interface: calling fromFloat64Array(Float64Array) on DOMMatrix.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat32Array(Float32Array) on DOMMatrix.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: calling fromFloat64Array(Float64Array) on DOMMatrix.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: DOMMatrix.fromMatrix({is2D: false}) must inherit property "toFloat32Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: DOMMatrix.fromMatrix({is2D: false}) must inherit property "toFloat64Array()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue