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

[COOP Reporting] Questions about the report body #3

Closed
domenic opened this issue May 29, 2020 · 2 comments
Closed

[COOP Reporting] Questions about the report body #3

domenic opened this issue May 29, 2020 · 2 comments

Comments

@domenic
Copy link
Contributor

domenic commented May 29, 2020

https://github.com/camillelamy/explainers/blob/master/coop_reporting.md#reporting-browsing-context-switches

  • Some of these keys contain spaces. Is that intentional? JSON objects are usually underscore-delimited
  • uri should be url, per https://url.spec.whatwg.org/#url-apis-elsewhere
  • I'm unsure about the "disposition" field. COEP reporting does not include something similar, but I think CSP does. @yutakahirano, should these be aligned?
  • "Note that effective policy can be same-origin-plus-coep". In the HTML PR we spelled this with a capital COEP. Maybe we should correct the HTML PR to align the casing, either now or when we work on reporting.
@domenic
Copy link
Contributor Author

domenic commented May 29, 2020

I see "disposition" is planned for COEP in whatwg/html#5391. Also I found WICG/cross-origin-embedder-policy#9 (comment) which indicates that maybe reporting object fields are neither space nor underscore delimited, but instead dash delimited.

@camillelamy
Copy link
Owner

I have updated the explainer and this should now be fixed.

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

No branches or pull requests

2 participants