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

Serialize Infra values to JSON bytes #336

Closed
foolip opened this issue Oct 1, 2020 · 1 comment · Fixed by #338
Closed

Serialize Infra values to JSON bytes #336

foolip opened this issue Oct 1, 2020 · 1 comment · Fixed by #338
Assignees

Comments

@foolip
Copy link
Member

foolip commented Oct 1, 2020

We have https://infra.spec.whatwg.org/#serialize-json-to-bytes which takes JS values, but nothing that takes Infra values. This would be convenient in https://w3c.github.io/webdriver-bidi/, where we use Infra sets, and then want to serialize those and send as a WebSocket message.

@domenic
Copy link
Member

domenic commented Oct 1, 2020

I'll take a stab at this. The necessary ECMA-ese of assembling an object will be nontrivial.

domenic added a commit that referenced this issue Oct 1, 2020
@domenic domenic self-assigned this Oct 1, 2020
domenic added a commit that referenced this issue Oct 5, 2020
domenic added a commit that referenced this issue Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants