Support default toJSON in WebIDL

This commit is contained in:
Kagami Sascha Rosylight 2019-07-24 17:11:44 +09:00
parent 9a7e2663e8
commit 16b4e3446b
9 changed files with 106 additions and 155 deletions

View file

@ -22,6 +22,8 @@ interface DOMQuad {
[SameObject] readonly attribute DOMPoint p3;
[SameObject] readonly attribute DOMPoint p4;
[NewObject] DOMRect getBounds();
[Default] object toJSON();
};
dictionary DOMQuadInit {