@@ -194,8 +194,7 @@ enableDebugMode(optional PADebugModeOptions options)</dfn> method steps are:
194
194
1. Let |scopingDetails| be [=this=] 's [=PrivateAggregation/scoping details=] .
195
195
1. Let |debugScope| be the result of running |scopingDetails|' [=scoping
196
196
details/get debug scope steps=] .
197
- 1. Let |debugScopeMap| be the [=debug scope map=] .
198
- 1. If |debugScopeMap|[|debugScope|] [=map/exists=] , [=exception/throw=] a
197
+ 1. If [=debug scope map=] [|debugScope|] [=map/exists=] , [=exception/throw=] a
199
198
"{{DataError}} " {{DOMException}} .
200
199
201
200
Note: This would occur if `enableDebugMode()` has already been run for this
@@ -216,7 +215,7 @@ enableDebugMode(optional PADebugModeOptions options)</dfn> method steps are:
216
215
217
216
Note: This allows the user agent to make debug mode unavailable globally or
218
217
just for certain callers.
219
- 1. [=map/Set=] |debugScopeMap| [|debugScope|] to |debugDetails|.
218
+ 1. [=map/Set=] [=debug scope map=] [|debugScope|] to |debugDetails|.
220
219
221
220
Issue: Ensure errors are of an appropriate type, e.g. {{InvalidAccessError}} is
222
221
deprecated.
@@ -471,23 +470,21 @@ To <dfn algorithm export>append an entry to the contribution cache</dfn> given a
471
470
472
471
To <dfn algorithm export>get a debug details</dfn> given a [=debug scope=]
473
472
|debugScope|, perform the following steps. They return a [=debug details=] .
474
- 1. Let |debugScopeMap| be the [=debug scope map=] .
475
- 1. If |debugScopeMap|[|debugScope|] [=map/exists=] , return
476
- |debugScopeMap|[|debugScope|] .
473
+ 1. If [=debug scope map=] [|debugScope|] [=map/exists=] , return
474
+ [=debug scope map=] [|debugScope|] .
477
475
1. Otherwise, return a new [=debug details=] .
478
476
479
477
To <dfn algorithm export>mark a debug scope complete</dfn> given a [=debug
480
478
scope=] |debugScope| and an optional [=debug details=] or null
481
479
|debugDetailsOverride| (default null):
482
480
1. Let |debugDetails| be |debugDetailsOverride|.
483
- 1. Let |debugScopeMap| be the [=debug scope map=] .
484
- 1. If |debugScopeMap|[|debugScope|] [=map/exists=] :
481
+ 1. If [=debug scope map=] [|debugScope|] [=map/exists=] :
485
482
1. [=Assert=] : |debugDetailsOverride| is null.
486
483
487
484
Note: The override can be provided if the debug details have not been
488
485
set otherwise.
489
- 1. Set |debugDetails| to |debugScopeMap| [|debugScope|] .
490
- 1. [=map/Remove=] |debugScopeMap| [|debugScope|] .
486
+ 1. Set |debugDetails| to [=debug scope map=] [|debugScope|] .
487
+ 1. [=map/Remove=] [=debug scope map=] [|debugScope|] .
491
488
1. If |debugDetails|'s [=debug details/key=] is not null, [=assert=] :
492
489
|debugDetails|'s [=debug details/enabled=] is true.
493
490
1. If |debugDetails| is null, set |debugDetails| to a new [=debug details=] .
@@ -512,16 +509,14 @@ a [=batching scope=] |batchingScope|, an [=origin=] |reportingOrigin|, a
512
509
513
510
1. [=list/Append=] |entry| to |batchEntries|.
514
511
1. Let |aggregationCoordinator| be the [=default aggregation coordinator=] .
515
- 1. Let |aggregationCoordinatorMap| be the [=aggregation coordinator map=] .
516
- 1. If |aggregationCoordinatorMap|[|batchingScope|] [=map/exists=] :
517
- 1. Set |aggregationCoordinator| to
518
- |aggregationCoordinatorMap|[|batchingScope|] .
519
- 1. [=map/Remove=] |aggregationCoordinatorMap|[|batchingScope|] .
512
+ 1. If [=aggregation coordinator map=] [|batchingScope|] [=map/exists=] :
513
+ 1. Set |aggregationCoordinator| to [=aggregation coordinator
514
+ map=] [|batchingScope|] .
515
+ 1. [=map/Remove=] [=aggregation coordinator map=] [|batchingScope|] .
520
516
1. Let |contextId| be null.
521
- 1. Let |contextIdMap| be the [=context ID map=] .
522
- 1. If |contextIdMap|[|batchingScope|] [=map/exists=] :
523
- 1. Set |contextId| to |contextIdMap|[|batchingScope|] .
524
- 1. [=map/Remove=] |contextIdMap|[|batchingScope|] .
517
+ 1. If [=context ID map=] [|batchingScope|] [=map/exists=] :
518
+ 1. Set |contextId| to [=context ID map=] [|batchingScope|] .
519
+ 1. [=map/Remove=] [=context ID map=] [|batchingScope|] .
525
520
1. Otherwise, [=assert=] : |timeout| is null.
526
521
527
522
Note: Timeouts can only be used for deterministic reports.
@@ -564,8 +559,7 @@ To <dfn export>set the aggregation coordinator for a batching scope</dfn> given
564
559
an [=origin=] |origin| and a [=batching scope=] |batchingScope|:
565
560
566
561
1. [=Assert=] : |origin| is an [=aggregation coordinator=] .
567
- 1. Let |aggregationCoordinatorMap| be the [=aggregation coordinator map=] .
568
- 1. [=map/Set=] |aggregationCoordinatorMap|[|batchingScope|] to |origin|.
562
+ 1. [=map/Set=] [=aggregation coordinator map=] [|batchingScope|] to |origin|.
569
563
570
564
</div>
571
565
@@ -577,8 +571,7 @@ To <dfn algorithm export>set the context ID for a batching scope</dfn> given
577
571
a [=string=] |contextId| and a [=batching scope=] |batchingScope|:
578
572
579
573
1. [=Assert=] : |contextId|'s [=string/length=] is not larger than 64.
580
- 1. Let |contextIdMap| be the [=context ID map=] .
581
- 1. [=map/Set=] |contextIdMap|[|batchingScope|] to |contextId|.
574
+ 1. [=map/Set=] [=context ID map=] [|batchingScope|] to |contextId|.
582
575
583
576
Scheduling reports {#scheduling-reports}
584
577
----------------------------------------
0 commit comments