@webref/idl 3.35.0 → 3.35.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/html.idl CHANGED
@@ -131,7 +131,7 @@ interface HTMLElement : Element {
131
131
  // The popover API
132
132
  undefined showPopover();
133
133
  undefined hidePopover();
134
- undefined togglePopover(optional boolean force);
134
+ boolean togglePopover(optional boolean force);
135
135
  [CEReactions] attribute DOMString? popover;
136
136
  };
137
137
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.35.0",
4
+ "version": "3.35.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -16,6 +16,10 @@ dictionary SecurePaymentConfirmationRequest {
16
16
  boolean showOptOut;
17
17
  };
18
18
 
19
+ partial interface PaymentRequest {
20
+ static Promise<boolean> isSecurePaymentConfirmationAvailable();
21
+ };
22
+
19
23
  partial dictionary AuthenticationExtensionsClientInputs {
20
24
  AuthenticationExtensionsPaymentInputs payment;
21
25
  };
package/turtledove.idl CHANGED
@@ -13,15 +13,13 @@ dictionary AuctionAd {
13
13
  any metadata;
14
14
  };
15
15
 
16
- dictionary AuctionAdInterestGroup {
16
+ dictionary GenerateBidInterestGroup {
17
17
  required USVString owner;
18
18
  required USVString name;
19
19
  required double lifetimeMs;
20
20
 
21
- double priority = 0.0;
22
21
  boolean enableBiddingSignalsPrioritization = false;
23
22
  record<DOMString, double> priorityVector;
24
- record<DOMString, double> prioritySignalsOverrides;
25
23
 
26
24
  DOMString executionMode = "compatibility";
27
25
  USVString biddingLogicURL;
@@ -34,6 +32,11 @@ dictionary AuctionAdInterestGroup {
34
32
  sequence<AuctionAd> adComponents;
35
33
  };
36
34
 
35
+ dictionary AuctionAdInterestGroup : GenerateBidInterestGroup {
36
+ double priority = 0.0;
37
+ record<DOMString, double> prioritySignalsOverrides;
38
+ };
39
+
37
40
  [SecureContext]
38
41
  partial interface Navigator {
39
42
  Promise<undefined> leaveAdInterestGroup(optional AuctionAdInterestGroupKey group = {});
@@ -54,16 +57,18 @@ dictionary AuctionAdConfig {
54
57
  required USVString decisionLogicURL;
55
58
  USVString trustedScoringSignalsURL;
56
59
  sequence<USVString> interestGroupBuyers;
57
- any auctionSignals;
60
+ Promise<any> auctionSignals;
58
61
  any sellerSignals;
59
62
  USVString directFromSellerSignals;
60
63
  unsigned long long sellerTimeout;
61
64
  unsigned short sellerExperimentGroupId;
62
- record<USVString, any> perBuyerSignals;
65
+ USVString sellerCurrency;
66
+ Promise<record<USVString, any>> perBuyerSignals;
63
67
  record<USVString, unsigned long long> perBuyerTimeouts;
64
68
  record<USVString, unsigned short> perBuyerGroupLimits;
65
69
  record<USVString, unsigned short> perBuyerExperimentGroupIds;
66
70
  record<USVString, record<USVString, double>> perBuyerPrioritySignals;
71
+ record<USVString, USVString> perBuyerCurrencies;
67
72
  sequence<AuctionAdConfig> componentAuctions = [];
68
73
  AbortSignal? signal;
69
74
  Promise<boolean> resolveToConfig;
@@ -84,6 +89,23 @@ interface InterestGroupBiddingScriptRunnerGlobalScope
84
89
  undefined setPrioritySignalsOverride(DOMString key, double priority);
85
90
  };
86
91
 
92
+ dictionary AdRender {
93
+ required DOMString url;
94
+ required DOMString width;
95
+ required DOMString height;
96
+ };
97
+
98
+ dictionary GenerateBidOutput {
99
+ required double bid;
100
+ DOMString bidCurrency;
101
+ required (DOMString or AdRender) adRender;
102
+ any ad;
103
+ sequence<(DOMString or AdRender)> adComponents;
104
+ double adCost;
105
+ double modelingSignals;
106
+ boolean allowComponentAuction = false;
107
+ };
108
+
87
109
  [Exposed=InterestGroupScoringScriptRunnerGlobalScope,
88
110
  Global=(InterestGroupScriptRunnerGlobalScope,
89
111
  InterestGroupScoringScriptRunnerGlobalScope)]
@@ -100,20 +122,10 @@ interface InterestGroupReportingScriptRunnerGlobalScope
100
122
  undefined registerAdBeacon(record<DOMString, USVString> map);
101
123
  };
102
124
 
103
- dictionary AdRender {
104
- required DOMString url;
105
- required DOMString width;
106
- required DOMString height;
107
- };
108
-
109
- dictionary GenerateBidOutput {
110
- required double bid;
111
- required (DOMString or AdRender) adRender;
112
- any ad;
113
- sequence<(DOMString or AdRender)> adComponents;
114
- double adCost;
115
- double modelingSignals;
116
- boolean allowComponentAuction = false;
125
+ dictionary ReportResultOutput {
126
+ DOMString signalsForWinner;
127
+ USVString reportUrl;
128
+ any reportingBeaconMap;
117
129
  };
118
130
 
119
131
  [SecureContext]
@@ -121,8 +133,27 @@ partial interface Navigator {
121
133
  undefined updateAdInterestGroups();
122
134
  };
123
135
 
136
+ dictionary PreviousWin {
137
+ required long long timeDelta;
138
+ required DOMString adJSON;
139
+ };
140
+
141
+ dictionary BiddingBrowserSignals {
142
+ required DOMString topWindowHostname;
143
+ required USVString seller;
144
+ required long joinCount;
145
+ required long bidCount;
146
+
147
+ USVString topLevelSeller;
148
+ sequence<PreviousWin> prevWinsMs;
149
+ object wasmHelper;
150
+ unsigned long dataVersion;
151
+ };
152
+
124
153
  dictionary ScoreAdOutput {
125
154
  required double desirability;
126
155
  double bid;
156
+ DOMString bidCurrency;
157
+ double incomingBidInSellerCurrency;
127
158
  boolean allowComponentAuction = false;
128
159
  };
package/webusb.idl CHANGED
@@ -14,6 +14,7 @@ dictionary USBDeviceFilter {
14
14
 
15
15
  dictionary USBDeviceRequestOptions {
16
16
  required sequence<USBDeviceFilter> filters;
17
+ sequence<USBDeviceFilter> exclusionFilters;
17
18
  };
18
19
 
19
20
  [Exposed=(Worker,Window), SecureContext]
@@ -231,6 +232,7 @@ interface USBEndpoint {
231
232
 
232
233
  dictionary USBPermissionDescriptor : PermissionDescriptor {
233
234
  sequence<USBDeviceFilter> filters;
235
+ sequence<USBDeviceFilter> exclusionFilters;
234
236
  };
235
237
 
236
238
  dictionary AllowedUSBDevice {