-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Define serialization of a site #7250
Comments
Can you state the motivation for such a change? |
We'd like to be able to serialize a site in WICG/attribution-reporting-api#257 as part of WICG/attribution-reporting-api#247. |
OK. Can you summarize those issues for the HTML Standard community? |
The draft specification for the Attribution Reporting API operates on sites, rather than origins, in some aspects, and needs to serialize sites as strings in JSON documents. The HTML standard, which defines "site", does not export an algorithm for serializing a site, a scheme-and-host, or a host, as far as I can tell. |
https://html.spec.whatwg.org/multipage/origin.html#sites defines:
Would it be possible to export an algorithm for the serialization of a site?
The text was updated successfully, but these errors were encountered: