@webref/idl 3.36.0 → 3.37.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.
@@ -0,0 +1,20 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Captured Mouse Events (https://screen-share.github.io/captured-mouse-events/)
5
+
6
+ [Exposed=Window]
7
+ interface CapturedMouseEvent : Event {
8
+ constructor(DOMString type, optional CapturedMouseEventInit eventInitDict = {});
9
+ readonly attribute long surfaceX;
10
+ readonly attribute long surfaceY;
11
+ };
12
+
13
+ dictionary CapturedMouseEventInit : EventInit {
14
+ long surfaceX = -1;
15
+ long surfaceY = -1;
16
+ };
17
+
18
+ partial interface CaptureController {
19
+ attribute EventHandler oncapturedmousechange;
20
+ };
@@ -23,7 +23,7 @@ partial interface Navigator {
23
23
  [Exposed=Window, SecureContext]
24
24
  interface CredentialsContainer {
25
25
  Promise<Credential?> get(optional CredentialRequestOptions options = {});
26
- Promise<Credential> store(Credential credential);
26
+ Promise<undefined> store(Credential credential);
27
27
  Promise<Credential?> create(optional CredentialCreationOptions options = {});
28
28
  Promise<undefined> preventSilentAccess();
29
29
  };
package/cssom.idl CHANGED
@@ -89,7 +89,7 @@ interface CSSRule {
89
89
  };
90
90
 
91
91
  [Exposed=Window]
92
- interface CSSStyleRule : CSSRule {
92
+ interface CSSStyleRule : CSSGroupingRule {
93
93
  attribute CSSOMString selectorText;
94
94
  [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
95
95
  };
@@ -0,0 +1,9 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Element Capture (https://screen-share.github.io/element-capture/)
5
+
6
+ [Exposed = Window]
7
+ partial interface BrowserCaptureMediaStreamTrack {
8
+ Promise<undefined> restrictTo(CropTarget? cropTarget);
9
+ };
package/event-timing.idl CHANGED
@@ -1,7 +1,7 @@
1
1
  // GENERATED CONTENT - DO NOT EDIT
2
2
  // Content was automatically extracted by Reffy into webref
3
3
  // (https://github.com/w3c/webref)
4
- // Source: Event Timing API (https://w3c.github.io/event-timing)
4
+ // Source: Event Timing API (https://w3c.github.io/event-timing/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface PerformanceEventTiming : PerformanceEntry {
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.36.0",
4
+ "version": "3.37.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -12,6 +12,6 @@
12
12
  "license": "MIT",
13
13
  "main": "index.js",
14
14
  "peerDependencies": {
15
- "webidl2": "^24.3.0"
15
+ "webidl2": "^24.4.0"
16
16
  }
17
17
  }
@@ -20,6 +20,14 @@ partial dictionary RequestInit {
20
20
  PrivateToken privateToken;
21
21
  };
22
22
 
23
+ partial interface HTMLIFrameElement {
24
+ [SecureContext] attribute DOMString privateToken;
25
+ };
26
+
27
+ partial interface XMLHttpRequest {
28
+ undefined setPrivateToken(PrivateToken privateToken);
29
+ };
30
+
23
31
  partial interface Document {
24
32
  Promise<boolean> hasPrivateTokens(USVString issuer);
25
33
  Promise<boolean> hasRedemptionRecord(USVString issuer);
package/turtledove.idl CHANGED
@@ -11,6 +11,8 @@ partial interface Navigator {
11
11
  dictionary AuctionAd {
12
12
  required USVString renderURL;
13
13
  any metadata;
14
+ USVString buyerReportingId;
15
+ USVString buyerAndSellerReportingId;
14
16
  };
15
17
 
16
18
  dictionary GenerateBidInterestGroup {
@@ -83,26 +85,25 @@ interface InterestGroupScriptRunnerGlobalScope {
83
85
  InterestGroupBiddingScriptRunnerGlobalScope)]
84
86
  interface InterestGroupBiddingScriptRunnerGlobalScope
85
87
  : InterestGroupScriptRunnerGlobalScope {
86
- boolean setBid();
87
- boolean setBid(GenerateBidOutput generateBidOutput);
88
+ boolean setBid(optional GenerateBidOutput generateBidOutput = {});
88
89
  undefined setPriority(double priority);
89
90
  undefined setPrioritySignalsOverride(DOMString key, double priority);
90
91
  };
91
92
 
92
93
  dictionary AdRender {
93
94
  required DOMString url;
94
- required DOMString width;
95
- required DOMString height;
95
+ DOMString width;
96
+ DOMString height;
96
97
  };
97
98
 
98
99
  dictionary GenerateBidOutput {
99
- required double bid;
100
+ double bid = -1;
100
101
  DOMString bidCurrency;
101
- required (DOMString or AdRender) render;
102
+ (DOMString or AdRender) render;
102
103
  any ad;
103
104
  sequence<(DOMString or AdRender)> adComponents;
104
105
  double adCost;
105
- double modelingSignals;
106
+ unrestricted double modelingSignals;
106
107
  boolean allowComponentAuction = false;
107
108
  };
108
109
 
@@ -155,6 +156,39 @@ dictionary ScoringBrowserSignals {
155
156
  sequence<USVString> adComponents;
156
157
  };
157
158
 
159
+ dictionary ReportingBrowserSignals {
160
+ required DOMString topWindowHostname;
161
+ required USVString interestGroupOwner;
162
+ required USVString renderURL;
163
+ required double bid;
164
+ required double highestScoringOtherBid;
165
+
166
+ DOMString bidCurrency;
167
+ DOMString highestScoringOtherBidCurrency;
168
+ USVString topLevelSeller;
169
+ USVString componentSeller;
170
+
171
+ USVString buyerAndSellerReportingId;
172
+ };
173
+
174
+ dictionary ReportResultBrowserSignals : ReportingBrowserSignals {
175
+ required double desirability;
176
+
177
+ DOMString topLevelSellerSignals;
178
+ double modifiedBid;
179
+ unsigned long dataVersion;
180
+ };
181
+
182
+ dictionary ReportWinBrowserSignals : ReportingBrowserSignals {
183
+ double adCost;
184
+ USVString seller;
185
+ boolean madeHighestScoringOtherBid;
186
+ DOMString interestGroupName;
187
+ DOMString buyerReportingId;
188
+ unsigned short modelingSignals;
189
+ unsigned long dataVersion;
190
+ };
191
+
158
192
  dictionary ScoreAdOutput {
159
193
  required double desirability;
160
194
  double bid;
package/webauthn.idl CHANGED
@@ -73,6 +73,10 @@ partial interface PublicKeyCredential {
73
73
  static Promise<boolean> isUserVerifyingPlatformAuthenticatorAvailable();
74
74
  };
75
75
 
76
+ partial interface PublicKeyCredential {
77
+ static Promise<boolean> isPasskeyPlatformAuthenticatorAvailable();
78
+ };
79
+
76
80
  partial interface PublicKeyCredential {
77
81
  static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
78
82
  };
package/webcodecs.idl CHANGED
@@ -473,6 +473,7 @@ dictionary ImageDecoderInit {
473
473
  [EnforceRange] unsigned long desiredWidth;
474
474
  [EnforceRange] unsigned long desiredHeight;
475
475
  boolean preferAnimation;
476
+ sequence<ArrayBuffer> transfer = [];
476
477
  };
477
478
 
478
479
  dictionary ImageDecodeOptions {
package/webrtc.idl CHANGED
@@ -289,7 +289,8 @@ interface RTCRtpSender {
289
289
  readonly attribute MediaStreamTrack? track;
290
290
  readonly attribute RTCDtlsTransport? transport;
291
291
  static RTCRtpCapabilities? getCapabilities(DOMString kind);
292
- Promise<undefined> setParameters(RTCRtpSendParameters parameters);
292
+ Promise<undefined> setParameters(RTCRtpSendParameters parameters,
293
+ optional RTCSetParameterOptions setParameterOptions = {});
293
294
  RTCRtpSendParameters getParameters();
294
295
  Promise<undefined> replaceTrack(MediaStreamTrack? withTrack);
295
296
  undefined setStreams(MediaStream... streams);
@@ -355,6 +356,9 @@ dictionary RTCRtpHeaderExtensionCapability {
355
356
  required DOMString uri;
356
357
  };
357
358
 
359
+ dictionary RTCSetParameterOptions {
360
+ };
361
+
358
362
  [Exposed=Window]
359
363
  interface RTCRtpReceiver {
360
364
  readonly attribute MediaStreamTrack track;
package/css-nesting.idl DELETED
@@ -1,10 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: CSS Nesting Module (https://drafts.csswg.org/css-nesting-1/)
5
-
6
- partial interface CSSStyleRule {
7
- [SameObject] readonly attribute CSSRuleList cssRules;
8
- unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
9
- undefined deleteRule(unsigned long index);
10
- };