@webref/idl 3.39.1 → 3.40.0

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
@@ -3,6 +3,21 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Federated Credential Management API (https://fedidcg.github.io/FedCM/)
5
5
 
6
+ enum LoginStatus {
7
+ "logged-in",
8
+ "logged-out",
9
+ };
10
+
11
+ [Exposed=Window, SecureContext]
12
+
13
+ interface NavigatorLogin {
14
+ Promise<undefined> setStatus(LoginStatus status);
15
+ };
16
+
17
+ partial interface Navigator {
18
+ [SecureContext] readonly attribute NavigatorLogin login;
19
+ };
20
+
6
21
  [Exposed=Window, SecureContext]
7
22
  interface IdentityCredential : Credential {
8
23
  readonly attribute USVString? token;
@@ -51,6 +66,7 @@ dictionary IdentityProviderAPIConfig {
51
66
  required USVString accounts_endpoint;
52
67
  required USVString client_metadata_endpoint;
53
68
  required USVString id_assertion_endpoint;
69
+ required USVString login_url;
54
70
  IdentityProviderBranding branding;
55
71
  };
56
72
 
@@ -84,5 +100,6 @@ dictionary IdentityUserInfo {
84
100
  };
85
101
 
86
102
  [Exposed=Window, SecureContext] interface IdentityProvider {
103
+ static undefined close();
87
104
  static Promise<sequence<IdentityUserInfo>> getUserInfo(IdentityProviderConfig config);
88
105
  };
package/accelerometer.idl CHANGED
@@ -26,15 +26,3 @@ interface LinearAccelerationSensor : Accelerometer {
26
26
  interface GravitySensor : Accelerometer {
27
27
  constructor(optional AccelerometerSensorOptions options = {});
28
28
  };
29
-
30
- dictionary AccelerometerReadingValues {
31
- required double? x;
32
- required double? y;
33
- required double? z;
34
- };
35
-
36
- dictionary LinearAccelerationReadingValues : AccelerometerReadingValues {
37
- };
38
-
39
- dictionary GravityReadingValues : AccelerometerReadingValues {
40
- };
package/ambient-light.idl CHANGED
@@ -8,7 +8,3 @@ interface AmbientLightSensor : Sensor {
8
8
  constructor(optional SensorOptions sensorOptions = {});
9
9
  readonly attribute double? illuminance;
10
10
  };
11
-
12
- dictionary AmbientLightReadingValues {
13
- required double? illuminance;
14
- };
@@ -7,3 +7,24 @@
7
7
  interface PageRevealEvent : Event {
8
8
  readonly attribute ViewTransition? viewTransition;
9
9
  };
10
+
11
+ dictionary StartViewTransitionOptions {
12
+ UpdateCallback? update = null;
13
+ sequence<DOMString>? type = null;
14
+ };
15
+
16
+ partial interface Document {
17
+
18
+ ViewTransition startViewTransition(optional (UpdateCallback or StartViewTransitionOptions) callbackOptions = {});
19
+ };
20
+
21
+ partial interface CSSRule {
22
+ const unsigned short VIEW_TRANSITION_RULE = 15;
23
+ };
24
+
25
+ enum ViewTransitionNavigation { "auto", "none" };
26
+ [Exposed=Window]
27
+ interface CSSViewTransitionRule : CSSRule {
28
+ attribute ViewTransitionNavigation navigation;
29
+ attribute DOMTokenList type;
30
+ };
@@ -3,10 +3,6 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)
5
5
 
6
- partial interface Document {
7
- ViewTransition startViewTransition(optional UpdateCallback? updateCallback = null);
8
- };
9
-
10
6
  callback UpdateCallback = Promise<any> ();
11
7
 
12
8
  [Exposed=Window]
package/dom.idl CHANGED
@@ -396,6 +396,7 @@ dictionary ShadowRootInit {
396
396
  required ShadowRootMode mode;
397
397
  boolean delegatesFocus = false;
398
398
  SlotAssignmentMode slotAssignment = "named";
399
+ boolean clonable = false;
399
400
  };
400
401
 
401
402
  [Exposed=Window,
package/edit-context.idl CHANGED
@@ -24,16 +24,11 @@ interface EditContext : EventTarget {
24
24
  undefined updateSelectionBounds(DOMRect selectionBounds);
25
25
  undefined updateCharacterBounds(unsigned long rangeStart, sequence<DOMRect> characterBounds);
26
26
 
27
- sequence<Element> attachedElements();
27
+ sequence<HTMLElement> attachedElements();
28
28
 
29
29
  readonly attribute DOMString text;
30
30
  readonly attribute unsigned long selectionStart;
31
31
  readonly attribute unsigned long selectionEnd;
32
- readonly attribute unsigned long compositionRangeStart;
33
- readonly attribute unsigned long compositionRangeEnd;
34
- readonly attribute boolean isComposing;
35
- readonly attribute DOMRect controlBounds;
36
- readonly attribute DOMRect selectionBounds;
37
32
  readonly attribute unsigned long characterBoundsRangeStart;
38
33
  sequence<DOMRect> characterBounds();
39
34
 
@@ -62,8 +57,6 @@ interface TextUpdateEvent : Event {
62
57
  readonly attribute DOMString text;
63
58
  readonly attribute unsigned long selectionStart;
64
59
  readonly attribute unsigned long selectionEnd;
65
- readonly attribute unsigned long compositionStart;
66
- readonly attribute unsigned long compositionEnd;
67
60
  };
68
61
 
69
62
  enum UnderlineStyle { "none", "solid", "double", "dotted", "dashed", "wavy" };
package/fetch.idl CHANGED
@@ -76,7 +76,7 @@ dictionary RequestInit {
76
76
  any window; // can only be set to null
77
77
  };
78
78
 
79
- enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
79
+ enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "json", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
80
80
  enum RequestMode { "navigate", "same-origin", "no-cors", "cors" };
81
81
  enum RequestCredentials { "omit", "same-origin", "include" };
82
82
  enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
@@ -28,33 +28,3 @@ interface SensorErrorEvent : Event {
28
28
  dictionary SensorErrorEventInit : EventInit {
29
29
  required DOMException error;
30
30
  };
31
-
32
- dictionary MockSensorConfiguration {
33
- required MockSensorType mockSensorType;
34
- boolean connected = true;
35
- double? maxSamplingFrequency;
36
- double? minSamplingFrequency;
37
- };
38
-
39
- dictionary MockSensor {
40
- double maxSamplingFrequency;
41
- double minSamplingFrequency;
42
- double requestedSamplingFrequency;
43
- };
44
-
45
- enum MockSensorType {
46
- "ambient-light",
47
- "accelerometer",
48
- "linear-acceleration",
49
- "gravity",
50
- "gyroscope",
51
- "magnetometer",
52
- "uncalibrated-magnetometer",
53
- "absolute-orientation",
54
- "relative-orientation",
55
- "geolocation",
56
- "proximity",
57
- };
58
-
59
- dictionary MockSensorReadingValues {
60
- };
@@ -35,13 +35,3 @@ dictionary GeolocationSensorReading {
35
35
  double? heading;
36
36
  double? speed;
37
37
  };
38
-
39
- dictionary GeolocationReadingValues {
40
- required double? latitude;
41
- required double? longitude;
42
- required double? altitude;
43
- required double? accuracy;
44
- required double? altitudeAccuracy;
45
- required double? heading;
46
- required double? speed;
47
- };
package/gyroscope.idl CHANGED
@@ -16,9 +16,3 @@ enum GyroscopeLocalCoordinateSystem { "device", "screen" };
16
16
  dictionary GyroscopeSensorOptions : SensorOptions {
17
17
  GyroscopeLocalCoordinateSystem referenceFrame = "device";
18
18
  };
19
-
20
- dictionary GyroscopeReadingValues {
21
- required double? x;
22
- required double? y;
23
- required double? z;
24
- };
package/html.idl CHANGED
@@ -48,6 +48,8 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
48
48
 
49
49
  [LegacyOverrideBuiltIns]
50
50
  partial interface Document {
51
+ static Document parseHTMLUnsafe(DOMString html);
52
+
51
53
  // resource metadata management
52
54
  [PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;
53
55
  attribute USVString domain;
@@ -1237,6 +1239,8 @@ interface HTMLTemplateElement : HTMLElement {
1237
1239
  [HTMLConstructor] constructor();
1238
1240
 
1239
1241
  readonly attribute DocumentFragment content;
1242
+ [CEReactions] attribute DOMString shadowRootMode;
1243
+ [CEReactions] attribute boolean shadowRootDelegatesFocus;
1240
1244
  };
1241
1245
 
1242
1246
  [Exposed=Window]
@@ -1687,6 +1691,22 @@ interface mixin ElementContentEditable {
1687
1691
  [CEReactions] attribute DOMString inputMode;
1688
1692
  };
1689
1693
 
1694
+ [Exposed=Window]
1695
+ interface CloseWatcher : EventTarget {
1696
+ constructor(optional CloseWatcherOptions options = {});
1697
+
1698
+ undefined requestClose();
1699
+ undefined close();
1700
+ undefined destroy();
1701
+
1702
+ attribute EventHandler oncancel;
1703
+ attribute EventHandler onclose;
1704
+ };
1705
+
1706
+ dictionary CloseWatcherOptions {
1707
+ AbortSignal signal;
1708
+ };
1709
+
1690
1710
  [Exposed=Window]
1691
1711
  interface DataTransfer {
1692
1712
  constructor();
@@ -2226,6 +2246,14 @@ enum DOMParserSupportedType {
2226
2246
  "image/svg+xml"
2227
2247
  };
2228
2248
 
2249
+ partial interface Element {
2250
+ undefined setHTMLUnsafe(DOMString html);
2251
+ };
2252
+
2253
+ partial interface ShadowRoot {
2254
+ undefined setHTMLUnsafe(DOMString html);
2255
+ };
2256
+
2229
2257
  [Exposed=Window]
2230
2258
  interface Navigator {
2231
2259
  // objects implementing this interface also implement the interfaces given below
package/image-capture.idl CHANGED
@@ -89,7 +89,7 @@ partial dictionary MediaTrackCapabilities {
89
89
  MediaSettingsRange tilt;
90
90
  MediaSettingsRange zoom;
91
91
 
92
- boolean torch;
92
+ sequence<boolean> torch;
93
93
  };
94
94
 
95
95
  partial dictionary MediaTrackConstraintSet {
package/magnetometer.idl CHANGED
@@ -29,18 +29,3 @@ interface UncalibratedMagnetometer : Sensor {
29
29
  readonly attribute double? yBias;
30
30
  readonly attribute double? zBias;
31
31
  };
32
-
33
- dictionary MagnetometerReadingValues {
34
- required double? x;
35
- required double? y;
36
- required double? z;
37
- };
38
-
39
- dictionary UncalibratedMagnetometerReadingValues {
40
- required double? x;
41
- required double? y;
42
- required double? z;
43
- required double? xBias;
44
- required double? yBias;
45
- required double? zBias;
46
- };
@@ -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: Managed Configuration API (https://wicg.github.io/WebApiDevice/managed_config/)
5
+
6
+ [
7
+ SecureContext
8
+ ] partial interface Navigator {
9
+ [SecureContext, SameObject]
10
+ readonly attribute NavigatorManagedData managed;
11
+ };
12
+
13
+ [
14
+ SecureContext,
15
+ Exposed=Window
16
+ ] interface NavigatorManagedData : EventTarget {
17
+ // Managed Configuration API.
18
+ Promise<record<DOMString, object>> getManagedConfiguration(sequence<DOMString> keys);
19
+ attribute EventHandler onmanagedconfigurationchange;
20
+ };
package/media-source.idl CHANGED
@@ -4,14 +4,14 @@
4
4
  // Source: Media Source Extensions™ (https://w3c.github.io/media-source/)
5
5
 
6
6
  enum ReadyState {
7
- "closed",
8
- "open",
9
- "ended"
7
+ "closed",
8
+ "open",
9
+ "ended",
10
10
  };
11
11
 
12
12
  enum EndOfStreamError {
13
- "network",
14
- "decode"
13
+ "network",
14
+ "decode",
15
15
  };
16
16
 
17
17
  [Exposed=(Window,DedicatedWorker)]
@@ -41,8 +41,8 @@ interface MediaSource : EventTarget {
41
41
  interface MediaSourceHandle {};
42
42
 
43
43
  enum AppendMode {
44
- "segments",
45
- "sequence"
44
+ "segments",
45
+ "sequence",
46
46
  };
47
47
 
48
48
  [Exposed=(Window,DedicatedWorker)]
package/mediasession.idl CHANGED
@@ -28,7 +28,8 @@ enum MediaSessionAction {
28
28
  "togglecamera",
29
29
  "hangup",
30
30
  "previousslide",
31
- "nextslide"
31
+ "nextslide",
32
+ "enterpictureinpicture"
32
33
  };
33
34
 
34
35
  callback MediaSessionActionHandler = undefined(MediaSessionActionDetails details);
@@ -26,10 +26,3 @@ interface AbsoluteOrientationSensor : OrientationSensor {
26
26
  interface RelativeOrientationSensor : OrientationSensor {
27
27
  constructor(optional OrientationSensorOptions sensorOptions = {});
28
28
  };
29
-
30
- dictionary AbsoluteOrientationReadingValues {
31
- required FrozenArray<double>? quaternion;
32
- };
33
-
34
- dictionary RelativeOrientationReadingValues : AbsoluteOrientationReadingValues {
35
- };
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.39.1",
4
+ "version": "3.40.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -12,10 +12,12 @@ typedef sequence<PerformanceEntry> PerformanceEntryList;
12
12
 
13
13
  [Exposed=(Window,Worker)]
14
14
  interface PerformanceEntry {
15
+ readonly attribute unsigned long long id;
15
16
  readonly attribute DOMString name;
16
17
  readonly attribute DOMString entryType;
17
18
  readonly attribute DOMHighResTimeStamp startTime;
18
19
  readonly attribute DOMHighResTimeStamp duration;
20
+ readonly attribute unsigned long long navigationId;
19
21
  [Default] object toJSON();
20
22
  };
21
23
 
package/proximity.idl CHANGED
@@ -10,9 +10,3 @@ interface ProximitySensor : Sensor {
10
10
  readonly attribute double? max;
11
11
  readonly attribute boolean? near;
12
12
  };
13
-
14
- dictionary ProximityReadingValues {
15
- required double? distance;
16
- required double? max;
17
- required boolean? near;
18
- };
package/turtledove.idl CHANGED
@@ -39,6 +39,7 @@ dictionary GenerateBidInterestGroup {
39
39
  dictionary AuctionAdInterestGroup : GenerateBidInterestGroup {
40
40
  double priority = 0.0;
41
41
  record<DOMString, double> prioritySignalsOverrides;
42
+ DOMString additionalBidKey;
42
43
  };
43
44
 
44
45
  [SecureContext]
@@ -51,6 +52,12 @@ dictionary AuctionAdInterestGroupKey {
51
52
  required USVString name;
52
53
  };
53
54
 
55
+ [SecureContext]
56
+ partial interface Navigator {
57
+ Promise<undefined> clearOriginJoinedAdInterestGroups(
58
+ USVString owner, optional sequence<USVString> interestGroupsToKeep = []);
59
+ };
60
+
54
61
  [SecureContext]
55
62
  partial interface Navigator {
56
63
  Promise<(USVString or FencedFrameConfig)?> runAdAuction(AuctionAdConfig config);
@@ -63,21 +70,29 @@ dictionary AuctionAdConfig {
63
70
  sequence<USVString> interestGroupBuyers;
64
71
  Promise<any> auctionSignals;
65
72
  Promise<any> sellerSignals;
66
- Promise<USVString> directFromSellerSignals;
73
+ Promise<DOMString> directFromSellerSignalsHeaderAdSlot;
67
74
  unsigned long long sellerTimeout;
68
75
  unsigned short sellerExperimentGroupId;
69
76
  USVString sellerCurrency;
70
77
  Promise<record<USVString, any>> perBuyerSignals;
71
78
  Promise<record<USVString, unsigned long long>> perBuyerTimeouts;
79
+ Promise<record<USVString, unsigned long long>> perBuyerCumulativeTimeouts;
72
80
  record<USVString, unsigned short> perBuyerGroupLimits;
73
81
  record<USVString, unsigned short> perBuyerExperimentGroupIds;
74
82
  record<USVString, record<USVString, double>> perBuyerPrioritySignals;
75
83
  Promise<record<USVString, USVString>> perBuyerCurrencies;
76
84
  sequence<AuctionAdConfig> componentAuctions = [];
85
+ Promise<undefined> additionalBids;
86
+ DOMString auctionNonce;
77
87
  AbortSignal? signal;
78
88
  Promise<boolean> resolveToConfig;
79
89
  };
80
90
 
91
+ [SecureContext]
92
+ partial interface Navigator {
93
+ Promise<DOMString> createAuctionNonce();
94
+ };
95
+
81
96
  [Exposed=InterestGroupScriptRunnerGlobalScope]
82
97
  interface InterestGroupScriptRunnerGlobalScope {
83
98
  };
@@ -131,6 +146,10 @@ partial interface Navigator {
131
146
  undefined updateAdInterestGroups();
132
147
  };
133
148
 
149
+ partial dictionary RequestInit {
150
+ boolean adAuctionHeaders;
151
+ };
152
+
134
153
  dictionary PreviousWin {
135
154
  required long long timeDelta;
136
155
  required DOMString adJSON;
@@ -191,6 +210,19 @@ dictionary ReportWinBrowserSignals : ReportingBrowserSignals {
191
210
  DOMString buyerReportingId;
192
211
  unsigned short modelingSignals;
193
212
  unsigned long dataVersion;
213
+ KAnonStatus kAnonStatus;
214
+ };
215
+
216
+ enum KAnonStatus { "passedAndEnforced", "passedNotEnforced", "belowThreshold", "notCalculated" };
217
+
218
+ dictionary DirectFromSellerSignalsForBuyer {
219
+ any auctionSignals = null;
220
+ any perBuyerSignals = null;
221
+ };
222
+
223
+ dictionary DirectFromSellerSignalsForSeller {
224
+ any auctionSignals = null;
225
+ any sellerSignals = null;
194
226
  };
195
227
 
196
228
  dictionary ScoreAdOutput {
package/urlpattern.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: URLPattern API (https://wicg.github.io/urlpattern/)
4
+ // Source: URL Pattern Standard (https://urlpattern.spec.whatwg.org/)
5
5
 
6
6
  typedef (USVString or URLPatternInit) URLPatternInput;
7
7
 
@@ -0,0 +1,67 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Web Bluetooth Scanning (https://webbluetoothcg.github.io/web-bluetooth/scanning.html)
5
+
6
+ dictionary BluetoothLEScanOptions {
7
+ sequence<BluetoothLEScanFilterInit> filters;
8
+ boolean keepRepeatedDevices = false;
9
+ boolean acceptAllAdvertisements = false;
10
+ };
11
+
12
+ partial interface Bluetooth {
13
+ [SecureContext]
14
+ Promise<BluetoothLEScan> requestLEScan(optional BluetoothLEScanOptions options = {});
15
+ };
16
+
17
+ [Exposed=Window, SecureContext]
18
+ interface BluetoothDataFilter {
19
+ constructor(optional BluetoothDataFilterInit init = {});
20
+ readonly attribute ArrayBuffer dataPrefix;
21
+ readonly attribute ArrayBuffer mask;
22
+ };
23
+
24
+ [Exposed=Window, SecureContext]
25
+ interface BluetoothManufacturerDataFilter {
26
+ constructor(optional object init);
27
+ readonly maplike<unsigned short, BluetoothDataFilter>;
28
+ };
29
+
30
+ [Exposed=Window, SecureContext]
31
+ interface BluetoothServiceDataFilter {
32
+ constructor(optional object init);
33
+ readonly maplike<UUID, BluetoothDataFilter>;
34
+ };
35
+
36
+ [Exposed=Window, SecureContext]
37
+ interface BluetoothLEScanFilter {
38
+ constructor(optional BluetoothLEScanFilterInit init = {});
39
+ readonly attribute DOMString? name;
40
+ readonly attribute DOMString? namePrefix;
41
+ readonly attribute FrozenArray<UUID> services;
42
+ readonly attribute BluetoothManufacturerDataFilter manufacturerData;
43
+ readonly attribute BluetoothServiceDataFilter serviceData;
44
+ };
45
+
46
+ [Exposed=Window, SecureContext]
47
+ interface BluetoothLEScan {
48
+ readonly attribute FrozenArray<BluetoothLEScanFilter> filters;
49
+ readonly attribute boolean keepRepeatedDevices;
50
+ readonly attribute boolean acceptAllAdvertisements;
51
+
52
+ readonly attribute boolean active;
53
+
54
+ undefined stop();
55
+ };
56
+
57
+ dictionary BluetoothLEScanPermissionDescriptor : PermissionDescriptor {
58
+ // These match BluetoothLEScanOptions.
59
+ sequence<BluetoothLEScanFilterInit> filters;
60
+ boolean keepRepeatedDevices = false;
61
+ boolean acceptAllAdvertisements = false;
62
+ };
63
+
64
+ [Exposed=Window, SecureContext]
65
+ interface BluetoothLEScanPermissionResult : PermissionStatus {
66
+ attribute FrozenArray<BluetoothLEScan> scans;
67
+ };
package/webauthn.idl CHANGED
@@ -298,6 +298,7 @@ partial dictionary AuthenticationExtensionsClientInputs {
298
298
 
299
299
  dictionary CredentialPropertiesOutput {
300
300
  boolean rk;
301
+ USVString authenticatorDisplayName;
301
302
  };
302
303
 
303
304
  partial dictionary AuthenticationExtensionsClientOutputs {
package/webcodecs.idl CHANGED
@@ -177,6 +177,7 @@ dictionary VideoEncoderConfig {
177
177
  DOMString scalabilityMode;
178
178
  VideoEncoderBitrateMode bitrateMode = "variable";
179
179
  LatencyMode latencyMode = "quality";
180
+ DOMString contentHint;
180
181
  };
181
182
 
182
183
  enum HardwareAcceleration {
@@ -229,6 +230,7 @@ dictionary EncodedAudioChunkInit {
229
230
  [EnforceRange] required long long timestamp; // microseconds
230
231
  [EnforceRange] unsigned long long duration; // microseconds
231
232
  required BufferSource data;
233
+ sequence<ArrayBuffer> transfer = [];
232
234
  };
233
235
 
234
236
  enum EncodedAudioChunkType {
@@ -252,6 +254,7 @@ dictionary EncodedVideoChunkInit {
252
254
  [EnforceRange] required long long timestamp; // microseconds
253
255
  [EnforceRange] unsigned long long duration; // microseconds
254
256
  required AllowSharedBufferSource data;
257
+ sequence<ArrayBuffer> transfer = [];
255
258
  };
256
259
 
257
260
  enum EncodedVideoChunkType {
package/webgpu.idl CHANGED
@@ -95,7 +95,7 @@ interface GPUAdapter {
95
95
  readonly attribute boolean isFallbackAdapter;
96
96
 
97
97
  Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {});
98
- Promise<GPUAdapterInfo> requestAdapterInfo(optional sequence<DOMString> unmaskHints = []);
98
+ Promise<GPUAdapterInfo> requestAdapterInfo();
99
99
  };
100
100
 
101
101
  dictionary GPUDeviceDescriptor
@@ -520,6 +520,8 @@ dictionary GPUTextureBindingLayout {
520
520
 
521
521
  enum GPUStorageTextureAccess {
522
522
  "write-only",
523
+ "read-only",
524
+ "read-write",
523
525
  };
524
526
 
525
527
  dictionary GPUStorageTextureBindingLayout {
@@ -575,10 +577,11 @@ dictionary GPUShaderModuleDescriptor
575
577
  : GPUObjectDescriptorBase {
576
578
  required USVString code;
577
579
  object sourceMap;
578
- record<USVString, GPUShaderModuleCompilationHint> hints;
580
+ sequence<GPUShaderModuleCompilationHint> compilationHints = [];
579
581
  };
580
582
 
581
583
  dictionary GPUShaderModuleCompilationHint {
584
+ required USVString entryPoint;
582
585
  (GPUPipelineLayout or GPUAutoLayoutMode) layout;
583
586
  };
584
587
 
@@ -760,8 +763,8 @@ enum GPUBlendOperation {
760
763
  dictionary GPUDepthStencilState {
761
764
  required GPUTextureFormat format;
762
765
 
763
- required boolean depthWriteEnabled;
764
- required GPUCompareFunction depthCompare;
766
+ boolean depthWriteEnabled;
767
+ GPUCompareFunction depthCompare;
765
768
 
766
769
  GPUStencilFaceState stencilFront = {};
767
770
  GPUStencilFaceState stencilBack = {};
@@ -1036,6 +1039,7 @@ dictionary GPURenderPassDescriptor
1036
1039
 
1037
1040
  dictionary GPURenderPassColorAttachment {
1038
1041
  required GPUTextureView view;
1042
+ GPUIntegerCoordinate depthSlice;
1039
1043
  GPUTextureView resolveTarget;
1040
1044
 
1041
1045
  GPUColor clearValue;
package/webmidi.idl CHANGED
@@ -73,7 +73,7 @@ enum MIDIPortConnectionState {
73
73
  [SecureContext, Exposed=Window]
74
74
  interface MIDIMessageEvent : Event {
75
75
  constructor(DOMString type, optional MIDIMessageEventInit eventInitDict = {});
76
- readonly attribute Uint8Array data;
76
+ readonly attribute Uint8Array? data;
77
77
  };
78
78
 
79
79
  dictionary MIDIMessageEventInit: EventInit {
@@ -83,7 +83,7 @@ dictionary MIDIMessageEventInit: EventInit {
83
83
  [SecureContext, Exposed=Window]
84
84
  interface MIDIConnectionEvent : Event {
85
85
  constructor(DOMString type, optional MIDIConnectionEventInit eventInitDict = {});
86
- readonly attribute MIDIPort port;
86
+ readonly attribute MIDIPort? port;
87
87
  };
88
88
 
89
89
  dictionary MIDIConnectionEventInit: EventInit {
package/webnn.idl CHANGED
@@ -44,7 +44,7 @@ enum MLInputOperandLayout {
44
44
  "nhwc"
45
45
  };
46
46
 
47
- enum MLOperandType {
47
+ enum MLOperandDataType {
48
48
  "float32",
49
49
  "float16",
50
50
  "int32",
@@ -54,8 +54,8 @@ enum MLOperandType {
54
54
  };
55
55
 
56
56
  dictionary MLOperandDescriptor {
57
- // The operand type.
58
- required MLOperandType type;
57
+ // The operand data type.
58
+ required MLOperandDataType dataType;
59
59
 
60
60
  // The dimensions field is only required for tensor operands.
61
61
  sequence<unsigned long> dimensions;
@@ -134,7 +134,7 @@ interface MLGraphBuilder {
134
134
  MLOperand constant(MLOperandDescriptor descriptor, MLBufferView bufferView);
135
135
 
136
136
  // Create a single-value operand from the specified number of the specified type.
137
- MLOperand constant(double value, optional MLOperandType type = "float32");
137
+ MLOperand constant(double value, optional MLOperandDataType dataType = "float32");
138
138
 
139
139
  // Compile the graph up to the specified output operands asynchronously.
140
140
  Promise<MLGraph> build(MLNamedOperands outputs);
@@ -75,6 +75,7 @@ dictionary RTCEncodedVideoFrameMetadata {
75
75
  sequence<unsigned long> contributingSources;
76
76
  long long timestamp; // microseconds
77
77
  unsigned long rtpTimestamp;
78
+ DOMString mimeType;
78
79
  };
79
80
 
80
81
  // New interfaces to define encoded video and audio frames. Will eventually
@@ -92,6 +93,7 @@ dictionary RTCEncodedAudioFrameMetadata {
92
93
  sequence<unsigned long> contributingSources;
93
94
  short sequenceNumber;
94
95
  unsigned long rtpTimestamp;
96
+ DOMString mimeType;
95
97
  };
96
98
 
97
99
  [Exposed=(Window,DedicatedWorker), Serializable]
package/webtransport.idl CHANGED
@@ -9,8 +9,8 @@ interface WebTransportDatagramDuplexStream {
9
9
  readonly attribute WritableStream writable;
10
10
 
11
11
  readonly attribute unsigned long maxDatagramSize;
12
- attribute unrestricted double incomingMaxAge;
13
- attribute unrestricted double outgoingMaxAge;
12
+ attribute unrestricted double? incomingMaxAge;
13
+ attribute unrestricted double? outgoingMaxAge;
14
14
  attribute unrestricted double incomingHighWaterMark;
15
15
  attribute unrestricted double outgoingHighWaterMark;
16
16
  };
@@ -38,6 +38,7 @@ interface WebTransport {
38
38
  optional WebTransportSendStreamOptions options = {});
39
39
  /* a ReadableStream of WebTransportReceiveStream objects */
40
40
  readonly attribute ReadableStream incomingUnidirectionalStreams;
41
+ WebTransportSendGroup createSendGroup();
41
42
  };
42
43
 
43
44
  enum WebTransportReliabilityMode {
@@ -70,11 +71,11 @@ dictionary WebTransportCloseInfo {
70
71
  };
71
72
 
72
73
  dictionary WebTransportSendStreamOptions {
73
- long long? sendOrder = null;
74
+ WebTransportSendGroup? sendGroup = null;
75
+ long long sendOrder = 0;
74
76
  };
75
77
 
76
78
  dictionary WebTransportConnectionStats {
77
- DOMHighResTimeStamp timestamp;
78
79
  unsigned long long bytesSent;
79
80
  unsigned long long packetsSent;
80
81
  unsigned long long bytesLost;
@@ -89,7 +90,6 @@ dictionary WebTransportConnectionStats {
89
90
  };
90
91
 
91
92
  dictionary WebTransportDatagramStats {
92
- DOMHighResTimeStamp timestamp;
93
93
  unsigned long long expiredOutgoing;
94
94
  unsigned long long droppedIncoming;
95
95
  unsigned long long lostOutgoing;
@@ -97,24 +97,28 @@ dictionary WebTransportDatagramStats {
97
97
 
98
98
  [Exposed=(Window,Worker), SecureContext, Transferable]
99
99
  interface WebTransportSendStream : WritableStream {
100
- attribute long long? sendOrder;
100
+ attribute WebTransportSendGroup? sendGroup;
101
+ attribute long long sendOrder;
101
102
  Promise<WebTransportSendStreamStats> getStats();
102
103
  };
103
104
 
104
105
  dictionary WebTransportSendStreamStats {
105
- DOMHighResTimeStamp timestamp;
106
106
  unsigned long long bytesWritten;
107
107
  unsigned long long bytesSent;
108
108
  unsigned long long bytesAcknowledged;
109
109
  };
110
110
 
111
+ [Exposed=(Window,Worker), SecureContext]
112
+ interface WebTransportSendGroup {
113
+ Promise<WebTransportSendStreamStats> getStats();
114
+ };
115
+
111
116
  [Exposed=(Window,Worker), SecureContext, Transferable]
112
117
  interface WebTransportReceiveStream : ReadableStream {
113
118
  Promise<WebTransportReceiveStreamStats> getStats();
114
119
  };
115
120
 
116
121
  dictionary WebTransportReceiveStreamStats {
117
- DOMHighResTimeStamp timestamp;
118
122
  unsigned long long bytesReceived;
119
123
  unsigned long long bytesRead;
120
124
  };
package/webusb.idl CHANGED
@@ -230,6 +230,13 @@ interface USBEndpoint {
230
230
  readonly attribute unsigned long packetSize;
231
231
  };
232
232
 
233
+ // USBBlocklistEntry is never exposed.
234
+ dictionary USBBlocklistEntry {
235
+ required unsigned short idVendor;
236
+ required unsigned short idProduct;
237
+ required unsigned short bcdDevice;
238
+ };
239
+
233
240
  dictionary USBPermissionDescriptor : PermissionDescriptor {
234
241
  sequence<USBDeviceFilter> filters;
235
242
  sequence<USBDeviceFilter> exclusionFilters;
@@ -0,0 +1,32 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: WebXR Plane Detection Module (https://immersive-web.github.io/real-world-geometry/plane-detection.html)
5
+
6
+ enum XRPlaneOrientation {
7
+ "horizontal",
8
+ "vertical"
9
+ };
10
+
11
+ [Exposed=Window]
12
+ interface XRPlane {
13
+ [SameObject] readonly attribute XRSpace planeSpace;
14
+
15
+ readonly attribute FrozenArray<DOMPointReadOnly> polygon;
16
+ readonly attribute XRPlaneOrientation? orientation;
17
+ readonly attribute DOMHighResTimeStamp lastChangedTime;
18
+ readonly attribute DOMString? semanticLabel;
19
+ };
20
+
21
+ [Exposed=Window]
22
+ interface XRPlaneSet {
23
+ readonly setlike<XRPlane>;
24
+ };
25
+
26
+ partial interface XRFrame {
27
+ readonly attribute XRPlaneSet detectedPlanes;
28
+ };
29
+
30
+ partial interface XRSession {
31
+ Promise<undefined> initiateRoomCapture();
32
+ };