@webref/idl 3.37.0 → 3.38.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/FedCM.idl CHANGED
@@ -20,7 +20,7 @@ enum IdentityCredentialRequestOptionsContext {
20
20
  };
21
21
 
22
22
  dictionary IdentityCredentialRequestOptions {
23
- sequence<IdentityProviderConfig> providers;
23
+ required sequence<IdentityProviderConfig> providers;
24
24
  IdentityCredentialRequestOptionsContext context = "signin";
25
25
  };
26
26
 
package/cookie-store.idl CHANGED
@@ -40,12 +40,14 @@ dictionary CookieInit {
40
40
  USVString? domain = null;
41
41
  USVString path = "/";
42
42
  CookieSameSite sameSite = "strict";
43
+ boolean partitioned = false;
43
44
  };
44
45
 
45
46
  dictionary CookieStoreDeleteOptions {
46
47
  required USVString name;
47
48
  USVString? domain = null;
48
49
  USVString path = "/";
50
+ boolean partitioned = false;
49
51
  };
50
52
 
51
53
  dictionary CookieListItem {
@@ -56,6 +58,7 @@ dictionary CookieListItem {
56
58
  DOMHighResTimeStamp? expires;
57
59
  boolean secure;
58
60
  CookieSameSite sameSite;
61
+ boolean partitioned;
59
62
  };
60
63
 
61
64
  typedef sequence<CookieListItem> CookieList;
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
  };
