@webref/idl 3.30.0 → 3.32.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/badging.idl CHANGED
@@ -3,15 +3,11 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Badging API (https://w3c.github.io/badging/)
5
5
 
6
- [SecureContext]
7
- partial interface Navigator {
8
- Promise<undefined> setClientBadge(optional [EnforceRange] unsigned long long contents);
9
- Promise<undefined> clearClientBadge();
10
- };
11
-
12
6
  [SecureContext]
13
7
  interface mixin NavigatorBadge {
14
- Promise<undefined> setAppBadge(optional [EnforceRange] unsigned long long contents);
8
+ Promise<undefined> setAppBadge(
9
+ optional [EnforceRange] unsigned long long contents
10
+ );
15
11
  Promise<undefined> clearAppBadge();
16
12
  };
17
13
 
package/compression.idl CHANGED
@@ -3,14 +3,20 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Compression Streams (https://wicg.github.io/compression/)
5
5
 
6
+ enum CompressionFormat {
7
+ "deflate",
8
+ "deflate-raw",
9
+ "gzip",
10
+ };
11
+
6
12
  [Exposed=*]
7
13
  interface CompressionStream {
8
- constructor(DOMString format);
14
+ constructor(CompressionFormat format);
9
15
  };
10
16
  CompressionStream includes GenericTransformStream;
11
17
 
12
18
  [Exposed=*]
13
19
  interface DecompressionStream {
14
- constructor(DOMString format);
20
+ constructor(CompressionFormat format);
15
21
  };
16
22
  DecompressionStream includes GenericTransformStream;
@@ -3,17 +3,15 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Compute Pressure Level 1 (https://w3c.github.io/compute-pressure/)
5
5
 
6
- enum PressureState { "nominal", "fair", "serious", "critical" };
6
+ enum PressureSource { "thermals", "cpu" };
7
7
 
8
- enum PressureFactor { "thermal", "power-supply" };
8
+ enum PressureState { "nominal", "fair", "serious", "critical" };
9
9
 
10
10
  callback PressureUpdateCallback = undefined (
11
11
  sequence<PressureRecord> changes,
12
12
  PressureObserver observer
13
13
  );
14
14
 
15
- enum PressureSource { "cpu" };
16
-
17
15
  [Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
18
16
  interface PressureObserver {
19
17
  constructor(PressureUpdateCallback callback, optional PressureObserverOptions options = {});
@@ -30,7 +28,6 @@ interface PressureObserver {
30
28
  interface PressureRecord {
31
29
  readonly attribute PressureSource source;
32
30
  readonly attribute PressureState state;
33
- readonly attribute FrozenArray<PressureFactor> factors;
34
31
  readonly attribute DOMHighResTimeStamp time;
35
32
  [Default] object toJSON();
36
33
  };
@@ -16,6 +16,5 @@ interface DevicePosture : EventTarget {
16
16
 
17
17
  enum DevicePostureType {
18
18
  "continuous",
19
- "folded",
20
- "folded-over"
19
+ "folded"
21
20
  };
package/fenced-frame.idl CHANGED
@@ -7,7 +7,7 @@
7
7
  interface HTMLFencedFrameElement : HTMLElement {
8
8
  [HTMLConstructor] constructor();
9
9
 
10
- [CEReactions] attribute FencedFrameConfig config;
10
+ [CEReactions] attribute FencedFrameConfig? config;
11
11
  [CEReactions] attribute DOMString width;
12
12
  [CEReactions] attribute DOMString height;
13
13
  };
package/fs.idl CHANGED
@@ -15,7 +15,6 @@ interface FileSystemHandle {
15
15
 
16
16
  Promise<boolean> isSameEntry(FileSystemHandle other);
17
17
  };
18
-
19
18
  dictionary FileSystemCreateWritableOptions {
20
19
  boolean keepExistingData = false;
21
20
  };
@@ -27,7 +26,6 @@ interface FileSystemFileHandle : FileSystemHandle {
27
26
  [Exposed=DedicatedWorker]
28
27
  Promise<FileSystemSyncAccessHandle> createSyncAccessHandle();
29
28
  };
30
-
31
29
  dictionary FileSystemGetFileOptions {
32
30
  boolean create = false;
33
31
  };
@@ -51,7 +49,6 @@ interface FileSystemDirectoryHandle : FileSystemHandle {
51
49
 
52
50
  Promise<sequence<USVString>?> resolve(FileSystemHandle possibleDescendant);
53
51
  };
54
-
55
52
  enum WriteCommandType {
56
53
  "write",
57
54
  "seek",
@@ -73,7 +70,6 @@ interface FileSystemWritableFileStream : WritableStream {
73
70
  Promise<undefined> seek(unsigned long long position);
74
71
  Promise<undefined> truncate(unsigned long long size);
75
72
  };
76
-
77
73
  dictionary FileSystemReadWriteOptions {
78
74
  [EnforceRange] unsigned long long at;
79
75
  };
package/html.idl CHANGED
@@ -1765,10 +1765,11 @@ interface Window : EventTarget {
1765
1765
  [Replaceable] readonly attribute WindowProxy? parent;
1766
1766
  readonly attribute Element? frameElement;
1767
1767
  WindowProxy? open(optional USVString url = "", optional DOMString target = "_blank", optional [LegacyNullToEmptyString] DOMString features = "");
1768
- getter object (DOMString name);
1768
+
1769
1769
  // Since this is the global object, the IDL named getter adds a NamedPropertiesObject exotic
1770
1770
  // object on the prototype chain. Indeed, this does not make the global object an exotic object.
1771
1771
  // Indexed access is taken care of by the WindowProxy exotic object.
1772
+ getter object (DOMString name);
1772
1773
 
1773
1774
  // the user agent
1774
1775
  readonly attribute Navigator navigator;
package/notifications.idl CHANGED
@@ -72,7 +72,6 @@ dictionary NotificationAction {
72
72
  };
73
73
 
74
74
  callback NotificationPermissionCallback = undefined (NotificationPermission permission);
75
-
76
75
  dictionary GetNotificationOptions {
77
76
  DOMString tag = "";
78
77
  };
@@ -29,10 +29,6 @@ partial interface Window {
29
29
  [SecureContext] attribute EventHandler ondeviceorientationabsolute;
30
30
  };
31
31
 
32
- partial interface Window {
33
- attribute EventHandler oncompassneedscalibration;
34
- };
35
-
36
32
  partial interface Window {
37
33
  [SecureContext] attribute EventHandler ondevicemotion;
38
34
  };
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.30.0",
4
+ "version": "3.32.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -18,7 +18,6 @@ partial interface Document {
18
18
  partial interface HTMLIFrameElement {
19
19
  [SameObject] readonly attribute PermissionsPolicy permissionsPolicy;
20
20
  };
21
-
22
21
  [Exposed=Window]
23
22
  interface PermissionsPolicyViolationReportBody : ReportBody {
24
23
  readonly attribute DOMString featureId;
@@ -1,10 +1,10 @@
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: requestStorageAccessForOrigin API (https://privacycg.github.io/requestStorageAccessForOrigin/)
4
+ // Source: requestStorageAccessFor API (https://privacycg.github.io/requestStorageAccessFor/)
5
5
 
6
6
  partial interface Document {
7
- Promise<undefined> requestStorageAccessForOrigin(USVString requestedOrigin);
7
+ Promise<undefined> requestStorageAccessFor(USVString requestedOrigin);
8
8
  };
9
9
 
10
10
  dictionary TopLevelStorageAccessPermissionDescriptor : PermissionDescriptor {
@@ -25,6 +25,7 @@ interface ScrollTimeline : AnimationTimeline {
25
25
  dictionary ViewTimelineOptions {
26
26
  Element subject;
27
27
  ScrollAxis axis = "block";
28
+ (DOMString or sequence<(CSSNumericValue or CSSKeywordValue)>) inset = "auto";
28
29
  };
29
30
 
30
31
  [Exposed=Window]
@@ -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: Text Fragments (https://wicg.github.io/scroll-to-text-fragment/)
4
+ // Source: URL Fragment Text Directives (https://wicg.github.io/scroll-to-text-fragment/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface FragmentDirective {
@@ -15,7 +15,6 @@ dictionary SecurePaymentConfirmationRequest {
15
15
  sequence<USVString> locale;
16
16
  boolean showOptOut;
17
17
  };
18
-
19
18
  partial dictionary AuthenticationExtensionsClientInputs {
20
19
  AuthenticationExtensionsPaymentInputs payment;
21
20
  };
@@ -31,11 +30,9 @@ dictionary AuthenticationExtensionsPaymentInputs {
31
30
  PaymentCurrencyAmount total;
32
31
  PaymentCredentialInstrument instrument;
33
32
  };
34
-
35
33
  dictionary CollectedClientPaymentData : CollectedClientData {
36
34
  required CollectedClientAdditionalPaymentData payment;
37
35
  };
38
-
39
36
  dictionary CollectedClientAdditionalPaymentData {
40
37
  required USVString rpId;
41
38
  required USVString topOrigin;
@@ -44,7 +41,6 @@ dictionary CollectedClientAdditionalPaymentData {
44
41
  required PaymentCurrencyAmount total;
45
42
  required PaymentCredentialInstrument instrument;
46
43
  };
47
-
48
44
  dictionary PaymentCredentialInstrument {
49
45
  required USVString displayName;
50
46
  required USVString icon;
@@ -23,7 +23,6 @@ enum ServiceWorkerState {
23
23
  "activated",
24
24
  "redundant"
25
25
  };
26
-
27
26
  [SecureContext, Exposed=(Window,Worker)]
28
27
  interface ServiceWorkerRegistration : EventTarget {
29
28
  readonly attribute ServiceWorker? installing;
@@ -46,7 +45,6 @@ enum ServiceWorkerUpdateViaCache {
46
45
  "all",
47
46
  "none"
48
47
  };
49
-
50
48
  partial interface Navigator {
51
49
  [SecureContext, SameObject] readonly attribute ServiceWorkerContainer serviceWorker;
52
50
  };
@@ -54,7 +52,6 @@ partial interface Navigator {
54
52
  partial interface WorkerNavigator {
55
53
  [SecureContext, SameObject] readonly attribute ServiceWorkerContainer serviceWorker;
56
54
  };
57
-
58
55
  [SecureContext, Exposed=(Window,Worker)]
59
56
  interface ServiceWorkerContainer : EventTarget {
60
57
  readonly attribute ServiceWorker? controller;
@@ -72,13 +69,11 @@ interface ServiceWorkerContainer : EventTarget {
72
69
  attribute EventHandler onmessage; // event.source of message events is ServiceWorker object
73
70
  attribute EventHandler onmessageerror;
74
71
  };
75
-
76
72
  dictionary RegistrationOptions {
77
73
  USVString scope;
78
74
  WorkerType type = "classic";
79
75
  ServiceWorkerUpdateViaCache updateViaCache = "imports";
80
76
  };
81
-
82
77
  [SecureContext, Exposed=(Window,Worker)]
83
78
  interface NavigationPreloadManager {
84
79
  Promise<undefined> enable();
@@ -91,7 +86,6 @@ dictionary NavigationPreloadState {
91
86
  boolean enabled = false;
92
87
  ByteString headerValue;
93
88
  };
94
-
95
89
  [Global=(Worker,ServiceWorker), Exposed=ServiceWorker]
96
90
  interface ServiceWorkerGlobalScope : WorkerGlobalScope {
97
91
  [SameObject] readonly attribute Clients clients;
@@ -107,7 +101,6 @@ interface ServiceWorkerGlobalScope : WorkerGlobalScope {
107
101
  attribute EventHandler onmessage;
108
102
  attribute EventHandler onmessageerror;
109
103
  };
110
-
111
104
  [Exposed=ServiceWorker]
112
105
  interface Client {
113
106
  readonly attribute USVString url;
@@ -133,7 +126,6 @@ enum FrameType {
133
126
  "nested",
134
127
  "none"
135
128
  };
136
-
137
129
  [Exposed=ServiceWorker]
138
130
  interface Clients {
139
131
  // The objects returned will be new instances every time
@@ -142,29 +134,24 @@ interface Clients {
142
134
  [NewObject] Promise<WindowClient?> openWindow(USVString url);
143
135
  [NewObject] Promise<undefined> claim();
144
136
  };
145
-
146
137
  dictionary ClientQueryOptions {
147
138
  boolean includeUncontrolled = false;
148
139
  ClientType type = "window";
149
140
  };
150
-
151
141
  enum ClientType {
152
142
  "window",
153
143
  "worker",
154
144
  "sharedworker",
155
145
  "all"
156
146
  };
157
-
158
147
  [Exposed=ServiceWorker]
159
148
  interface ExtendableEvent : Event {
160
149
  constructor(DOMString type, optional ExtendableEventInit eventInitDict = {});
161
150
  undefined waitUntil(Promise<any> f);
162
151
  };
163
-
164
152
  dictionary ExtendableEventInit : EventInit {
165
153
  // Defined for the forward compatibility across the derived events
166
154
  };
167
-
168
155
  [Exposed=ServiceWorker]
169
156
  interface FetchEvent : ExtendableEvent {
170
157
  constructor(DOMString type, FetchEventInit eventInitDict);
@@ -177,7 +164,6 @@ interface FetchEvent : ExtendableEvent {
177
164
 
178
165
  undefined respondWith(Promise<Response> r);
179
166
  };
180
-
181
167
  dictionary FetchEventInit : ExtendableEventInit {
182
168
  required Request request;
183
169
  Promise<any> preloadResponse;
@@ -186,7 +172,6 @@ dictionary FetchEventInit : ExtendableEventInit {
186
172
  DOMString replacesClientId = "";
187
173
  Promise<undefined> handled;
188
174
  };
189
-
190
175
  [Exposed=ServiceWorker]
191
176
  interface ExtendableMessageEvent : ExtendableEvent {
192
177
  constructor(DOMString type, optional ExtendableMessageEventInit eventInitDict = {});
@@ -196,7 +181,6 @@ interface ExtendableMessageEvent : ExtendableEvent {
196
181
  [SameObject] readonly attribute (Client or ServiceWorker or MessagePort)? source;
197
182
  readonly attribute FrozenArray<MessagePort> ports;
198
183
  };
199
-
200
184
  dictionary ExtendableMessageEventInit : ExtendableEventInit {
201
185
  any data = null;
202
186
  USVString origin = "";
@@ -204,11 +188,9 @@ dictionary ExtendableMessageEventInit : ExtendableEventInit {
204
188
  (Client or ServiceWorker or MessagePort)? source = null;
205
189
  sequence<MessagePort> ports = [];
206
190
  };
207
-
208
191
  partial interface mixin WindowOrWorkerGlobalScope {
209
192
  [SecureContext, SameObject] readonly attribute CacheStorage caches;
210
193
  };
211
-
212
194
  [SecureContext, Exposed=(Window,Worker)]
213
195
  interface Cache {
214
196
  [NewObject] Promise<(Response or undefined)> match(RequestInfo request, optional CacheQueryOptions options = {});
@@ -219,13 +201,11 @@ interface Cache {
219
201
  [NewObject] Promise<boolean> delete(RequestInfo request, optional CacheQueryOptions options = {});
220
202
  [NewObject] Promise<FrozenArray<Request>> keys(optional RequestInfo request, optional CacheQueryOptions options = {});
221
203
  };
222
-
223
204
  dictionary CacheQueryOptions {
224
205
  boolean ignoreSearch = false;
225
206
  boolean ignoreMethod = false;
226
207
  boolean ignoreVary = false;
227
208
  };
228
-
229
209
  [SecureContext, Exposed=(Window,Worker)]
230
210
  interface CacheStorage {
231
211
  [NewObject] Promise<(Response or undefined)> match(RequestInfo request, optional MultiCacheQueryOptions options = {});
package/turtledove.idl CHANGED
@@ -8,11 +8,6 @@ partial interface Navigator {
8
8
  Promise<undefined> joinAdInterestGroup(AuctionAdInterestGroup group, double durationSeconds);
9
9
  };
10
10
 
11
- enum WorkletExecutionMode {
12
- "compatibility",
13
- "groupByOrigin",
14
- };
15
-
16
11
  dictionary AuctionAd {
17
12
  required USVString renderUrl;
18
13
  any metadata;
@@ -24,10 +19,10 @@ dictionary AuctionAdInterestGroup {
24
19
 
25
20
  double priority = 0.0;
26
21
  boolean enableBiddingSignalsPrioritization = false;
27
- record<USVString, double> priorityVector;
28
- record<USVString, double> prioritySignalsOverrides;
22
+ record<DOMString, double> priorityVector;
23
+ record<DOMString, double> prioritySignalsOverrides;
29
24
 
30
- WorkletExecutionMode executionMode = "compatibility";
25
+ DOMString executionMode = "compatibility";
31
26
  USVString biddingLogicUrl;
32
27
  USVString biddingWasmHelperUrl;
33
28
  USVString dailyUpdateUrl;
@@ -9,16 +9,17 @@ dictionary NavigatorUABrandVersion {
9
9
  };
10
10
 
11
11
  dictionary UADataValues {
12
- sequence<NavigatorUABrandVersion> brands;
13
- boolean mobile;
14
12
  DOMString architecture;
15
13
  DOMString bitness;
14
+ sequence<NavigatorUABrandVersion> brands;
15
+ DOMString formFactor;
16
+ sequence<NavigatorUABrandVersion> fullVersionList;
16
17
  DOMString model;
18
+ boolean mobile;
17
19
  DOMString platform;
18
20
  DOMString platformVersion;
19
21
  DOMString uaFullVersion; // deprecated in favor of fullVersionList
20
22
  boolean wow64;
21
- sequence<NavigatorUABrandVersion> fullVersionList;
22
23
  };
23
24
 
24
25
  dictionary UALowEntropyJSON {
package/url.idl CHANGED
@@ -8,6 +8,8 @@
8
8
  interface URL {
9
9
  constructor(USVString url, optional USVString base);
10
10
 
11
+ static boolean canParse(USVString url, optional USVString base);
12
+
11
13
  stringifier attribute USVString href;
12
14
  readonly attribute USVString origin;
13
15
  attribute USVString protocol;
@@ -89,6 +89,16 @@ callback EffectCallback = undefined (double? progress,
89
89
  (Element or CSSPseudoElement) currentTarget,
90
90
  Animation animation);
91
91
 
92
+ dictionary TimelineRangeOffset {
93
+ CSSOMString? rangeName;
94
+ CSSNumericValue offset;
95
+ };
96
+
97
+ partial dictionary KeyframeAnimationOptions {
98
+ (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart = "normal";
99
+ (TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeEnd = "normal";
100
+ };
101
+
92
102
  [Exposed=Window]
93
103
  interface AnimationPlaybackEvent : Event {
94
104
  constructor(DOMString type, optional AnimationPlaybackEventInit
package/web-bluetooth.idl CHANGED
@@ -26,6 +26,7 @@ dictionary BluetoothLEScanFilterInit {
26
26
 
27
27
  dictionary RequestDeviceOptions {
28
28
  sequence<BluetoothLEScanFilterInit> filters;
29
+ sequence<BluetoothLEScanFilterInit> exclusionFilters;
29
30
  sequence<BluetoothServiceUUID> optionalServices = [];
30
31
  sequence<unsigned short> optionalManufacturerData = [];
31
32
  boolean acceptAllDevices = false;
package/webauthn.idl CHANGED
@@ -12,7 +12,6 @@ interface PublicKeyCredential : Credential {
12
12
  static Promise<boolean> isConditionalMediationAvailable();
13
13
  PublicKeyCredentialJSON toJSON();
14
14
  };
15
-
16
15
  typedef DOMString Base64URLString;
17
16
  typedef (RegistrationResponseJSON or AuthenticationResponseJSON) PublicKeyCredentialJSON;
18
17
 
@@ -49,19 +48,15 @@ dictionary AuthenticatorAssertionResponseJSON {
49
48
 
50
49
  dictionary AuthenticationExtensionsClientOutputsJSON {
51
50
  };
52
-
53
51
  partial dictionary CredentialCreationOptions {
54
52
  PublicKeyCredentialCreationOptions publicKey;
55
53
  };
56
-
57
54
  partial dictionary CredentialRequestOptions {
58
55
  PublicKeyCredentialRequestOptions publicKey;
59
56
  };
60
-
61
57
  partial interface PublicKeyCredential {
62
58
  static Promise<boolean> isUserVerifyingPlatformAuthenticatorAvailable();
63
59
  };
64
-
65
60
  partial interface PublicKeyCredential {
66
61
  static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
67
62
  };
@@ -92,7 +87,6 @@ dictionary PublicKeyCredentialDescriptorJSON {
92
87
 
93
88
  dictionary AuthenticationExtensionsClientInputsJSON {
94
89
  };
95
-
96
90
  partial interface PublicKeyCredential {
97
91
  static PublicKeyCredentialRequestOptions parseRequestOptionsFromJSON(PublicKeyCredentialRequestOptionsJSON options);
98
92
  };
@@ -105,12 +99,10 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
105
99
  DOMString userVerification = "preferred";
106
100
  AuthenticationExtensionsClientInputsJSON extensions;
107
101
  };
108
-
109
102
  [SecureContext, Exposed=Window]
110
103
  interface AuthenticatorResponse {
111
104
  [SameObject] readonly attribute ArrayBuffer clientDataJSON;
112
105
  };
113
-
114
106
  [SecureContext, Exposed=Window]
115
107
  interface AuthenticatorAttestationResponse : AuthenticatorResponse {
116
108
  [SameObject] readonly attribute ArrayBuffer attestationObject;
@@ -119,7 +111,6 @@ interface AuthenticatorAttestationResponse : AuthenticatorResponse {
119
111
  ArrayBuffer? getPublicKey();
120
112
  COSEAlgorithmIdentifier getPublicKeyAlgorithm();
121
113
  };
122
-
123
114
  [SecureContext, Exposed=Window]
124
115
  interface AuthenticatorAssertionResponse : AuthenticatorResponse {
125
116
  [SameObject] readonly attribute ArrayBuffer authenticatorData;
@@ -127,12 +118,10 @@ interface AuthenticatorAssertionResponse : AuthenticatorResponse {
127
118
  [SameObject] readonly attribute ArrayBuffer? userHandle;
128
119
  [SameObject] readonly attribute ArrayBuffer? attestationObject;
129
120
  };
130
-
131
121
  dictionary PublicKeyCredentialParameters {
132
122
  required DOMString type;
133
123
  required COSEAlgorithmIdentifier alg;
134
124
  };
135
-
136
125
  dictionary PublicKeyCredentialCreationOptions {
137
126
  required PublicKeyCredentialRpEntity rp;
138
127
  required PublicKeyCredentialUserEntity user;
@@ -147,45 +136,37 @@ dictionary PublicKeyCredentialCreationOptions {
147
136
  sequence<DOMString> attestationFormats = [];
148
137
  AuthenticationExtensionsClientInputs extensions;
149
138
  };
150
-
151
139
  dictionary PublicKeyCredentialEntity {
152
140
  required DOMString name;
153
141
  };
154
-
155
142
  dictionary PublicKeyCredentialRpEntity : PublicKeyCredentialEntity {
156
143
  DOMString id;
157
144
  };
158
-
159
145
  dictionary PublicKeyCredentialUserEntity : PublicKeyCredentialEntity {
160
146
  required BufferSource id;
161
147
  required DOMString displayName;
162
148
  };
163
-
164
149
  dictionary AuthenticatorSelectionCriteria {
165
150
  DOMString authenticatorAttachment;
166
151
  DOMString residentKey;
167
152
  boolean requireResidentKey = false;
168
153
  DOMString userVerification = "preferred";
169
154
  };
170
-
171
155
  enum AuthenticatorAttachment {
172
156
  "platform",
173
157
  "cross-platform"
174
158
  };
175
-
176
159
  enum ResidentKeyRequirement {
177
160
  "discouraged",
178
161
  "preferred",
179
162
  "required"
180
163
  };
181
-
182
164
  enum AttestationConveyancePreference {
183
165
  "none",
184
166
  "indirect",
185
167
  "direct",
186
168
  "enterprise"
187
169
  };
188
-
189
170
  dictionary PublicKeyCredentialRequestOptions {
190
171
  required BufferSource challenge;
191
172
  unsigned long timeout;
@@ -196,13 +177,10 @@ dictionary PublicKeyCredentialRequestOptions {
196
177
  sequence<DOMString> attestationFormats = [];
197
178
  AuthenticationExtensionsClientInputs extensions;
198
179
  };
199
-
200
180
  dictionary AuthenticationExtensionsClientInputs {
201
181
  };
202
-
203
182
  dictionary AuthenticationExtensionsClientOutputs {
204
183
  };
205
-
206
184
  dictionary CollectedClientData {
207
185
  required DOMString type;
208
186
  required DOMString challenge;
@@ -217,17 +195,14 @@ dictionary TokenBinding {
217
195
  };
218
196
 
219
197
  enum TokenBindingStatus { "present", "supported" };
220
-
221
198
  enum PublicKeyCredentialType {
222
199
  "public-key"
223
200
  };
224
-
225
201
  dictionary PublicKeyCredentialDescriptor {
226
202
  required DOMString type;
227
203
  required BufferSource id;
228
204
  sequence<DOMString> transports;
229
205
  };
230
-
231
206
  enum AuthenticatorTransport {
232
207
  "usb",
233
208
  "nfc",
@@ -235,35 +210,27 @@ enum AuthenticatorTransport {
235
210
  "hybrid",
236
211
  "internal"
237
212
  };
238
-
239
213
  typedef long COSEAlgorithmIdentifier;
240
-
241
214
  enum UserVerificationRequirement {
242
215
  "required",
243
216
  "preferred",
244
217
  "discouraged"
245
218
  };
246
-
247
219
  partial dictionary AuthenticationExtensionsClientInputs {
248
220
  USVString appid;
249
221
  };
250
-
251
222
  partial dictionary AuthenticationExtensionsClientOutputs {
252
223
  boolean appid;
253
224
  };
254
-
255
225
  partial dictionary AuthenticationExtensionsClientInputs {
256
226
  USVString appidExclude;
257
227
  };
258
-
259
228
  partial dictionary AuthenticationExtensionsClientOutputs {
260
229
  boolean appidExclude;
261
230
  };
262
-
263
231
  partial dictionary AuthenticationExtensionsClientInputs {
264
232
  boolean credProps;
265
233
  };
266
-
267
234
  dictionary CredentialPropertiesOutput {
268
235
  boolean rk;
269
236
  };
@@ -271,10 +238,9 @@ dictionary CredentialPropertiesOutput {
271
238
  partial dictionary AuthenticationExtensionsClientOutputs {
272
239
  CredentialPropertiesOutput credProps;
273
240
  };
274
-
275
241
  dictionary AuthenticationExtensionsPRFValues {
276
- required ArrayBuffer first;
277
- ArrayBuffer second;
242
+ required BufferSource first;
243
+ BufferSource second;
278
244
  };
279
245
 
280
246
  dictionary AuthenticationExtensionsPRFInputs {
@@ -323,14 +289,12 @@ dictionary AuthenticationExtensionsLargeBlobOutputs {
323
289
  partial dictionary AuthenticationExtensionsClientInputs {
324
290
  boolean uvm;
325
291
  };
326
-
327
292
  typedef sequence<unsigned long> UvmEntry;
328
293
  typedef sequence<UvmEntry> UvmEntries;
329
294
 
330
295
  partial dictionary AuthenticationExtensionsClientOutputs {
331
296
  UvmEntries uvm;
332
297
  };
333
-
334
298
  dictionary AuthenticationExtensionsDevicePublicKeyInputs {
335
299
  DOMString attestation = "none";
336
300
  sequence<DOMString> attestationFormats = [];
@@ -0,0 +1,12 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: AV1 WebCodecs Registration (https://w3c.github.io/webcodecs/av1_codec_registration.html)
5
+
6
+ partial dictionary VideoEncoderEncodeOptions {
7
+ VideoEncoderEncodeOptionsForAv1 av1;
8
+ };
9
+
10
+ dictionary VideoEncoderEncodeOptionsForAv1 {
11
+ unsigned short? quantizer;
12
+ };
package/webgpu.idl CHANGED
@@ -171,7 +171,7 @@ dictionary GPUBufferDescriptor : GPUObjectDescriptorBase {
171
171
  };
172
172
 
173
173
  typedef [EnforceRange] unsigned long GPUBufferUsageFlags;
174
- [Exposed=(Window, DedicatedWorker)]
174
+ [Exposed=(Window, DedicatedWorker), SecureContext]
175
175
  namespace GPUBufferUsage {
176
176
  const GPUFlagsConstant MAP_READ = 0x0001;
177
177
  const GPUFlagsConstant MAP_WRITE = 0x0002;
@@ -186,7 +186,7 @@ namespace GPUBufferUsage {
186
186
  };
187
187
 
188
188
  typedef [EnforceRange] unsigned long GPUMapModeFlags;
189
- [Exposed=(Window, DedicatedWorker)]
189
+ [Exposed=(Window, DedicatedWorker), SecureContext]
190
190
  namespace GPUMapMode {
191
191
  const GPUFlagsConstant READ = 0x0001;
192
192
  const GPUFlagsConstant WRITE = 0x0002;
@@ -226,7 +226,7 @@ enum GPUTextureDimension {
226
226
  };
227
227
 
228
228
  typedef [EnforceRange] unsigned long GPUTextureUsageFlags;
229
- [Exposed=(Window, DedicatedWorker)]
229
+ [Exposed=(Window, DedicatedWorker), SecureContext]
230
230
  namespace GPUTextureUsage {
231
231
  const GPUFlagsConstant COPY_SRC = 0x01;
232
232
  const GPUFlagsConstant COPY_DST = 0x02;
@@ -461,7 +461,7 @@ dictionary GPUBindGroupLayoutEntry {
461
461
  };
462
462
 
463
463
  typedef [EnforceRange] unsigned long GPUShaderStageFlags;
464
- [Exposed=(Window, DedicatedWorker)]
464
+ [Exposed=(Window, DedicatedWorker), SecureContext]
465
465
  namespace GPUShaderStage {
466
466
  const GPUFlagsConstant VERTEX = 0x1;
467
467
  const GPUFlagsConstant FRAGMENT = 0x2;
@@ -588,7 +588,7 @@ interface GPUCompilationInfo {
588
588
 
589
589
  [Exposed=(Window, DedicatedWorker), SecureContext, Serializable]
590
590
  interface GPUPipelineError : DOMException {
591
- constructor(DOMString message, GPUPipelineErrorInit options);
591
+ constructor((DOMString or undefined) message, GPUPipelineErrorInit options);
592
592
  readonly attribute GPUPipelineErrorReason reason;
593
593
  };
594
594
 
@@ -697,7 +697,7 @@ dictionary GPUBlendState {
697
697
  };
698
698
 
699
699
  typedef [EnforceRange] unsigned long GPUColorWriteFlags;
700
- [Exposed=(Window, DedicatedWorker)]
700
+ [Exposed=(Window, DedicatedWorker), SecureContext]
701
701
  namespace GPUColorWrite {
702
702
  const GPUFlagsConstant RED = 0x1;
703
703
  const GPUFlagsConstant GREEN = 0x2;
@@ -831,34 +831,11 @@ dictionary GPUVertexAttribute {
831
831
  required GPUIndex32 shaderLocation;
832
832
  };
833
833
 
834
- dictionary GPUImageDataLayout {
835
- GPUSize64 offset = 0;
836
- GPUSize32 bytesPerRow;
837
- GPUSize32 rowsPerImage;
838
- };
839
-
840
- dictionary GPUImageCopyBuffer : GPUImageDataLayout {
841
- required GPUBuffer buffer;
842
- };
843
-
844
- dictionary GPUImageCopyTexture {
845
- required GPUTexture texture;
846
- GPUIntegerCoordinate mipLevel = 0;
847
- GPUOrigin3D origin = {};
848
- GPUTextureAspect aspect = "all";
849
- };
850
-
851
- dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture {
852
- PredefinedColorSpace colorSpace = "srgb";
853
- boolean premultipliedAlpha = false;
854
- };
855
-
856
- dictionary GPUImageCopyExternalImage {
857
- required (ImageBitmap or HTMLVideoElement or HTMLCanvasElement or OffscreenCanvas) source;
858
- GPUOrigin2D origin = {};
859
- boolean flipY = false;
860
- };
861
-
834
+ dictionary GPUImageDataLayout { GPUSize64 offset = 0; GPUSize32 bytesPerRow; GPUSize32 rowsPerImage;};
835
+ dictionary GPUImageCopyBuffer : GPUImageDataLayout { required GPUBuffer buffer;};
836
+ dictionary GPUImageCopyTexture { required GPUTexture texture; GPUIntegerCoordinate mipLevel = 0; GPUOrigin3D origin = {}; GPUTextureAspect aspect = "all";};
837
+ dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture { PredefinedColorSpace colorSpace = "srgb"; boolean premultipliedAlpha = false;};
838
+ dictionary GPUImageCopyExternalImage { required (ImageBitmap or HTMLVideoElement or HTMLCanvasElement or OffscreenCanvas) source; GPUOrigin2D origin = {}; boolean flipY = false;};
862
839
  [Exposed=(Window, DedicatedWorker), SecureContext]
863
840
  interface GPUCommandBuffer {
864
841
  };
@@ -1163,12 +1140,13 @@ dictionary GPUCanvasConfiguration {
1163
1140
  };
1164
1141
 
1165
1142
  enum GPUDeviceLostReason {
1143
+ "unknown",
1166
1144
  "destroyed"
1167
1145
  };
1168
1146
 
1169
1147
  [Exposed=(Window, DedicatedWorker), SecureContext]
1170
1148
  interface GPUDeviceLostInfo {
1171
- readonly attribute (GPUDeviceLostReason or undefined) reason;
1149
+ readonly attribute GPUDeviceLostReason reason;
1172
1150
  readonly attribute DOMString message;
1173
1151
  };
1174
1152
 
package/webrtc.idl CHANGED
@@ -51,29 +51,29 @@ enum RTCSignalingState {
51
51
  };
52
52
 
53
53
  enum RTCIceGatheringState {
54
- "new",
55
- "gathering",
56
- "complete"
57
- };
54
+ "new",
55
+ "gathering",
56
+ "complete"
57
+ };
58
58
 
59
59
  enum RTCPeerConnectionState {
60
- "closed",
61
- "failed",
62
- "disconnected",
63
- "new",
64
- "connecting",
65
- "connected"
66
- };
60
+ "closed",
61
+ "failed",
62
+ "disconnected",
63
+ "new",
64
+ "connecting",
65
+ "connected"
66
+ };
67
67
 
68
68
  enum RTCIceConnectionState {
69
- "closed",
70
- "failed",
71
- "disconnected",
72
- "new",
73
- "checking",
74
- "completed",
75
- "connected"
76
- };
69
+ "closed",
70
+ "failed",
71
+ "disconnected",
72
+ "new",
73
+ "checking",
74
+ "completed",
75
+ "connected"
76
+ };
77
77
 
78
78
  [Exposed=Window]
79
79
  interface RTCPeerConnection : EventTarget {
@@ -332,28 +332,27 @@ dictionary RTCRtpHeaderExtensionParameters {
332
332
  boolean encrypted = false;
333
333
  };
334
334
 
335
- dictionary RTCRtpCodecParameters {
336
- required octet payloadType;
335
+ dictionary RTCRtpCodec {
337
336
  required DOMString mimeType;
338
337
  required unsigned long clockRate;
339
338
  unsigned short channels;
340
339
  DOMString sdpFmtpLine;
341
340
  };
342
341
 
342
+ dictionary RTCRtpCodecParameters : RTCRtpCodec {
343
+ required octet payloadType;
344
+ };
345
+
343
346
  dictionary RTCRtpCapabilities {
344
347
  required sequence<RTCRtpCodecCapability> codecs;
345
348
  required sequence<RTCRtpHeaderExtensionCapability> headerExtensions;
346
349
  };
347
350
 
348
- dictionary RTCRtpCodecCapability {
349
- required DOMString mimeType;
350
- required unsigned long clockRate;
351
- unsigned short channels;
352
- DOMString sdpFmtpLine;
351
+ dictionary RTCRtpCodecCapability : RTCRtpCodec {
353
352
  };
354
353
 
355
354
  dictionary RTCRtpHeaderExtensionCapability {
356
- DOMString uri;
355
+ required DOMString uri;
357
356
  };
358
357
 
359
358
  [Exposed=Window]
@@ -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: Multi-Screen Window Placement (https://w3c.github.io/window-placement/)
4
+ // Source: Window Management (https://w3c.github.io/window-management/)
5
5
 
6
6
  partial interface Screen /* : EventTarget */ {
7
7
  [SecureContext]