Skip to content
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

Update description of sharedStorage selectURL budget #138

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 30 additions & 20 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1013,21 +1013,21 @@ A <dfn for=fencedframetype>destination event</dfn> is either a
1. |reporter| |event| <span class=XXX>TODO: Fill this in</span>
</div>

An <dfn export for=fencedframetype>exfiltration budget metadata</dfn> is a [=struct=] with the
An <dfn export for=fencedframetype>shared storage selectURL budget metadata</dfn> is a [=struct=] with the
following [=struct/items=]:

<dl export dfn-for="exfiltration budget metadata">
<dl export dfn-for="shared storage selectURL budget metadata">
: <dfn>origin</dfn>
:: an [=origin=]

: <dfn>amount to debit</dfn>
:: a non-negative valid floating point number
</dl>

An <dfn export for=fencedframetype>exfiltration budget metadata reference</dfn> is a [=struct=] with
the following [=struct/items=]:
An <dfn export for=fencedframetype>shared storage selectURL budget metadata reference</dfn> is a [=struct=]
with the following [=struct/items=]:

<dl export dfn-for="exfiltration budget metadata reference">
<dl export dfn-for="shared storage selectURL budget metadata reference">
: <dfn>origin</dfn>
:: an [=origin=]

Expand Down Expand Up @@ -1071,6 +1071,8 @@ A <dfn export>fenced frame config</dfn> is a [=struct=] with the following [=str
: <dfn for="interest group descriptor">visibility</dfn>
:: a [=fencedframeconfig/visibility=]

Note: This field is used only to implement Protected Audience's leaveAdInterestGroup().

: <dfn>on navigate callback</dfn>
:: null, or a series of steps

Expand Down Expand Up @@ -1110,14 +1112,18 @@ A <dfn export>fenced frame config</dfn> is a [=struct=] with the following [=str
: <dfn for="fenced frame reporting metadata">visibility</dfn>
:: a [=fencedframeconfig/visibility=]

: <dfn>exfiltration budget metadata</dfn>
Note: This field is used only to implement event-level reporting.

: <dfn>shared storage selectURL budget metadata</dfn>
:: null, or a [=struct=] with the following [=struct/items=]:
: <dfn for="exfiltration budget metadata">value</dfn>
:: an [=fencedframetype/exfiltration budget metadata=]
: <dfn for="shared storage selectURL budget metadata">value</dfn>
:: an [=fencedframetype/shared storage selectURL budget metadata=]

: <dfn for="exfiltration budget metadata">visibility</dfn>
: <dfn for="shared storage selectURL budget metadata">visibility</dfn>
:: a [=fencedframeconfig/visibility=]

Note: This field is used only for Shared Storage selectURL.

: <dfn>nested configs</dfn>
:: null, or a [=struct=] with the following [=struct/items=]:
: <dfn for="nested configs">value</dfn>
Expand All @@ -1128,9 +1134,13 @@ A <dfn export>fenced frame config</dfn> is a [=struct=] with the following [=str

: <dfn>embedder shared storage context</dfn>
:: null, or a [=string=]

Note: This field is used only for Shared Storage selectURL.

: <dfn>is ad component</dfn>
:: A [=boolean=]. Defaulting to false.

Note: This field is used only for Protected Audience with event-level reporting.
</dl>

Note: When true, this [=fenced frame config=] reprsents an ad component. An ad component can be
Expand Down Expand Up @@ -1169,8 +1179,8 @@ A <dfn export>fenced frame config instance</dfn> is a [=struct=] with the follow
: <dfn>fenced frame reporter</dfn>
:: null, or a [=fencedframetype/fenced frame reporter=]

: <dfn>exfiltration budget metadata reference</dfn>
:: null, or an [=fencedframetype/exfiltration budget metadata reference=]
: <dfn>shared storage selectURL budget metadata reference</dfn>
:: null, or an [=fencedframetype/shared storage selectURL budget metadata reference=]

: <dfn>nested configs</dfn>
:: null, or an [=map=] whose [=map/keys=] are [=urn uuids=] and whose [=map/values=] are [=fenced
Expand Down Expand Up @@ -1231,19 +1241,19 @@ A <dfn export>fenced frame config instance</dfn> is a [=struct=] with the follow
: [=fenced frame reporter/automatic beacon data map=]
:: an empty [=map=]

: [=fenced frame config instance/exfiltration budget metadata reference=]
: [=fenced frame config instance/shared storage selectURL budget metadata reference=]
::
1. If |config|'s [=fenced frame config/exfiltration budget metadata=] is null, set to null.
1. If |config|'s [=fenced frame config/shared storage selectURL budget metadata=] is null, set to null.

1. Otherwise, set to a [=fencedframetype/exfiltration budget metadata reference=]:
1. Otherwise, set to a [=fencedframetype/shared storage selectURL budget metadata reference=]:

: [=exfiltration budget metadata reference/origin=]
:: |config|'s [=fenced frame config/exfiltration budget metadata=]'s [=exfiltration
budget metadata/value=]'s [=exfiltration budget metadata/origin=]
: [=shared storage selectURL budget metadata reference/origin=]
:: |config|'s [=fenced frame config/shared storage selectURL budget metadata=]'s [=exfiltration
budget metadata/value=]'s [=shared storage selectURL budget metadata/origin=]

: [=exfiltration budget metadata reference/amount to debit reference=]
:: a reference to |config|'s [=fenced frame config/exfiltration budget metadata=]'s
[=exfiltration budget metadata/value=]'s [=exfiltration budget metadata/amount to
: [=shared storage selectURL budget metadata reference/amount to debit reference=]
:: a reference to |config|'s [=fenced frame config/shared storage selectURL budget metadata=]'s
[=shared storage selectURL budget metadata/value=]'s [=shared storage selectURL budget metadata/amount to
debit=]

: [=fenced frame config instance/nested configs=]
Expand Down