Skip to content

Export named parameters for "generate and queue a report" #279

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

Merged
merged 3 commits into from
May 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -486,10 +486,12 @@ spec: STRUCTURED-FIELDS; urlPrefix: https://www.rfc-editor.org/rfc/rfc8941.html#
<h4 id="generate-report" export algorithm>Generate report of |type| with
|data|</h4>

When the user agent is to <dfn export>generate and queue a report</dfn> for a <a>Document</a>
or {{WorkerGlobalScope}} object (|context|), given a string (|type|), another
string (|destination|), and a serializable object (|data|), it must run the
following steps:
When the user agent is to <dfn export>generate and queue a report</dfn> for a {{Document}}
or {{WorkerGlobalScope}} object (<dfn export for="generate and queue a report">|context|</dfn>),
given a string (<dfn export for="generate and queue a report">|type|</dfn>),
a string (<dfn export for="generate and queue a report">|destination|</dfn>), and
a serializable object (<dfn export for="generate and queue a report">|data|</dfn>),
it must run the following steps:

1. Let |settings| be |context|'s [=relevant settings object=].

Expand Down
2 changes: 1 addition & 1 deletion network-reporting.bs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ spec: origin-policy; urlPrefix: https://wicg.github.io/origin-policy/

When a user agent is to <dfn export>generate a network report</dfn>, given a
string (|type|), another string (|endpoint group|), a serializable object
(|data|), and an optional <a>Document</a> (|document|), it must run the
(|data|), and an optional {{Document}} (|document|), it must run the
following steps:

1. If |document| is given, then
Expand Down