Skip to content

Commit f877cb4

Browse files
authored
Preventing Issuer Exhaustion
To ensure the issuers the top-level site wants are preserved for use, calling hasPrivateToken up to twice will reserve the two slots for allowed issuers.
1 parent ae07cb5 commit f877cb4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

spec.bs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,6 +1132,15 @@ operations. In the context of a given origin, two redemptions are allowed initia
11321132
the third redemption is only allowed once more than an [=implementation-defined=] amount of time,
11331133
usually 48 hours, have elapsed since the first redemption.
11341134

1135+
Preventing Issuer Exhaustion {#issuer-exhaustion}
1136+
-----------------------------------------------
1137+
Competing scripts might race to call hasRedemptionRecord(issuer) to ensure their |issuer|
1138+
enters the [=issuerAssociations=] [=map=] before the |issuer| of others given a limit of two per
1139+
[=environment/top-level origin=]. To control this process, the [=environment/top-level origin=]
1140+
could call hasRedemptionRecord(issuer) up to twice before any other JavaScript is included
1141+
to ensure their preferred |issuer|s are available.
1142+
1143+
11351144
Preventing Double Spending {#preventing-double-spend}
11361145
-----------------------------------------------------
11371146

0 commit comments

Comments
 (0)