From a3d2ad7ec8e62de391807d475957fb22e799babd Mon Sep 17 00:00:00 2001 From: Yoav Weiss Date: Thu, 15 May 2025 08:19:04 +0200 Subject: [PATCH 1/3] Export named parameters for generate and queue a report --- index.bs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/index.bs b/index.bs index b029e21..58a0e2d 100644 --- a/index.bs +++ b/index.bs @@ -487,9 +487,11 @@ spec: STRUCTURED-FIELDS; urlPrefix: https://www.rfc-editor.org/rfc/rfc8941.html# |data| When the user agent is to generate and queue a report for a Document - or {{WorkerGlobalScope}} object (|context|), given a string (|type|), another - string (|destination|), and a serializable object (|data|), it must run the - following steps: + or {{WorkerGlobalScope}} object (|context|), + given a string (|type|), + a string (|destination|), and + a serializable object (|data|), + it must run the following steps: 1. Let |settings| be |context|'s [=relevant settings object=]. From 2d88ea6906bfbda50d7a6dd302a7d7bb21416b45 Mon Sep 17 00:00:00 2001 From: Yoav Weiss Date: Thu, 15 May 2025 08:24:43 +0200 Subject: [PATCH 2/3] Fix Document linking --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index 58a0e2d..201c8eb 100644 --- a/index.bs +++ b/index.bs @@ -486,7 +486,7 @@ spec: STRUCTURED-FIELDS; urlPrefix: https://www.rfc-editor.org/rfc/rfc8941.html#

Generate report of |type| with |data|

- When the user agent is to generate and queue a report for a Document + When the user agent is to generate and queue a report for a {{Document}} or {{WorkerGlobalScope}} object (|context|), given a string (|type|), a string (|destination|), and From b30b28cdc813a5cb7a74fbb26560a28d6bd5d292 Mon Sep 17 00:00:00 2001 From: Yoav Weiss Date: Thu, 15 May 2025 08:31:32 +0200 Subject: [PATCH 3/3] Also fix network reporting --- network-reporting.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network-reporting.bs b/network-reporting.bs index 085b884..82857f8 100644 --- a/network-reporting.bs +++ b/network-reporting.bs @@ -555,7 +555,7 @@ spec: origin-policy; urlPrefix: https://wicg.github.io/origin-policy/ When a user agent is to generate a network report, given a string (|type|), another string (|endpoint group|), a serializable object - (|data|), and an optional Document (|document|), it must run the + (|data|), and an optional {{Document}} (|document|), it must run the following steps: 1. If |document| is given, then