mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Support default toJSON in WebIDL
This commit is contained in:
parent
9a7e2663e8
commit
16b4e3446b
9 changed files with 106 additions and 155 deletions
|
@ -22,6 +22,8 @@ interface DOMQuad {
|
|||
[SameObject] readonly attribute DOMPoint p3;
|
||||
[SameObject] readonly attribute DOMPoint p4;
|
||||
[NewObject] DOMRect getBounds();
|
||||
|
||||
[Default] object toJSON();
|
||||
};
|
||||
|
||||
dictionary DOMQuadInit {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue