diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:33 +0000 |
commit | 086c044dc34dfc0f74fbe41f4ecb402b2cd34884 (patch) | |
tree | a4f824bd33cb075dd5aa3eb5a0a94af221bbe83a /testing/web-platform/tests/interfaces/turtledove.idl | |
parent | Adding debian version 124.0.1-1. (diff) | |
download | firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.tar.xz firefox-086c044dc34dfc0f74fbe41f4ecb402b2cd34884.zip |
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/interfaces/turtledove.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/turtledove.idl | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/testing/web-platform/tests/interfaces/turtledove.idl b/testing/web-platform/tests/interfaces/turtledove.idl index f5813b5d03..8a2d7bb594 100644 --- a/testing/web-platform/tests/interfaces/turtledove.idl +++ b/testing/web-platform/tests/interfaces/turtledove.idl @@ -31,6 +31,7 @@ dictionary GenerateBidInterestGroup { USVString updateURL; USVString trustedBiddingSignalsURL; sequence<USVString> trustedBiddingSignalsKeys; + DOMString trustedBiddingSignalsSlotSizeMode = "none"; any userBiddingSignals; sequence<AuctionAd> ads; sequence<AuctionAd> adComponents; @@ -70,6 +71,7 @@ dictionary AuctionAdConfig { sequence<USVString> interestGroupBuyers; Promise<any> auctionSignals; record<DOMString, DOMString> requestedSize; + sequence<record<DOMString, DOMString>> allSlotsRequestedSizes; Promise<any> sellerSignals; Promise<DOMString> directFromSellerSignalsHeaderAdSlot; unsigned long long sellerTimeout; @@ -98,11 +100,24 @@ partial interface Navigator { interface InterestGroupScriptRunnerGlobalScope { }; +[Exposed=InterestGroupBiddingAndScoringScriptRunnerGlobalScope] +interface ForDebuggingOnly { + undefined reportAdAuctionWin(USVString url); + undefined reportAdAuctionLoss(USVString url); +}; + +[Exposed=InterestGroupBiddingAndScoringScriptRunnerGlobalScope, + Global=InterestGroupBiddingAndScoringScriptRunnerGlobalScope] +interface InterestGroupBiddingAndScoringScriptRunnerGlobalScope : InterestGroupScriptRunnerGlobalScope { + + readonly attribute ForDebuggingOnly forDebuggingOnly; +}; + [Exposed=InterestGroupBiddingScriptRunnerGlobalScope, Global=(InterestGroupScriptRunnerGlobalScope, InterestGroupBiddingScriptRunnerGlobalScope)] interface InterestGroupBiddingScriptRunnerGlobalScope - : InterestGroupScriptRunnerGlobalScope { + : InterestGroupBiddingAndScoringScriptRunnerGlobalScope { boolean setBid(optional GenerateBidOutput generateBidOutput = {}); undefined setPriority(double priority); undefined setPrioritySignalsOverride(DOMString key, optional double? priority); @@ -129,7 +144,7 @@ dictionary GenerateBidOutput { Global=(InterestGroupScriptRunnerGlobalScope, InterestGroupScoringScriptRunnerGlobalScope)] interface InterestGroupScoringScriptRunnerGlobalScope - : InterestGroupScriptRunnerGlobalScope { + : InterestGroupBiddingAndScoringScriptRunnerGlobalScope { }; [Exposed=InterestGroupReportingScriptRunnerGlobalScope, @@ -147,6 +162,16 @@ partial interface Navigator { undefined updateAdInterestGroups(); }; +[SecureContext] +partial interface Navigator { + [SameObject] readonly attribute ProtectedAudience protectedAudience; +}; + +[SecureContext, Exposed=Window] +interface ProtectedAudience { + any queryFeatureSupport(DOMString feature); +}; + partial dictionary RequestInit { boolean adAuctionHeaders; }; @@ -166,11 +191,13 @@ dictionary BiddingBrowserSignals { required long joinCount; required long bidCount; required long recency; + required long adComponentsLimit; USVString topLevelSeller; sequence<PreviousWin> prevWinsMs; object wasmHelper; unsigned long dataVersion; + boolean forDebuggingOnlyInCooldownOrLockout = false; }; dictionary ScoringBrowserSignals { @@ -182,6 +209,7 @@ dictionary ScoringBrowserSignals { unsigned long dataVersion; sequence<USVString> adComponents; + boolean forDebuggingOnlyInCooldownOrLockout = false; }; dictionary ReportingBrowserSignals { |