From 2e6310f47e8b27bac1317d847c1154c91dcedcff Mon Sep 17 00:00:00 2001 From: Alex Turner Date: Fri, 20 Oct 2023 21:27:18 +0000 Subject: [PATCH] change to updating --- spec.bs | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/spec.bs b/spec.bs index 1827431..8b40b09 100644 --- a/spec.bs +++ b/spec.bs @@ -1659,17 +1659,21 @@ steps are modified to add the following case at the end of the "Switch on key" step.
-: "`aggregationCoordinatorOrigin`" +: "`privateAggregationConfig`" :: - 1. Let |aggregationCoordinator| be the result of [=obtain the Private - Aggregation coordinator from a string|obtaining the Private Aggregation - coordinator=] given value. - 1. If |aggregationCoordinator| is a {{DOMException}}, jump to the step - labeled Abort update. - 1. Otherwise, set ig's [=interest group/Private - Aggregation coordinator=] to |aggregationCoordinator|. - - Issue: Ensure that this matches the implementation. + 1. If |value| is not a [=map=] whose [=map/keys=] are [=strings=], jump to + the step labeled Abort update. + 1. If |value|["`aggregationCoordinatorOrigin`"] [=map/exists=]: + 1. If |value|["`aggregationCoordinatorOrigin`"] is not a [=string=], + jump to the step labeled Abort update. + 1. Let |aggregationCoordinator| be the result of [=obtain the Private + Aggregation coordinator from a string|obtaining the Private + Aggregation coordinator=] given + |value|["`aggregationCoordinatorOrigin`"]. + 1. If |aggregationCoordinator| is a {{DOMException}}, jump to the step + labeled Abort update. + 1. Otherwise, set ig's [=interest group/Private + Aggregation coordinator=] to |aggregationCoordinator|.