-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec: export more definitions #175
Conversation
@dmcardle could you PTAL? Thanks! |
There are a range of definitions used in other specs that aren't exported yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I found myself confused by bikeshed's explanation of how to export dfns (does a boolean attribute require an explicit true/false?), so I added a little convenience recipe to the Makefile to generate an "exports report". I diffed the reports from this PR and the main branch and everything looks as expected. Just FYI, here's the difference between the reports:
diff --git a/exports-report.3720046c1c2f469d546464b81d10b109a173b0b9.txt b/exports-report.185e9b4a865c8d1f3920aa05ea52f53f03cdbf6d.txt
index 0546b39..38c968c 100644
--- a/exports-report.3720046c1c2f469d546464b81d10b109a173b0b9.txt
+++ b/exports-report.185e9b4a865c8d1f3920aa05ea52f53f03cdbf6d.txt
@@ -10,28 +10,35 @@ Exported terms:
filteringId
PADebugModeOptions
debugKey
+ scoping details
+ allowed to use
+ should perform default contributeToHistogramOnEvent() processing
contributeToHistogram(contribution)
contributeToHistogramOnEvent(event, contribution)
enableDebugMode(options)
enableDebugMode()
+ Batching scope
+ Debug scope
+ Scoping details
internal error event
error event
+ already triggered external error
+ Contribution cache entry
+ aggregation coordinator
+ pre-specified report parameters
+ private-aggregation
get the privateAggregation
append an entry to the contribution cache
get a debug details
mark a debug scope complete
+ determine if a report should be sent deterministically
process contributions for a batching scope
determine if an origin is an aggregation coordinator
obtain the Private Aggregation coordinator
set the aggregation coordinator for a batching scope
set the pre-specified report parameters for a batching scope
+ validate a histogram contribution
Unexported terms:
- scoping details
- allowed to use
- should perform default contributeToHistogramOnEvent() processing
- Batching scope
- Debug scope
- Scoping details
get batching scope steps
get debug scope steps
Debug details
@@ -43,9 +50,7 @@ Unexported terms:
pending-report-limit-reached
insufficient-budget
contribution-timeout-reached
- already triggered external error
All error events
- Contribution cache entry
contribution
error event
batching scope
@@ -68,9 +73,7 @@ Unexported terms:
filtering ID max bytes
max contributions
queued
- aggregation coordinator
Context type
- pre-specified report parameters
context ID
filtering ID max bytes
max contributions
@@ -87,10 +90,7 @@ Unexported terms:
Default maxContributions by API
Minimum report delay
Randomized report delay
- private-aggregation
serialize an integer
- determine if a report should be sent deterministically
- validate a histogram contribution
report creation and scheduling steps
compile all unmerged contributions
merge key
Thanks, Dan! Per chat, just added a couple more :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! This reminds me, I've got some merge conflicts to fix in WICG/shared-storage#219.
New diff between export reports
diff --git a/exports-report.3720046c1c2f469d546464b81d10b109a173b0b9.txt b/exports-report.a57f44cab3a5705168d8e9353408ded919a9ec34.txt
index 0546b39..e0539a5 100644
--- a/exports-report.3720046c1c2f469d546464b81d10b109a173b0b9.txt
+++ b/exports-report.a57f44cab3a5705168d8e9353408ded919a9ec34.txt
@@ -10,30 +10,42 @@ Exported terms:
filteringId
PADebugModeOptions
debugKey
+ scoping details
+ allowed to use
+ should perform default contributeToHistogramOnEvent() processing
contributeToHistogram(contribution)
contributeToHistogramOnEvent(event, contribution)
enableDebugMode(options)
enableDebugMode()
+ Batching scope
+ Debug scope
+ Scoping details
+ get batching scope steps
+ get debug scope steps
internal error event
error event
+ already triggered external error
+ Contribution cache entry
+ aggregation coordinator
+ pre-specified report parameters
+ context ID
+ filtering ID max bytes
+ max contributions
+ Default filtering ID max bytes
+ Valid filtering ID max bytes range
+ private-aggregation
get the privateAggregation
append an entry to the contribution cache
get a debug details
mark a debug scope complete
+ determine if a report should be sent deterministically
process contributions for a batching scope
determine if an origin is an aggregation coordinator
obtain the Private Aggregation coordinator
set the aggregation coordinator for a batching scope
set the pre-specified report parameters for a batching scope
+ validate a histogram contribution
Unexported terms:
- scoping details
- allowed to use
- should perform default contributeToHistogramOnEvent() processing
- Batching scope
- Debug scope
- Scoping details
- get batching scope steps
- get debug scope steps
Debug details
enabled
key
@@ -43,9 +55,7 @@ Unexported terms:
pending-report-limit-reached
insufficient-budget
contribution-timeout-reached
- already triggered external error
All error events
- Contribution cache entry
contribution
error event
batching scope
@@ -68,29 +78,19 @@ Unexported terms:
filtering ID max bytes
max contributions
queued
- aggregation coordinator
Context type
- pre-specified report parameters
- context ID
- filtering ID max bytes
- max contributions
aggregatable report cache
aggregation coordinator map
pre-specified report parameters map
contribution cache
debug scope map
- Default filtering ID max bytes
- Valid filtering ID max bytes range
Allowed aggregation coordinator set
Default aggregation coordinator
Maximum maxContributions
Default maxContributions by API
Minimum report delay
Randomized report delay
- private-aggregation
serialize an integer
- determine if a report should be sent deterministically
- validate a histogram contribution
report creation and scheduling steps
compile all unmerged contributions
merge key
SHA: 445134a Reason: push, by alexmturner Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
There are a range of definitions used in other specs that aren't exported yet.
Preview | Diff