package/edit-context.idl CHANGED
@@ -69,11 +69,8 @@ interface TextUpdateEvent : Event {
69
69
  dictionary TextFormatInit {
70
70
  unsigned long rangeStart;
71
71
  unsigned long rangeEnd;
72
- DOMString textColor;
73
- DOMString backgroundColor;
74
72
  DOMString underlineStyle;
75
73
  DOMString underlineThickness;
76
- DOMString underlineColor;
77
74
  };
78
75
 
79
76
  [Exposed=Window]
@@ -81,11 +78,8 @@ interface TextFormat {
81
78
  constructor(optional TextFormatInit options = {});
82
79
  readonly attribute unsigned long rangeStart;
83
80
  readonly attribute unsigned long rangeEnd;
84
- readonly attribute DOMString textColor;
85
- readonly attribute DOMString backgroundColor;
86
81
  readonly attribute DOMString underlineStyle;
87
82
  readonly attribute DOMString underlineThickness;
88
- readonly attribute DOMString underlineColor;
89
83
  };
90
84
 
91
85
  dictionary TextFormatUpdateEventInit : EventInit {
package/fenced-frame.idl CHANGED
@@ -40,6 +40,7 @@ dictionary FenceEvent {
40
40
  required DOMString eventType;
41
41
  required DOMString eventData;
42
42
  required sequence<FenceReportingDestination> destination;
43
+ boolean once = false;
43
44
  };
44
45
 
45
46
  typedef (FenceEvent or DOMString) ReportEventType;
package/html.idl CHANGED
@@ -1934,6 +1934,7 @@ interface NavigateEvent : Event {
1934
1934
  readonly attribute FormData? formData;
1935
1935
  readonly attribute DOMString? downloadRequest;
1936
1936
  readonly attribute any info;
1937
+ readonly attribute boolean hasUAVisualTransition;
1937
1938
 
1938
1939
  undefined intercept(optional NavigationInterceptOptions options = {});
1939
1940
  undefined scroll();
@@ -1949,6 +1950,7 @@ dictionary NavigateEventInit : EventInit {
1949
1950
  FormData? formData = null;
1950
1951
  DOMString? downloadRequest = null;
1951
1952
  any info;
1953
+ boolean hasUAVisualTransition = false;
1952
1954
  };
1953
1955
 
1954
1956
  dictionary NavigationInterceptOptions {
@@ -1998,10 +2000,12 @@ interface PopStateEvent : Event {
1998
2000
  constructor(DOMString type, optional PopStateEventInit eventInitDict = {});
1999
2001
 
2000
2002
  readonly attribute any state;
2003
+ readonly attribute boolean hasUAVisualTransition;
2001
2004
  };
2002
2005
 
2003
2006
  dictionary PopStateEventInit : EventInit {
2004
2007
  any state = null;
2008
+ boolean hasUAVisualTransition = false;
2005
2009
  };
2006
2010
 
2007
2011
  [Exposed=Window]
@@ -239,10 +239,6 @@ typedef (DOMString or
239
239
  sequence<DOMString> or
240
240
  ConstrainDOMStringParameters) ConstrainDOMString;
241
241
 
242
- dictionary DevicePermissionDescriptor : PermissionDescriptor {
243
- DOMString deviceId;
244
- };
245
-
246
- dictionary CameraDevicePermissionDescriptor : DevicePermissionDescriptor {
242
+ dictionary CameraDevicePermissionDescriptor : PermissionDescriptor {
247
243
  boolean panTiltZoom = false;
248
244
  };
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.37.0",
4
+ "version": "3.38.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.4.0"
15
+ "webidl2": "^24.4.1"
16
16
  }
17
17
  }
@@ -0,0 +1,15 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Private Network Access (https://wicg.github.io/private-network-access/)
5
+
6
+ dictionary PrivateNetworkAccessPermissionDescriptor
7
+ : PermissionDescriptor {
8
+ DOMString id;
9
+ };
10
+
11
+ partial dictionary RequestInit {
12
+ RequestTargetAddressSpace targetAddressSpace;
13
+ };
14
+
15
+ enum RequestTargetAddressSpace { "private", "local" };
@@ -17,5 +17,5 @@
17
17
  };
18
18
 
19
19
  partial interface XRFrame {
20
- readonly attribute XRMeshSet detectedMeshs;
20
+ readonly attribute XRMeshSet detectedMeshes;
21
21
  };
package/serial.idl CHANGED
@@ -23,11 +23,13 @@ interface Serial : EventTarget {
23
23
 
24
24
  dictionary SerialPortRequestOptions {
25
25
  sequence<SerialPortFilter> filters;
26
+ sequence<BluetoothServiceUUID> allowedBluetoothServiceClassIds;
26
27
  };
27
28
 
28
29
  dictionary SerialPortFilter {
29
30
  unsigned short usbVendorId;
30
31
  unsigned short usbProductId;
32
+ BluetoothServiceUUID bluetoothServiceClassId;
31
33
  };
32
34
 
33
35
  [Exposed=(DedicatedWorker,Window), SecureContext]
@@ -49,6 +51,7 @@ interface SerialPort : EventTarget {
49
51
  dictionary SerialPortInfo {
50
52
  unsigned short usbVendorId;
51
53
  unsigned short usbProductId;
54
+ BluetoothServiceUUID bluetoothServiceClassId;
52
55
  };
53
56
 
54
57
  dictionary SerialOptions {
@@ -11,6 +11,8 @@ interface SharedStorageWorklet : Worklet {
11
11
  interface SharedStorageWorkletGlobalScope : WorkletGlobalScope {
12
12
  undefined register(DOMString name,
13
13
  SharedStorageOperationConstructor operationCtor);
14
+
15
+ readonly attribute WorkletSharedStorage sharedStorage;
14
16
  };
15
17
 
16
18
  callback SharedStorageOperationConstructor =
@@ -70,6 +72,10 @@ dictionary SharedStorageUrlWithMetadata {
70
72
  object reportingMetadata;
71
73
  };
72
74
 
75
+ partial interface Window {
76
+ [SecureContext] readonly attribute WindowSharedStorage? sharedStorage;
77
+ };
78
+
73
79
  [Exposed=(SharedStorageWorklet)]
74
80
  interface WorkletSharedStorage : SharedStorage {
75
81
  Promise<DOMString> get(DOMString key);
@@ -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
- undefined setPrioritySignalsOverride(DOMString key, double priority);
90
+ undefined setPrioritySignalsOverride(DOMString key, optional 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
 
@@ -137,6 +138,7 @@ dictionary BiddingBrowserSignals {
137
138
  required USVString seller;
138
139
  required long joinCount;
139
140
  required long bidCount;
141
+ required long recency;
140
142
 
141
143
  USVString topLevelSeller;
142
144
  sequence<PreviousWin> prevWinsMs;
@@ -155,6 +157,39 @@ dictionary ScoringBrowserSignals {
155
157
  sequence<USVString> adComponents;
156
158
  };
157
159
 
160
+ dictionary ReportingBrowserSignals {
161
+ required DOMString topWindowHostname;
162
+ required USVString interestGroupOwner;
163
+ required USVString renderURL;
164
+ required double bid;
165
+ required double highestScoringOtherBid;
166
+
167
+ DOMString bidCurrency;
168
+ DOMString highestScoringOtherBidCurrency;
169
+ USVString topLevelSeller;
170
+ USVString componentSeller;
171
+
172
+ USVString buyerAndSellerReportingId;
173
+ };
174
+
175
+ dictionary ReportResultBrowserSignals : ReportingBrowserSignals {
176
+ required double desirability;
177
+
178
+ DOMString topLevelSellerSignals;
179
+ double modifiedBid;
180
+ unsigned long dataVersion;
181
+ };
182
+
183
+ dictionary ReportWinBrowserSignals : ReportingBrowserSignals {
184
+ double adCost;
185
+ USVString seller;
186
+ boolean madeHighestScoringOtherBid;
187
+ DOMString interestGroupName;
188
+ DOMString buyerReportingId;
189
+ unsigned short modelingSignals;
190
+ unsigned long dataVersion;
191
+ };
192
+
158
193
  dictionary ScoreAdOutput {
159
194
  required double desirability;
160
195
  double bid;
package/webauthn.idl CHANGED
@@ -56,6 +56,7 @@ dictionary AuthenticatorAssertionResponseJSON {
56
56
  required Base64URLString authenticatorData;
57
57
  required Base64URLString signature;
58
58
  Base64URLString userHandle;
59
+ Base64URLString attestationObject;
59
60
  };
60
61
 
61
62
  dictionary AuthenticationExtensionsClientOutputsJSON {
@@ -73,6 +74,10 @@ partial interface PublicKeyCredential {
73
74
  static Promise<boolean> isUserVerifyingPlatformAuthenticatorAvailable();
74
75
  };
75
76
 
77
+ partial interface PublicKeyCredential {
78
+ static Promise<boolean> isPasskeyPlatformAuthenticatorAvailable();
79
+ };
80
+
76
81
  partial interface PublicKeyCredential {
77
82
  static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
78
83
  };
@@ -86,6 +91,7 @@ dictionary PublicKeyCredentialCreationOptionsJSON {
86
91
  sequence<PublicKeyCredentialDescriptorJSON> excludeCredentials = [];
87
92
  AuthenticatorSelectionCriteria authenticatorSelection;
88
93
  DOMString attestation = "none";
94
+ sequence<DOMString> attestationFormats = [];
89
95
  AuthenticationExtensionsClientInputsJSON extensions;
90
96
  };
91
97
 
@@ -114,6 +120,8 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
114
120
  DOMString rpId;
115
121
  sequence<PublicKeyCredentialDescriptorJSON> allowCredentials = [];
116
122
  DOMString userVerification = "preferred";
123
+ DOMString attestation = "none";
124
+ sequence<DOMString> attestationFormats = [];
117
125
  AuthenticationExtensionsClientInputsJSON extensions;
118
126
  };
119
127
 
@@ -15,3 +15,11 @@ enum HevcBitstreamFormat {
15
15
  "annexb",
16
16
  "hevc",
17
17
  };
18
+
19
+ partial dictionary VideoEncoderEncodeOptions {
20
+ VideoEncoderEncodeOptionsForHevc hevc;
21
+ };
22
+
23
+ dictionary VideoEncoderEncodeOptionsForHevc {
24
+ unsigned short? quantizer;
25
+ };
package/webcodecs.idl CHANGED
@@ -161,7 +161,7 @@ dictionary AudioEncoderConfig {
161
161
  [EnforceRange] unsigned long sampleRate;
162
162
  [EnforceRange] unsigned long numberOfChannels;
163
163
  [EnforceRange] unsigned long long bitrate;
164
- BitrateMode bitrateMode;
164
+ BitrateMode bitrateMode = "variable";
165
165
  };
166
166
 
167
167
  dictionary VideoEncoderConfig {
package/webgpu.idl CHANGED
@@ -307,6 +307,7 @@ enum GPUTextureFormat {
307
307
  "bgra8unorm-srgb",
308
308
  // Packed 32-bit formats
309
309
  "rgb9e5ufloat",
310
+ "rgb10a2uint",
310
311
  "rgb10a2unorm",
311
312
  "rg11b10ufloat",
312
313
 
@@ -877,6 +878,8 @@ dictionary GPUImageCopyTextureTagged
877
878
  };
878
879
 
879
880
  typedef (ImageBitmap or
881
+ ImageData or
882
+ HTMLImageElement or
880
883
  HTMLVideoElement or
881
884
  VideoFrame or
882
885
  HTMLCanvasElement or
package/webhid.idl CHANGED
@@ -17,7 +17,7 @@ interface HID : EventTarget {
17
17
  attribute EventHandler onconnect;
18
18
  attribute EventHandler ondisconnect;
19
19
  Promise<sequence<HIDDevice>> getDevices();
20
- Promise<sequence<HIDDevice>> requestDevice(
20
+ [Exposed=Window] Promise<sequence<HIDDevice>> requestDevice(
21
21
  HIDDeviceRequestOptions options);
22
22
  };
23
23
 
package/webrtc-stats.idl CHANGED
@@ -44,7 +44,6 @@ dictionary RTCReceivedRtpStreamStats : RTCRtpStreamStats {
44
44
 
45
45
  dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
46
46
  required DOMString trackIdentifier;
47
- required DOMString kind;
48
47
  DOMString mid;
49
48
  DOMString remoteId;
50
49
  unsigned long framesDecoded;
@@ -95,6 +94,8 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
95
94
  double totalAssemblyTime;
96
95
  unsigned long long retransmittedPacketsReceived;
97
96
  unsigned long long retransmittedBytesReceived;
97
+ unsigned long rtxSsrc;
98
+ unsigned long fecSsrc;
98
99
  };
99
100
 
100
101
  dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
@@ -118,6 +119,7 @@ dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
118
119
  unsigned long long headerBytesSent;
119
120
  unsigned long long retransmittedPacketsSent;
120
121
  unsigned long long retransmittedBytesSent;
122
+ unsigned long rtxSsrc;
121
123
  double targetBitrate;
122
124
  unsigned long long totalEncodedBytesTarget;
123
125
  unsigned long frameWidth;
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/close-watcher.idl DELETED
@@ -1,19 +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: Close Watcher API (https://wicg.github.io/close-watcher/)
5
-
6
- [Exposed=Window]
7
- interface CloseWatcher : EventTarget {
8
- constructor(optional CloseWatcherOptions options = {});
9
-
10
- undefined destroy();
11
- undefined close();
12
-
13
- attribute EventHandler oncancel;
14
- attribute EventHandler onclose;
15
- };
16
-
17
- dictionary CloseWatcherOptions {
18
- AbortSignal signal;
19
- };
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
- };
package/gpc-spec.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: Global Privacy Control (GPC) (https://privacycg.github.io/gpc-spec/)
5
-
6
- interface mixin GlobalPrivacyControl {
7
- readonly attribute boolean globalPrivacyControl;
8
- };
9
- Navigator includes GlobalPrivacyControl;
10
- WorkerNavigator includes GlobalPrivacyControl;