@webref/idl 3.47.2 → 3.47.4

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.
@@ -14,3 +14,8 @@ interface SnapEvent : Event {
14
14
  readonly attribute Node? snapTargetBlock;
15
15
  readonly attribute Node? snapTargetInline;
16
16
  };
17
+
18
+ partial interface mixin GlobalEventHandlers {
19
+ attribute EventHandler onsnapchanged;
20
+ attribute EventHandler onsnapchanging;
21
+ };
package/cssom-view.idl CHANGED
@@ -84,7 +84,7 @@ interface Screen {
84
84
  partial interface Document {
85
85
  Element? elementFromPoint(double x, double y);
86
86
  sequence<Element> elementsFromPoint(double x, double y);
87
- CaretPosition? caretPositionFromPoint(double x, double y);
87
+ CaretPosition? caretPositionFromPoint(double x, double y, ShadowRoot... shadowRoots);
88
88
  readonly attribute Element? scrollingElement;
89
89
  };
90
90
 
@@ -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: Digital Credentials (https://wicg.github.io/digital-identities/)
4
+ // Source: Digital Credentials (https://wicg.github.io/digital-credentials)
5
5
 
6
6
  partial interface Navigator {
7
7
  [SecureContext, SameObject] readonly attribute CredentialsContainer identity;
@@ -50,19 +50,7 @@ enum MediaKeySessionType {
50
50
  };
51
51
 
52
52
  dictionary MediaKeysPolicy {
53
- HDCPVersion minHdcpVersion;
54
- };
55
-
56
- enum HDCPVersion {
57
- "1.0",
58
- "1.1",
59
- "1.2",
60
- "1.3",
61
- "1.4",
62
- "2.0",
63
- "2.1",
64
- "2.2",
65
- "2.3",
53
+ DOMString minHdcpVersion;
66
54
  };
67
55
 
68
56
  enum MediaKeySessionClosedReason {
package/fenced-frame.idl CHANGED
@@ -20,6 +20,8 @@ typedef USVString FencedFrameConfigURL;
20
20
 
21
21
  [Exposed=Window, Serializable]
22
22
  interface FencedFrameConfig {
23
+ constructor(USVString url);
24
+
23
25
  readonly attribute FencedFrameConfigSize? containerWidth;
24
26
  readonly attribute FencedFrameConfigSize? containerHeight;
25
27
  readonly attribute FencedFrameConfigSize? contentWidth;
package/fetch.idl CHANGED
@@ -26,6 +26,7 @@ interface mixin Body {
26
26
  readonly attribute boolean bodyUsed;
27
27
  [NewObject] Promise<ArrayBuffer> arrayBuffer();
28
28
  [NewObject] Promise<Blob> blob();
29
+ [NewObject] Promise<Uint8Array> bytes();
29
30
  [NewObject] Promise<FormData> formData();
30
31
  [NewObject] Promise<any> json();
31
32
  [NewObject] Promise<USVString> text();
@@ -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: DeviceOrientation Event Specification (https://w3c.github.io/deviceorientation/)
4
+ // Source: Device Orientation and Motion (https://w3c.github.io/deviceorientation/)
5
5
 
6
6
  partial interface Window {
7
7
  [SecureContext] attribute EventHandler ondeviceorientation;
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.47.2",
4
+ "version": "3.47.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/turtledove.idl CHANGED
@@ -85,6 +85,7 @@ dictionary AuctionAdConfig {
85
85
  unsigned long long reportingTimeout;
86
86
  USVString sellerCurrency;
87
87
  Promise<record<USVString, USVString>> perBuyerCurrencies;
88
+ record<USVString, unsigned short> perBuyerMultiBidLimits;
88
89
  record<USVString, unsigned short> perBuyerGroupLimits;
89
90
  record<USVString, unsigned short> perBuyerExperimentGroupIds;
90
91
  record<USVString, record<USVString, double>> perBuyerPrioritySignals;
@@ -125,7 +126,7 @@ interface InterestGroupBiddingAndScoringScriptRunnerGlobalScope : InterestGroupS
125
126
  InterestGroupBiddingScriptRunnerGlobalScope)]
126
127
  interface InterestGroupBiddingScriptRunnerGlobalScope
127
128
  : InterestGroupBiddingAndScoringScriptRunnerGlobalScope {
128
- boolean setBid(optional GenerateBidOutput generateBidOutput = {});
129
+ boolean setBid(optional (GenerateBidOutput or sequence<GenerateBidOutput>) oneOrManyBids = []);
129
130
  undefined setPriority(double priority);
130
131
  undefined setPrioritySignalsOverride(DOMString key, optional double? priority);
131
132
  };
@@ -145,6 +146,8 @@ dictionary GenerateBidOutput {
145
146
  double adCost;
146
147
  unrestricted double modelingSignals;
147
148
  boolean allowComponentAuction = false;
149
+ unsigned long targetNumAdComponents;
150
+ unsigned long numMandatoryAdComponents = 0;
148
151
  };
149
152
 
150
153
  [Exposed=InterestGroupScoringScriptRunnerGlobalScope,
@@ -199,6 +202,7 @@ dictionary BiddingBrowserSignals {
199
202
  required long bidCount;
200
203
  required long recency;
201
204
  required long adComponentsLimit;
205
+ required unsigned short multiBidLimit;
202
206
 
203
207
  USVString topLevelSeller;
204
208
  sequence<PreviousWin> prevWinsMs;
package/webauthn.idl CHANGED
@@ -268,7 +268,7 @@ enum UserVerificationRequirement {
268
268
 
269
269
  enum ClientCapability {
270
270
  "conditionalCreate",
271
- "conditionalMediation",
271
+ "conditionalGet",
272
272
  "hybridTransport",
273
273
  "passkeyPlatformAuthenticator",
274
274
  "userVerifyingPlatformAuthenticator",
@@ -3,14 +3,6 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: AV1 WebCodecs Registration (https://w3c.github.io/webcodecs/av1_codec_registration.html)
5
5
 
6
- partial dictionary VideoEncoderConfig {
7
- AV1EncoderConfig av1;
8
- };
9
-
10
- dictionary AV1EncoderConfig {
11
- boolean forceScreenContentTools = false;
12
- };
13
-
14
6
  partial dictionary VideoEncoderEncodeOptions {
15
7
  VideoEncoderEncodeOptionsForAv1 av1;
16
8
  };
package/webcodecs.idl CHANGED
@@ -229,7 +229,7 @@ dictionary EncodedAudioChunkInit {
229
229
  required EncodedAudioChunkType type;
230
230
  [EnforceRange] required long long timestamp; // microseconds
231
231
  [EnforceRange] unsigned long long duration; // microseconds
232
- required BufferSource data;
232
+ required AllowSharedBufferSource data;
233
233
  sequence<ArrayBuffer> transfer = [];
234
234
  };
235
235
 
package/webnn.idl CHANGED
@@ -113,7 +113,6 @@ dictionary MLBatchNormalizationOptions {
113
113
  MLOperand bias;
114
114
  [EnforceRange] unsigned long axis = 1;
115
115
  float epsilon = 1e-5;
116
- MLActivation activation;
117
116
  };
118
117
 
119
118
  partial interface MLGraphBuilder {
@@ -154,7 +153,6 @@ dictionary MLConv2dOptions {
154
153
  MLInputOperandLayout inputLayout = "nchw";
155
154
  MLConv2dFilterOperandLayout filterLayout = "oihw";
156
155
  MLOperand bias;
157
- MLActivation activation;
158
156
  };
159
157
 
160
158
  partial interface MLGraphBuilder {
@@ -179,7 +177,6 @@ dictionary MLConvTranspose2dOptions {
179
177
  MLInputOperandLayout inputLayout = "nchw";
180
178
  MLConvTranspose2dFilterOperandLayout filterLayout = "iohw";
181
179
  MLOperand bias;
182
- MLActivation activation;
183
180
  };
184
181
 
185
182
  partial interface MLGraphBuilder {
package/webrtc.idl CHANGED
@@ -148,7 +148,7 @@ interface RTCSessionDescription {
148
148
  constructor(RTCSessionDescriptionInit descriptionInitDict);
149
149
  readonly attribute RTCSdpType type;
150
150
  readonly attribute DOMString sdp;
151
- [Default] object toJSON();
151
+ [Default] RTCSessionDescriptionInit toJSON();
152
152
  };
153
153
 
154
154
  dictionary RTCSessionDescriptionInit {