Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[geometry] JSON serialization of a DOMRectList #199

Closed
zcorpan opened this issue Jun 22, 2017 · 4 comments
Closed

[geometry] JSON serialization of a DOMRectList #199

zcorpan opened this issue Jun 22, 2017 · 4 comments

Comments

@zcorpan
Copy link
Member

zcorpan commented Jun 22, 2017

#186 adds back DOMRectList.

See https://www.w3.org/Bugs/Public/show_bug.cgi?id=27428 - consider specifying toJSON/ serializer as an array.

cc @bzbarsky @cdumez @hwanseung

@tobie
Copy link
Member

tobie commented Jun 22, 2017

So you should just define your own toJSON operation that returns sequence<DOMRect>.

@tobie tobie mentioned this issue Jun 23, 2017
28 tasks
@dirkschulze
Copy link
Contributor

Beside the stated use case in the referenced Bugzilla issue there is not much interest it seems. My suggestion would be to either close this issue or defer it to level 2 of Geometry Interfaces.

@annevk
Copy link
Member

annevk commented Apr 16, 2018

Closing this seems reasonable to me. In general we don't define toJSON unless there's a compelling use case.

@zcorpan
Copy link
Member Author

zcorpan commented Apr 17, 2018

OK with me to close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants