From bb5466a8e8b07279dc85bda70b9f612707204320 Mon Sep 17 00:00:00 2001 From: Maks Orlovich Date: Mon, 25 Nov 2024 10:47:16 -0500 Subject: [PATCH] Fix the error case Qingxin pointed out. --- spec.bs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec.bs b/spec.bs index 79b4f2ae5..4c39e021b 100644 --- a/spec.bs +++ b/spec.bs @@ -4306,8 +4306,9 @@ runs; this method exists as an abstraction to help add that.
To commit private aggregation contributions given an [=Private Aggregation -contributions=] |onEventMap|, a [=reporting bid key=] |bidKey|, and a [=reporting context=] +contributions=] or null |onEventMap|, a [=reporting bid key=] |bidKey|, and a [=reporting context=] |reportingContext|: + 1. If |onEventMap| is null, return. 1. [=map/For each=] |event| → |contributions| of |onEventMap|: 1. Let |key| be (|bidKey|, |event|). 1. If |reportingContext|'s [=reporting context/private aggregation on event contributions=][|key|] @@ -5696,7 +5697,8 @@ of the following global objects: and |privateAggregationCoordinator|. 1. Let |argumentsJS| be the result of [=converting a Web IDL arguments list to an ECMAScript arguments list|converting=] |arguments| to an ECMAScript arguments list. If this - [=exception/throws=] an exception, return « "null", null, null, null ». + [=exception/throws=] an exception, return « "null", null, null, null, null, + |executionMetrics| ». 1. Let |executionMetrics| be a new [=execution metrics=]. 1. Let (|result|, |executionMetrics|'s [=execution metrics/script timed out=]) be the result of [=evaluating a script=] with |realm|, |script|, |functionName|, |argumentsJS|,