mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #23844 - saschanaz:tojson, r=Manishearth
Support default toJSON in WebIDL <!-- Please describe your changes on the following line: --> Ported related lines from gecko. --- <!-- 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 #22781 <!-- Either: --> - [x] There are tests for these changes <!-- 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/23844) <!-- Reviewable:end -->
This commit is contained in:
commit
4275420a56
9 changed files with 99 additions and 158 deletions
|
@ -282,36 +282,6 @@
|
|||
[DOMMatrix interface: calling setMatrixValue(DOMString) on DOMMatrix.fromMatrix({is2D: false}) with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMPointReadOnly interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMPointReadOnly interface: new DOMPointReadOnly() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMPointReadOnly]
|
||||
expected: FAIL
|
||||
|
||||
[DOMPointReadOnly interface: new DOMPoint() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMPoint]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectReadOnly interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectReadOnly interface: new DOMRectReadOnly() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMRectReadOnly]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectReadOnly interface: new DOMRect() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMRect]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectList interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -339,42 +309,5 @@
|
|||
[DOMRectList must be primary interface of [object DOMRect\]]
|
||||
expected: FAIL
|
||||
|
||||
[DOMQuad interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMQuad interface: new DOMQuad() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMQuad]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMMatrixReadOnly]
|
||||
expected: FAIL
|
||||
|
||||
[Geometry APIs interface IDL tests]
|
||||
expected: FAIL
|
||||
|
||||
[DOMPointReadOnly interface: default toJSON operation on new DOMPoint()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMPointReadOnly interface: default toJSON operation on new DOMPointReadOnly()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectReadOnly interface: default toJSON operation on new DOMRect()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectReadOnly interface: default toJSON operation on new DOMRectReadOnly()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMQuad interface: default toJSON operation on new DOMQuad()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: default toJSON operation on new DOMMatrixReadOnly()]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -29,75 +29,8 @@
|
|||
[DOMRectReadOnly interface: calling fromRect(DOMRectInit) on new DOMRect() with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[DOMPointReadOnly interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMPointReadOnly interface: new DOMPointReadOnly() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMPointReadOnly]
|
||||
expected: FAIL
|
||||
|
||||
[DOMPointReadOnly interface: new DOMPoint() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMPoint]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectReadOnly interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectReadOnly interface: new DOMRectReadOnly() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMRectReadOnly]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectReadOnly interface: new DOMRect() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMRect]
|
||||
expected: FAIL
|
||||
|
||||
[DOMQuad interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMQuad interface: new DOMQuad() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMQuad]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: operation toJSON()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: new DOMMatrixReadOnly() must inherit property "toJSON()" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Test default toJSON operation of DOMMatrixReadOnly]
|
||||
expected: FAIL
|
||||
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
||||
[interfaces]
|
||||
expected: FAIL
|
||||
|
||||
[DOMPointReadOnly interface: default toJSON operation on new DOMPoint()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMPointReadOnly interface: default toJSON operation on new DOMPointReadOnly()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectReadOnly interface: default toJSON operation on new DOMRect()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMRectReadOnly interface: default toJSON operation on new DOMRectReadOnly()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMQuad interface: default toJSON operation on new DOMQuad()]
|
||||
expected: FAIL
|
||||
|
||||
[DOMMatrixReadOnly interface: default toJSON operation on new DOMMatrixReadOnly()]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue