Skip to content

Commit 37720dc

Browse files
committed
Spec: export more definitions
There are a range of definitions used in other specs that aren't exported yet.
1 parent 3720046 commit 37720dc

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

spec.bs

+17-17
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,12 @@ Issue: {{PrivateAggregation/enableDebugMode(options)}}'s argument should not
155155

156156
Each {{PrivateAggregation}} object has the following fields:
157157
<dl dfn-for="PrivateAggregation">
158-
: <dfn>scoping details</dfn> (default null)
158+
: <dfn export>scoping details</dfn> (default null)
159159
:: A [=scoping details=] or null
160-
: <dfn>allowed to use</dfn> (default false)
160+
: <dfn export>allowed to use</dfn> (default false)
161161
:: A [=boolean=]
162-
: <dfn>should perform default contributeToHistogramOnEvent() processing</dfn>
163-
(default an algorithm that always returns true)
162+
: <dfn export>should perform default contributeToHistogramOnEvent()
163+
processing</dfn> (default an algorithm that always returns true)
164164
:: An algorithm that takes a {{PrivateAggregation}}, {{DOMString}} and a [=map=]
165165
(with {{DOMString}} keys) and returns either a [=boolean=] or an
166166
[=exception=].
@@ -377,21 +377,21 @@ two APIs:
377377
Structures {#structures}
378378
========================
379379

380-
<h3 dfn-type=dfn>Batching scope</h3>
380+
<h3 dfn-type=dfn export>Batching scope</h3>
381381
A batching scope is a <a spec=HTML>unique internal value</a> that identifies
382382
which {{PAHistogramContribution}}s should be sent in the same [=aggregatable
383383
report=] unless their [=aggregatable report/debug details=] differ.
384384

385385
Issue: Unique internal value is not an exported definition. See
386386
<a href="https://github.com/whatwg/infra/issues/583">infra/583</a>.
387387

388-
<h3 dfn-type=dfn>Debug scope</h3>
388+
<h3 dfn-type=dfn export>Debug scope</h3>
389389
A debug scope is a <a spec=HTML>unique internal value</a> that identifies which
390390
{{PAHistogramContribution}}s should have their [=debug details=] affected by the
391391
presence or absence of a call to {{PrivateAggregation/enableDebugMode()}} in the
392392
same period of execution.
393393

394-
<h3 dfn-type=dfn>Scoping details</h3>
394+
<h3 dfn-type=dfn export>Scoping details</h3>
395395
A scoping details is a [=struct=] with the following items:
396396
<dl dfn-for="scoping details">
397397
: <dfn>get batching scope steps</dfn>
@@ -447,7 +447,7 @@ Note: This special value represents any external error event that has already
447447
all the [=internal error events=] in the order they are defined above followed
448448
by <code>[=already triggered external error=]</code>.
449449

450-
<h3 dfn-type=dfn>Contribution cache entry</h3>
450+
<h3 dfn-type=dfn export>Contribution cache entry</h3>
451451
A contribution cache entry is a [=struct=] with the following items:
452452
<dl dfn-for="contribution cache entry">
453453
: <dfn>contribution</dfn>
@@ -514,7 +514,7 @@ An aggregatable report is a [=struct=] with the following items:
514514
Aggregation coordinator {#aggregation-coordinator-structure}
515515
------------------------------------------------------------
516516

517-
An <dfn>aggregation coordinator</dfn> is an [=origin=] that the [=allowed
517+
An <dfn export>aggregation coordinator</dfn> is an [=origin=] that the [=allowed
518518
aggregation coordinator set=] [=set/contains=].
519519

520520
Issue: Consider switching to the <a spec="attribution-reporting-api">suitable
@@ -531,8 +531,8 @@ Aggregation should pick a unique string (or multiple) for this.
531531
Pre-specified report parameters {#pre-specified-report-parameters-structure}
532532
----------------------------------------------------------------------------
533533

534-
A <dfn>pre-specified report parameters</dfn> is a [=struct=] with the following
535-
items:
534+
A <dfn export>pre-specified report parameters</dfn> is a [=struct=] with the
535+
following items:
536536
<dl dfn-for="pre-specified report parameters">
537537
: <dfn>context ID</dfn> (default: null)
538538
:: A [=string=] or null
@@ -617,8 +617,8 @@ Permissions Policy integration {#permissions-policy-integration}
617617
================================================================
618618

619619
This specification defines a [=policy-controlled feature=] identified by the
620-
string "<code><dfn>private-aggregation</dfn></code>". Its [=policy-controlled
621-
feature/default allowlist=] is "`*`".
620+
string "<code><dfn export>private-aggregation</dfn></code>". Its
621+
[=policy-controlled feature/default allowlist=] is "`*`".
622622

623623
Note: The [=PrivateAggregation/allowed to use=] field is set by other
624624
specifications that integrate with this API according to this
@@ -697,9 +697,9 @@ scope=] |debugScope| and an optional [=debug details=] or null
697697
</div>
698698

699699
<div algorithm>
700-
To <dfn>determine if a report should be sent deterministically</dfn> given a
701-
[=pre-specified report parameters=] |preSpecifiedParams| and a [=context type=]
702-
|api|, perform the following steps. They return a [=boolean=]:
700+
To <dfn export>determine if a report should be sent deterministically</dfn>
701+
given a [=pre-specified report parameters=] |preSpecifiedParams| and a [=context
702+
type=] |api|, perform the following steps. They return a [=boolean=]:
703703
1. If |preSpecifiedParams|' [=pre-specified report parameters/context ID=] is
704704
not null, return true.
705705
1. If |preSpecifiedParams|' [=pre-specified report parameters/filtering ID max
@@ -858,7 +858,7 @@ scope</dfn> given a [=pre-specified report parameters=] |params| and a
858858
</div>
859859

860860
<div algorithm>
861-
To <dfn>validate a histogram contribution</dfn> given a
861+
To <dfn export>validate a histogram contribution</dfn> given a
862862
{{PAHistogramContribution}} |contribution| and a [=scoping details=]
863863
|scopingDetails|, perform the following steps. They return a [=contribution
864864
cache entry=] or an [=exception=].

0 commit comments

Comments
 (0)