Skip to content

Commit

Permalink
Remove as
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Jul 18, 2023
1 parent 0495ab0 commit b885614
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,6 @@ To <dfn>serialize an integer</dfn>, represent it as a string of the shortest pos
number.

Issue: This would ideally be replaced by a more descriptive algorithm in Infra. See
<a href="https://github.com/whatwg/infra/issues/201">infra/201</a>

</div>

Expand Down Expand Up @@ -2002,7 +2001,6 @@ threshold when responding to [=query k-anonymity count=].
*This introduction sub-section is non-normative*.

This specification defines a new type of script execution environment called a [=script runner=]. On
the surface, these are similar to <a href=https://html.spec.whatwg.org/C#worklets-intro>Worklets</a>
in that they too are used for running scripts independent of the *main* execution environment with a
flexible implementation model.

Expand Down Expand Up @@ -2219,12 +2217,10 @@ of the following global objects:

1. Let |evaluationStatus| be the result of [$ScriptEvaluation$](result).

1. If |evaluationStatus| is an [=ECMAScript/abrupt completion=], jump to the step labeled <i><a
href=#evaluate-script-return>return</a></i>.
1. If |evaluationStatus| is an [=ECMAScript/abrupt completion=], jump to the step labeled.

1. Let |F| be [$Get$](|global|, |functionName|). If that returns a [=ECMAScript/throw completion=],
set |finalCompletion| to |F| and jump to the step labeled <i><a
href=#evaluate-script-return>return</a></i>.
set |finalCompletion| to |F| and jump to the step labeled.

1. Set |finalCompletion| be [=ECMAScript/Completion Record|Completion=]([$Call$](F, `undefined`,
|arguments|)).
Expand Down Expand Up @@ -2623,20 +2619,20 @@ The <dfn for=Navigator method>updateAdInterestGroups()</dfn> method steps are:
<dd>
1. If |value| is a {{double}}, set |ig|'s [=interest group/priority=]
to |value|.
1. Otherwise, jump to the step labeled <i><a href=#abort-update>Abort update</a></i>.
1. Otherwise, jump to the step labeled.

<dt>"`enableBiddingSignalsPrioritization`"
<dd>
1. If |value| is a {{boolean}}, set |ig|'s
[=interest group/enable bidding signals prioritization=] to |value|.
1. Otherwise, jump to the step labeled <i><a href=#abort-update>Abort update</a></i>.
1. Otherwise, jump to the step labeled.

<dt>"`priorityVector`"
<dd>
1. If |value| is null or an [=ordered map=] whose [=map/keys=] are [=strings=] and
whose [=map/values=] are {{double}}, set |ig|'s [=interest group/priority vector=] to
|value|.
1. Otherwise, jump to the step labeled <i><a href=#abort-update>Abort update</a></i>.
1. Otherwise, jump to the step labeled.

<dt>"`prioritySignalsOverrides`"
<dd>
Expand All @@ -2645,13 +2641,13 @@ The <dfn for=Navigator method>updateAdInterestGroups()</dfn> method steps are:
1. [=map/For each=] |pvKey| → |pvValue| of |value|:
1. If |pvValue| is null, [=map/remove=] |ig|'s [=interest group/priority signals overrides=][|pvKey|].
1. Otherwise, [=map/set=] |ig|'s [=interest group/priority signals overrides=][|pvKey|] to |pvValue|.
1. Otherwise, jump to the step labeled <i><a href=#abort-update>Abort update</a></i>.
1. Otherwise, jump to the step labeled.

<dt>"`executionMode`"
<dd>
1. If |value| is "`compatibility`" or "`group-by-origin`",
set |ig|'s [=interest group/execution mode=] to |value|.
1. Otherwise, jump to the step labeled <i><a href=#abort-update>Abort update</a></i>.
1. Otherwise, jump to the step labeled.

<dt>"`biddingLogicURL`"
<dt>"`biddingWasmHelperURL`"
Expand Down Expand Up @@ -2680,7 +2676,7 @@ The <dfn for=Navigator method>updateAdInterestGroups()</dfn> method steps are:
</table>
1. Let |parsedURL| be the result of running the [=URL parser=] on |value|.
1. If |key| is not |groupMember|, [=iteration/continue=].
1. Jump to the step labeled <i><a href=#abort-update>Abort update</a></i>
1. Jump to the step labeled.
if any of the following conditions hold:
* |parsedURL| is failure;
* |parsedURL|'s [=url/origin=] is not [=same origin=] with |ig|'s
Expand All @@ -2693,7 +2689,7 @@ The <dfn for=Navigator method>updateAdInterestGroups()</dfn> method steps are:
<dd>
1. If |value| is a [=list=] of [=strings=],
set |ig|'s [=interest group/trusted bidding signals keys=] to |value|.
1. Otherwise, jump to the step labeled <i><a href=#abort-update>Abort update</a></i>.
1. Otherwise, jump to the step labeled.

<dt>"`ads`"
<dt>"`adComponents`"
Expand All @@ -2712,7 +2708,7 @@ The <dfn for=Navigator method>updateAdInterestGroups()</dfn> method steps are:
</table>
1. If |key| is not |groupMember|, [=iteration/continue=].
1. If |value| is not a [=list=] of {{AuctionAd}}, jump to the step
labeled <i><a href=#abort-update>Abort update</a></i>.
labeled.
1. [=list/For each=] |ad| of |value|:
1. Let |igAd| be a new [=interest group ad=].
1. Let |renderURL| be the result of running the [=URL parser=] on
Expand Down

0 comments on commit b885614

Please sign in to comment.