-
Notifications
You must be signed in to change notification settings - Fork 19
Introduce a new algorithm "Deliver a network report". #100
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
Conversation
index.html
Outdated
| </dl> | ||
| </li> | ||
| <li> | ||
| If <var>additional body</var> is present, set each properties of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't precise enough. I think you intend to run approximately the algorithm from Object.assign, which nails down whether non-enumerable properties are included, what happens if the argument is a proxy, etc.
Using a WebIDL dictionary for additional body would be easier to specify precisely, and would satisfy @igrigorik's concern in #99 (comment).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uploaded 72f2bd6 which introduces AdditionalReportBody dictionary.
How about this?
|
@igrigorik, @dcreager Could you please review this PR? I have been creating a chromium CL for the distributor side reporting. |
72f2bd6 to
2f6a76d
Compare
dcreager
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @horo-t, I think this is a much cleaner change now!
igrigorik
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Ditto, great work @horo-t!
jyasskin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple nits, but overall this looks fine.
I want to introduce an OPTIONAL
additional bodyto the algorithm of "Generate a network error report".This will be used to send the signed exchange reports #99 from the spec of "Loading Signed Exchanges" WICG/webpackage#374.
Preview | Diff