@webref/idl 3.39.2 → 3.41.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
- };
@@ -4,27 +4,27 @@
4
4
  // Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
5
5
 
6
6
  [Exposed=Window]
7
- interface RevealEvent : Event {
7
+ interface PageRevealEvent : Event {
8
8
  readonly attribute ViewTransition? viewTransition;
9
9
  };
10
10
 
11
11
  dictionary StartViewTransitionOptions {
12
12
  UpdateCallback? update = null;
13
- sequence<DOMString>? types = null;
13
+ sequence<DOMString>? type = null;
14
14
  };
15
15
 
16
16
  partial interface Document {
17
17
 
18
- ViewTransition startViewTransition((UpdateCallback or StartViewTransitionOptions?) callbackOptionsOrNull);
18
+ ViewTransition startViewTransition(optional (UpdateCallback or StartViewTransitionOptions) callbackOptions = {});
19
19
  };
20
20
 
21
21
  partial interface CSSRule {
22
- const unsigned short VIEW_TRANSITION_RULE = 15;
22
+ const unsigned short VIEW_TRANSITION_RULE = 15;
23
23
  };
24
24
 
25
- enum ViewTransitionTrigger { "navigation", "none" };
25
+ enum ViewTransitionNavigation { "auto", "none" };
26
26
  [Exposed=Window]
27
27
  interface CSSViewTransitionRule : CSSRule {
28
- readonly attribute CSSOMString navigationConditionText;
29
- attribute ViewTransitionTrigger trigger;
28
+ attribute ViewTransitionNavigation navigation;
29
+ attribute DOMTokenList type;
30
30
  };
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" };
@@ -43,9 +43,26 @@ enum MediaKeySessionType {
43
43
 
44
44
  [Exposed=Window, SecureContext] interface MediaKeys {
45
45
  MediaKeySession createSession (optional MediaKeySessionType sessionType = "temporary");
46
+ Promise<MediaKeyStatus> getStatusForPolicy (optional MediaKeysPolicy policy = {});
46
47
  Promise<boolean> setServerCertificate (BufferSource serverCertificate);
47
48
  };
48
49
 
50
+ dictionary MediaKeysPolicy {
51
+ HDCPVersion minHdcpVersion;
52
+ };
53
+
54
+ enum HDCPVersion {
55
+ "1.0",
56
+ "1.1",
57
+ "1.2",
58
+ "1.3",
59
+ "1.4",
60
+ "2.0",
61
+ "2.1",
62
+ "2.2",
63
+ "2.3",
64
+ };
65
+
49
66
  enum MediaKeySessionClosedReason {
50
67
  "internal-error",
51
68
  "closed-by-application",
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" };
@@ -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
@@ -1001,6 +1001,8 @@ interface HTMLSelectElement : HTMLElement {
1001
1001
  boolean reportValidity();
1002
1002
  undefined setCustomValidity(DOMString error);
1003
1003
 
1004
+ undefined showPicker();
1005
+
1004
1006
  readonly attribute NodeList labels;
1005
1007
  };
1006
1008
 
@@ -1239,6 +1241,8 @@ interface HTMLTemplateElement : HTMLElement {
1239
1241
  [HTMLConstructor] constructor();
1240
1242
 
1241
1243
  readonly attribute DocumentFragment content;
1244
+ [CEReactions] attribute DOMString shadowRootMode;
1245
+ [CEReactions] attribute boolean shadowRootDelegatesFocus;
1242
1246
  };
1243
1247
 
1244
1248
  [Exposed=Window]
@@ -1689,6 +1693,22 @@ interface mixin ElementContentEditable {
1689
1693
  [CEReactions] attribute DOMString inputMode;
1690
1694
  };
1691
1695
 
1696
+ [Exposed=Window]
1697
+ interface CloseWatcher : EventTarget {
1698
+ constructor(optional CloseWatcherOptions options = {});
1699
+
1700
+ undefined requestClose();
1701
+ undefined close();
1702
+ undefined destroy();
1703
+
1704
+ attribute EventHandler oncancel;
1705
+ attribute EventHandler onclose;
1706
+ };
1707
+
1708
+ dictionary CloseWatcherOptions {
1709
+ AbortSignal signal;
1710
+ };
1711
+
1692
1712
  [Exposed=Window]
1693
1713
  interface DataTransfer {
1694
1714
  constructor();
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)]
@@ -29,10 +29,6 @@ partial interface Window {
29
29
  [SecureContext] attribute EventHandler ondeviceorientationabsolute;
30
30
  };
31
31
 
32
- partial interface Window {
33
- [SecureContext] attribute EventHandler ondevicemotion;
34
- };
35
-
36
32
  [Exposed=Window, SecureContext]
37
33
  interface DeviceMotionEventAcceleration {
38
34
  readonly attribute double? x;
@@ -47,6 +43,10 @@ interface DeviceMotionEventRotationRate {
47
43
  readonly attribute double? gamma;
48
44
  };
49
45
 
46
+ partial interface Window {
47
+ [SecureContext] attribute EventHandler ondevicemotion;
48
+ };
49
+
50
50
  [Exposed=Window, SecureContext]
51
51
  interface DeviceMotionEvent : Event {
52
52
  constructor(DOMString type, optional DeviceMotionEventInit eventInitDict = {});
@@ -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.2",
4
+ "version": "3.41.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -3,13 +3,17 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Private Network Access (https://wicg.github.io/private-network-access/)
5
5
 
6
+ enum IPAddressSpace { "public", "private", "local" };
7
+
6
8
  dictionary PrivateNetworkAccessPermissionDescriptor
7
9
  : PermissionDescriptor {
8
10
  DOMString id;
9
11
  };
10
12
 
11
13
  partial dictionary RequestInit {
12
- RequestTargetAddressSpace targetAddressSpace;
14
+ IPAddressSpace targetAddressSpace;
13
15
  };
14
16
 
15
- enum RequestTargetAddressSpace { "private", "local" };
17
+ partial interface Request {
18
+ readonly attribute IPAddressSpace targetAddressSpace;
19
+ };
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/streams.idl CHANGED
@@ -84,11 +84,15 @@ dictionary ReadableStreamReadResult {
84
84
  interface ReadableStreamBYOBReader {
85
85
  constructor(ReadableStream stream);
86
86
 
87
- Promise<ReadableStreamReadResult> read(ArrayBufferView view);
87
+ Promise<ReadableStreamReadResult> read(ArrayBufferView view, optional ReadableStreamBYOBReaderReadOptions options = {});
88
88
  undefined releaseLock();
89
89
  };
90
90
  ReadableStreamBYOBReader includes ReadableStreamGenericReader;
91
91
 
92
+ dictionary ReadableStreamBYOBReaderReadOptions {
93
+ [EnforceRange] unsigned long long min = 1;
94
+ };
95
+
92
96
  [Exposed=*]
93
97
  interface ReadableStreamDefaultController {
94
98
  readonly attribute unrestricted double? desiredSize;
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
@@ -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: Web Authentication: An API for accessing Public Key Credentials - Level (https://w3c.github.io/webauthn/)
4
+ // Source: Web Authentication: An API for accessing Public Key Credentials - Level 3 (https://w3c.github.io/webauthn/)
5
5
 
6
6
  [SecureContext, Exposed=Window]
7
7
  interface PublicKeyCredential : Credential {
@@ -364,19 +364,20 @@ partial dictionary AuthenticationExtensionsClientOutputs {
364
364
  UvmEntries uvm;
365
365
  };
366
366
 
367
- dictionary AuthenticationExtensionsDevicePublicKeyInputs {
368
- DOMString attestation = "none";
367
+ dictionary AuthenticationExtensionsSupplementalPubKeysInputs {
368
+ required sequence<DOMString> scopes;
369
+ DOMString attestation = "indirect";
369
370
  sequence<DOMString> attestationFormats = [];
370
371
  };
371
372
 
372
373
  partial dictionary AuthenticationExtensionsClientInputs {
373
- AuthenticationExtensionsDevicePublicKeyInputs devicePubKey;
374
+ AuthenticationExtensionsSupplementalPubKeysInputs supplementalPubKeys;
374
375
  };
375
376
 
376
- dictionary AuthenticationExtensionsDevicePublicKeyOutputs {
377
- ArrayBuffer signature;
377
+ dictionary AuthenticationExtensionsSupplementalPubKeysOutputs {
378
+ sequence<ArrayBuffer> signatures;
378
379
  };
379
380
 
380
381
  partial dictionary AuthenticationExtensionsClientOutputs {
381
- AuthenticationExtensionsDevicePublicKeyOutputs devicePubKey;
382
+ AuthenticationExtensionsSupplementalPubKeysOutputs supplementalPubKeys;
382
383
  };
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
@@ -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
 
@@ -936,8 +939,6 @@ interface GPUCommandEncoder {
936
939
  optional GPUSize64 offset = 0,
937
940
  optional GPUSize64 size);
938
941
 
939
- undefined writeTimestamp(GPUQuerySet querySet, GPUSize32 queryIndex);
940
-
941
942
  undefined resolveQuerySet(
942
943
  GPUQuerySet querySet,
943
944
  GPUSize32 firstQuery,
@@ -1036,6 +1037,7 @@ dictionary GPURenderPassDescriptor
1036
1037
 
1037
1038
  dictionary GPURenderPassColorAttachment {
1038
1039
  required GPUTextureView view;
1040
+ GPUIntegerCoordinate depthSlice;
1039
1041
  GPUTextureView resolveTarget;
1040
1042
 
1041
1043
  GPUColor clearValue;
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
  };
@@ -76,7 +76,6 @@ dictionary WebTransportSendStreamOptions {
76
76
  };
77
77
 
78
78
  dictionary WebTransportConnectionStats {
79
- DOMHighResTimeStamp timestamp;
80
79
  unsigned long long bytesSent;
81
80
  unsigned long long packetsSent;
82
81
  unsigned long long bytesLost;
@@ -91,7 +90,6 @@ dictionary WebTransportConnectionStats {
91
90
  };
92
91
 
93
92
  dictionary WebTransportDatagramStats {
94
- DOMHighResTimeStamp timestamp;
95
93
  unsigned long long expiredOutgoing;
96
94
  unsigned long long droppedIncoming;
97
95
  unsigned long long lostOutgoing;
@@ -105,7 +103,6 @@ interface WebTransportSendStream : WritableStream {
105
103
  };
106
104
 
107
105
  dictionary WebTransportSendStreamStats {
108
- DOMHighResTimeStamp timestamp;
109
106
  unsigned long long bytesWritten;
110
107
  unsigned long long bytesSent;
111
108
  unsigned long long bytesAcknowledged;
@@ -122,7 +119,6 @@ interface WebTransportReceiveStream : ReadableStream {
122
119
  };
123
120
 
124
121
  dictionary WebTransportReceiveStreamStats {
125
- DOMHighResTimeStamp timestamp;
126
122
  unsigned long long bytesReceived;
127
123
  unsigned long long bytesRead;
128
124
  };
@@ -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
+ };