Skip to content

Commit

Permalink
Fix an error in prevWin's ad json. (#921)
Browse files Browse the repository at this point in the history
* Fix an error in prevWin's ads.

* Update spec.bs

---------

Co-authored-by: Qingxin Wu <[email protected]>
Co-authored-by: Paul Jensen <[email protected]>
  • Loading branch information
3 people authored Nov 28, 2023
1 parent dad42d0 commit 86d1503
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1288,9 +1288,10 @@ To <dfn>parse an https origin</dfn> given a [=string=] |input|:
[=interest group/name=] is |ig|'s [=interest group/name=], return if none found.
1. Let |win| be a new [=previous win=].
1. Set |win|'s [=previous win/time=] to the [=current wall time=].
1. Let |ad| be the [=interest group ad=] from |ig|'s [=interest group/ads=] whose
[=ad descriptor/url=] is |bid|'s [=generated bid/ad descriptor=]
[=ad descriptor/url=], return if none found.
1. Let |ad| be an [=interest group ad=] whose [=interest group ad/render url=] is |bid|'s
[=generated bid/bid ad=]'s [=interest group ad/render url=], and whose
[=interest group ad/metadata=] is |bid|'s [=generated bid/bid ad=]'s
[=interest group ad/metadata=].
1. Set |win|'s [=previous win/ad json=] to the result of
[=serializing an Infra value to a JSON string=] given |ad|.
1. [=list/Append=] |win| to |loadedIg|'s [=interest group/previous wins=].
Expand Down

0 comments on commit 86d1503

Please sign in to comment.