@webref/idl 3.12.2 → 3.13.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/CSP.idl CHANGED
@@ -5,6 +5,7 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSPViolationReportBody : ReportBody {
8
+ [Default] object toJSON();
8
9
  readonly attribute USVString documentURL;
9
10
  readonly attribute USVString? referrer;
10
11
  readonly attribute USVString? blockedURL;
package/FedCM.idl CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  [Exposed=Window, SecureContext]
7
7
  interface IdentityCredential : Credential {
8
- readonly attribute USVString? idToken;
8
+ readonly attribute USVString? token;
9
9
  };
10
10
 
11
11
  partial dictionary CredentialRequestOptions {
@@ -20,7 +20,6 @@ dictionary IdentityProvider {
20
20
  required USVString configURL;
21
21
  required USVString clientId;
22
22
  USVString nonce;
23
- USVString hint;
24
23
  };
25
24
 
26
25
  dictionary IdentityCredentialLogoutRpsRequest {
@@ -12,7 +12,7 @@ interface WEBGL_multi_draw {
12
12
  GLsizei drawcount);
13
13
  undefined multiDrawElementsWEBGL(
14
14
  GLenum mode,
15
- ([AllowShared] Int32Array or sequence<GLint>) countsList, GLuint countsOffset,
15
+ ([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
16
16
  GLenum type,
17
17
  ([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, GLuint offsetsOffset,
18
18
  GLsizei drawcount);
@@ -24,7 +24,7 @@ interface WEBGL_multi_draw {
24
24
  GLsizei drawcount);
25
25
  undefined multiDrawElementsInstancedWEBGL(
26
26
  GLenum mode,
27
- ([AllowShared] Int32Array or sequence<GLint>) countsList, GLuint countsOffset,
27
+ ([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
28
28
  GLenum type,
29
29
  ([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, GLuint offsetsOffset,
30
30
  ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
@@ -11,7 +11,7 @@ interface WEBGL_multi_draw_instanced_base_vertex_base_instance {
11
11
  ([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
12
12
  ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
13
13
  ([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, GLuint baseInstancesOffset,
14
- GLsizei drawCount
14
+ GLsizei drawcount
15
15
  );
16
16
  undefined multiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(
17
17
  GLenum mode,
@@ -21,6 +21,6 @@ interface WEBGL_multi_draw_instanced_base_vertex_base_instance {
21
21
  ([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
22
22
  ([AllowShared] Int32Array or sequence<GLint>) baseVerticesList, GLuint baseVerticesOffset,
23
23
  ([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, GLuint baseInstancesOffset,
24
- GLsizei drawCount
24
+ GLsizei drawcount
25
25
  );
26
26
  };
package/cookie-store.idl CHANGED
@@ -36,7 +36,7 @@ enum CookieSameSite {
36
36
  dictionary CookieInit {
37
37
  required USVString name;
38
38
  required USVString value;
39
- DOMTimeStamp? expires = null;
39
+ EpochTimeStamp? expires = null;
40
40
  USVString? domain = null;
41
41
  USVString path = "/";
42
42
  CookieSameSite sameSite = "strict";
@@ -53,7 +53,7 @@ dictionary CookieListItem {
53
53
  USVString value;
54
54
  USVString? domain;
55
55
  USVString path;
56
- DOMTimeStamp? expires;
56
+ EpochTimeStamp? expires;
57
57
  boolean secure;
58
58
  CookieSameSite sameSite;
59
59
  };
@@ -7,7 +7,7 @@
7
7
  interface Credential {
8
8
  readonly attribute USVString id;
9
9
  readonly attribute DOMString type;
10
- static boolean isConditionalMediationAvailable();
10
+ static Promise<boolean> isConditionalMediationAvailable();
11
11
  };
12
12
 
13
13
  [SecureContext]
package/cssom-view.idl CHANGED
@@ -16,6 +16,7 @@ dictionary ScrollToOptions : ScrollOptions {
16
16
  partial interface Window {
17
17
  [NewObject] MediaQueryList matchMedia(CSSOMString query);
18
18
  [SameObject, Replaceable] readonly attribute Screen screen;
19
+ [SameObject, Replaceable] readonly attribute VisualViewport? visualViewport;
19
20
 
20
21
  // browsing context
21
22
  undefined moveTo(long x, long y);
@@ -100,7 +101,7 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
100
101
  ScrollLogicalPosition inline = "nearest";
101
102
  };
102
103
 
103
- dictionary IsVisibleOptions {
104
+ dictionary CheckVisibilityOptions {
104
105
  boolean checkOpacity = false;
105
106
  boolean checkVisibilityCSS = false;
106
107
  };
@@ -109,7 +110,7 @@ partial interface Element {
109
110
  DOMRectList getClientRects();
110
111
  [NewObject] DOMRect getBoundingClientRect();
111
112
 
112
- boolean isVisible(optional IsVisibleOptions options = {});
113
+ boolean checkVisibility(optional CheckVisibilityOptions options = {});
113
114
 
114
115
  undefined scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
115
116
  undefined scroll(optional ScrollToOptions options = {});
@@ -179,3 +180,20 @@ CSSPseudoElement includes GeometryUtils;
179
180
  Document includes GeometryUtils;
180
181
 
181
182
  typedef (Text or Element or CSSPseudoElement or Document) GeometryNode;
183
+
184
+ [Exposed=Window]
185
+ interface VisualViewport : EventTarget {
186
+ readonly attribute double offsetLeft;
187
+ readonly attribute double offsetTop;
188
+
189
+ readonly attribute double pageLeft;
190
+ readonly attribute double pageTop;
191
+
192
+ readonly attribute double width;
193
+ readonly attribute double height;
194
+
195
+ readonly attribute double scale;
196
+
197
+ attribute EventHandler onresize;
198
+ attribute EventHandler onscroll;
199
+ };
package/dom.idl CHANGED
@@ -77,7 +77,7 @@ dictionary EventListenerOptions {
77
77
  };
78
78
 
79
79
  dictionary AddEventListenerOptions : EventListenerOptions {
80
- boolean passive = false;
80
+ boolean passive;
81
81
  boolean once = false;
82
82
  AbortSignal signal;
83
83
  };
package/fetch.idl CHANGED
@@ -69,6 +69,7 @@ dictionary RequestInit {
69
69
  DOMString integrity;
70
70
  boolean keepalive;
71
71
  AbortSignal? signal;
72
+ RequestDuplex duplex;
72
73
  any window; // can only be set to null
73
74
  };
74
75
 
@@ -77,6 +78,7 @@ enum RequestMode { "navigate", "same-origin", "no-cors", "cors" };
77
78
  enum RequestCredentials { "omit", "same-origin", "include" };
78
79
  enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
79
80
  enum RequestRedirect { "follow", "error", "manual" };
81
+ enum RequestDuplex { "half" };
80
82
 
81
83
  [Exposed=(Window,Worker)]interface Response {
82
84
  constructor(optional BodyInit? body = null, optional ResponseInit init = {});
@@ -57,6 +57,7 @@ dictionary SaveFilePickerOptions : FilePickerOptions {
57
57
  dictionary DirectoryPickerOptions {
58
58
  DOMString id;
59
59
  StartInDirectory startIn;
60
+ FileSystemPermissionMode mode = "read";
60
61
  };
61
62
 
62
63
  [SecureContext]
package/html.idl CHANGED
@@ -1643,6 +1643,7 @@ dictionary ValidityStateFlags {
1643
1643
 
1644
1644
  dictionary FocusOptions {
1645
1645
  boolean preventScroll = false;
1646
+ boolean focusVisible;
1646
1647
  };
1647
1648
 
1648
1649
  interface mixin ElementContentEditable {
@@ -179,12 +179,6 @@ interface InputDeviceInfo : MediaDeviceInfo {
179
179
  MediaTrackCapabilities getCapabilities();
180
180
  };
181
181
 
182
- partial interface Navigator {
183
- [SecureContext] undefined getUserMedia(MediaStreamConstraints constraints,
184
- NavigatorUserMediaSuccessCallback successCallback,
185
- NavigatorUserMediaErrorCallback errorCallback);
186
- };
187
-
188
182
  partial interface MediaDevices {
189
183
  MediaTrackSupportedConstraints getSupportedConstraints();
190
184
  Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints = {});
@@ -195,6 +189,12 @@ dictionary MediaStreamConstraints {
195
189
  (boolean or MediaTrackConstraints) audio = false;
196
190
  };
197
191
 
192
+ partial interface Navigator {
193
+ [SecureContext] undefined getUserMedia(MediaStreamConstraints constraints,
194
+ NavigatorUserMediaSuccessCallback successCallback,
195
+ NavigatorUserMediaErrorCallback errorCallback);
196
+ };
197
+
198
198
  callback NavigatorUserMediaSuccessCallback = undefined (MediaStream stream);
199
199
 
200
200
  callback NavigatorUserMediaErrorCallback = undefined (DOMException error);
@@ -93,7 +93,7 @@ interface NavigateEvent : Event {
93
93
  readonly attribute any info;
94
94
 
95
95
  undefined intercept(optional NavigationInterceptOptions options = {});
96
- undefined restoreScroll();
96
+ undefined scroll();
97
97
  };
98
98
 
99
99
  dictionary NavigateEventInit : EventInit {
@@ -111,7 +111,7 @@ dictionary NavigateEventInit : EventInit {
111
111
  dictionary NavigationInterceptOptions {
112
112
  NavigationInterceptHandler handler;
113
113
  NavigationFocusReset focusReset;
114
- NavigationScrollRestoration scrollRestoration;
114
+ NavigationScrollBehavior scroll;
115
115
  };
116
116
 
117
117
  enum NavigationFocusReset {
@@ -119,7 +119,7 @@ enum NavigationFocusReset {
119
119
  "manual"
120
120
  };
121
121
 
122
- enum NavigationScrollRestoration {
122
+ enum NavigationScrollBehavior {
123
123
  "after-transition",
124
124
  "manual"
125
125
  };
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.12.2",
4
+ "version": "3.13.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -59,6 +59,10 @@ dictionary PaymentItem {
59
59
  boolean pending = false;
60
60
  };
61
61
 
62
+ dictionary PaymentCompleteDetails {
63
+ object? data = null;
64
+ };
65
+
62
66
  enum PaymentComplete {
63
67
  "fail",
64
68
  "success",
@@ -74,7 +78,10 @@ interface PaymentResponse : EventTarget {
74
78
  readonly attribute object details;
75
79
 
76
80
  [NewObject]
77
- Promise<undefined> complete(optional PaymentComplete result = "unknown");
81
+ Promise<undefined> complete(
82
+ optional PaymentComplete result = "unknown",
83
+ optional PaymentCompleteDetails details = {}
84
+ );
78
85
  [NewObject]
79
86
  Promise<undefined> retry(optional PaymentValidationErrors errorFields = {});
80
87
  };
package/pointerevents.idl CHANGED
@@ -46,17 +46,17 @@ partial interface Element {
46
46
  };
47
47
 
48
48
  partial interface mixin GlobalEventHandlers {
49
- attribute EventHandler ongotpointercapture;
50
- attribute EventHandler onlostpointercapture;
49
+ attribute EventHandler onpointerover;
50
+ attribute EventHandler onpointerenter;
51
51
  attribute EventHandler onpointerdown;
52
52
  attribute EventHandler onpointermove;
53
53
  [SecureContext] attribute EventHandler onpointerrawupdate;
54
54
  attribute EventHandler onpointerup;
55
55
  attribute EventHandler onpointercancel;
56
- attribute EventHandler onpointerover;
57
56
  attribute EventHandler onpointerout;
58
- attribute EventHandler onpointerenter;
59
57
  attribute EventHandler onpointerleave;
58
+ attribute EventHandler ongotpointercapture;
59
+ attribute EventHandler onlostpointercapture;
60
60
  };
61
61
 
62
62
  partial interface Navigator {
@@ -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: Prerendering Revamped (https://wicg.github.io/nav-speculation/prerendering.html)
5
+
6
+ partial interface Document {
7
+ readonly attribute boolean prerendering;
8
+
9
+ // Under "special event handler IDL attributes that only apply to Document objects"
10
+ attribute EventHandler onprerenderingchange;
11
+ };
12
+
13
+ partial interface PerformanceNavigationTiming {
14
+ readonly attribute DOMHighResTimeStamp activationStart;
15
+ };
package/sanitizer-api.idl CHANGED
@@ -19,6 +19,7 @@
19
19
  dictionary SetHTMLOptions {
20
20
  Sanitizer sanitizer;
21
21
  };
22
+ [SecureContext]
22
23
  partial interface Element {
23
24
  undefined setHTML(DOMString input, optional SetHTMLOptions options = {});
24
25
  };
@@ -30,6 +31,7 @@ dictionary SanitizerConfig {
30
31
  AttributeMatchList allowAttributes;
31
32
  AttributeMatchList dropAttributes;
32
33
  boolean allowCustomElements;
34
+ boolean allowUnknownMarkup;
33
35
  boolean allowComments;
34
36
  };
35
37
 
package/selection-api.idl CHANGED
@@ -24,8 +24,8 @@ interface Selection {
24
24
  undefined extend(Node node, optional unsigned long offset = 0);
25
25
  undefined setBaseAndExtent(Node anchorNode, unsigned long anchorOffset, Node focusNode, unsigned long focusOffset);
26
26
  undefined selectAllChildren(Node node);
27
- [CEReactions]
28
- undefined deleteFromDocument();
27
+ undefined modify(optional DOMString alter, optional DOMString direction, optional DOMString granularity);
28
+ [CEReactions] undefined deleteFromDocument();
29
29
  boolean containsNode(Node node, optional boolean allowPartialContainment = false);
30
30
  stringifier;
31
31
  };
package/wai-aria.idl CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  interface mixin ARIAMixin {
7
7
  attribute DOMString? role;
8
-
8
+ attribute Element? ariaActiveDescendantElement;
9
9
  attribute DOMString? ariaAtomic;
10
10
  attribute DOMString? ariaAutoComplete;
11
11
  attribute DOMString? ariaBusy;
@@ -14,28 +14,28 @@ interface mixin ARIAMixin {
14
14
  attribute DOMString? ariaColIndex;
15
15
  attribute DOMString? ariaColIndexText;
16
16
  attribute DOMString? ariaColSpan;
17
-
17
+ attribute FrozenArray<Element>? ariaControlsElements;
18
18
  attribute DOMString? ariaCurrent;
19
-
19
+ attribute FrozenArray<Element>? ariaDescribedByElements;
20
20
  attribute DOMString? ariaDescription;
21
-
21
+ attribute FrozenArray<Element>? ariaDetailsElements;
22
22
  attribute DOMString? ariaDisabled;
23
-
23
+ attribute Element? ariaErrorMessageElement;
24
24
  attribute DOMString? ariaExpanded;
25
-
25
+ attribute FrozenArray<Element>? ariaFlowToElements;
26
26
  attribute DOMString? ariaHasPopup;
27
27
  attribute DOMString? ariaHidden;
28
28
  attribute DOMString? ariaInvalid;
29
29
  attribute DOMString? ariaKeyShortcuts;
30
30
  attribute DOMString? ariaLabel;
31
-
31
+ attribute FrozenArray<Element>? ariaLabelledByElements;
32
32
  attribute DOMString? ariaLevel;
33
33
  attribute DOMString? ariaLive;
34
34
  attribute DOMString? ariaModal;
35
35
  attribute DOMString? ariaMultiLine;
36
36
  attribute DOMString? ariaMultiSelectable;
37
37
  attribute DOMString? ariaOrientation;
38
-
38
+ attribute FrozenArray<Element>? ariaOwnsElements;
39
39
  attribute DOMString? ariaPlaceholder;
40
40
  attribute DOMString? ariaPosInSet;
41
41
  attribute DOMString? ariaPressed;
@@ -29,6 +29,8 @@ partial interface AnimationEffect {
29
29
  };
30
30
 
31
31
  partial dictionary EffectTiming {
32
+ double delay;
33
+ double endDelay;
32
34
  double playbackRate = 1.0;
33
35
  (unrestricted double or CSSNumericValue or DOMString) duration = "auto";
34
36
  };
@@ -6,7 +6,6 @@
6
6
  [Exposed=Window]
7
7
  interface AnimationTimeline {
8
8
  readonly attribute double? currentTime;
9
- readonly attribute TimelinePhase phase;
10
9
  };
11
10
 
12
11
  dictionary DocumentTimelineOptions {
@@ -48,8 +47,6 @@ enum AnimationPlayState { "idle", "running", "paused", "finished" };
48
47
 
49
48
  enum AnimationReplaceState { "active", "removed", "persisted" };
50
49
 
51
- enum TimelinePhase { "inactive", "before", "active", "after" };
52
-
53
50
  [Exposed=Window]
54
51
  interface AnimationEffect {
55
52
  EffectTiming getTiming();
@@ -58,8 +55,6 @@ interface AnimationEffect {
58
55
  };
59
56
 
60
57
  dictionary EffectTiming {
61
- double delay = 0;
62
- double endDelay = 0;
63
58
  FillMode fill = "auto";
64
59
  double iterationStart = 0.0;
65
60
  unrestricted double iterations = 1.0;
package/webauthn.idl CHANGED
@@ -9,6 +9,45 @@ interface PublicKeyCredential : Credential {
9
9
  [SameObject] readonly attribute AuthenticatorResponse response;
10
10
  [SameObject] readonly attribute DOMString? authenticatorAttachment;
11
11
  AuthenticationExtensionsClientOutputs getClientExtensionResults();
12
+ static Promise<boolean> isConditionalMediationAvailable();
13
+ PublicKeyCredentialJSON toJSON();
14
+ };
15
+
16
+ typedef DOMString Base64URLString;
17
+ typedef (RegistrationResponseJSON or AuthenticationResponseJSON) PublicKeyCredentialJSON;
18
+
19
+ dictionary RegistrationResponseJSON {
20
+ Base64URLString id;
21
+ Base64URLString rawId;
22
+ AuthenticatorAttestationResponseJSON response;
23
+ DOMString? authenticatorAttachment;
24
+ AuthenticationExtensionsClientOutputsJSON clientExtensionResults;
25
+ DOMString type;
26
+ };
27
+
28
+ dictionary AuthenticatorAttestationResponseJSON {
29
+ Base64URLString clientDataJSON;
30
+ Base64URLString attestationObject;
31
+ sequence<DOMString> transports;
32
+ };
33
+
34
+ dictionary AuthenticationResponseJSON {
35
+ Base64URLString id;
36
+ Base64URLString rawId;
37
+ AuthenticatorAssertionResponseJSON response;
38
+ DOMString? authenticatorAttachment;
39
+ AuthenticationExtensionsClientOutputsJSON clientExtensionResults;
40
+ DOMString type;
41
+ };
42
+
43
+ dictionary AuthenticatorAssertionResponseJSON {
44
+ Base64URLString clientDataJSON;
45
+ Base64URLString authenticatorData;
46
+ Base64URLString signature;
47
+ Base64URLString? userHandle;
48
+ };
49
+
50
+ dictionary AuthenticationExtensionsClientOutputsJSON {
12
51
  };
13
52
 
14
53
  partial dictionary CredentialCreationOptions {
@@ -23,6 +62,50 @@ partial interface PublicKeyCredential {
23
62
  static Promise<boolean> isUserVerifyingPlatformAuthenticatorAvailable();
24
63
  };
25
64
 
65
+ partial interface PublicKeyCredential {
66
+ static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
67
+ };
68
+
69
+ dictionary PublicKeyCredentialCreationOptionsJSON {
70
+ required PublicKeyCredentialRpEntity rp;
71
+ required PublicKeyCredentialUserEntityJSON user;
72
+ required Base64URLString challenge;
73
+ required sequence<PublicKeyCredentialParameters> pubKeyCredParams;
74
+ unsigned long timeout;
75
+ sequence<PublicKeyCredentialDescriptorJSON> excludeCredentials = [];
76
+ AuthenticatorSelectionCriteria authenticatorSelection;
77
+ DOMString attestation = "none";
78
+ AuthenticationExtensionsClientInputsJSON extensions;
79
+ };
80
+
81
+ dictionary PublicKeyCredentialUserEntityJSON {
82
+ required Base64URLString id;
83
+ required DOMString name;
84
+ required DOMString displayName;
85
+ };
86
+
87
+ dictionary PublicKeyCredentialDescriptorJSON {
88
+ required Base64URLString id;
89
+ required DOMString type;
90
+ sequence<DOMString> transports;
91
+ };
92
+
93
+ dictionary AuthenticationExtensionsClientInputsJSON {
94
+ };
95
+
96
+ partial interface PublicKeyCredential {
97
+ static PublicKeyCredentialRequestOptions parseRequestOptionsFromJSON(PublicKeyCredentialRequestOptionsJSON options);
98
+ };
99
+
100
+ dictionary PublicKeyCredentialRequestOptionsJSON {
101
+ required Base64URLString challenge;
102
+ unsigned long timeout;
103
+ DOMString rpId;
104
+ sequence<PublicKeyCredentialDescriptorJSON> allowCredentials = [];
105
+ DOMString userVerification = "preferred";
106
+ AuthenticationExtensionsClientInputsJSON extensions;
107
+ };
108
+
26
109
  [SecureContext, Exposed=Window]
27
110
  interface AuthenticatorResponse {
28
111
  [SameObject] readonly attribute ArrayBuffer clientDataJSON;
@@ -121,7 +204,6 @@ dictionary CollectedClientData {
121
204
  required DOMString challenge;
122
205
  required DOMString origin;
123
206
  boolean crossOrigin;
124
-
125
207
  };
126
208
 
127
209
  dictionary TokenBinding {
@@ -173,26 +255,38 @@ partial dictionary AuthenticationExtensionsClientOutputs {
173
255
  };
174
256
 
175
257
  partial dictionary AuthenticationExtensionsClientInputs {
176
- boolean uvm;
258
+ boolean credProps;
177
259
  };
178
260
 
179
- typedef sequence<unsigned long> UvmEntry;
180
- typedef sequence<UvmEntry> UvmEntries;
261
+ dictionary CredentialPropertiesOutput {
262
+ boolean rk;
263
+ };
181
264
 
182
265
  partial dictionary AuthenticationExtensionsClientOutputs {
183
- UvmEntries uvm;
266
+ CredentialPropertiesOutput credProps;
267
+ };
268
+
269
+ dictionary AuthenticationExtensionsPRFValues {
270
+ required ArrayBuffer first;
271
+ ArrayBuffer second;
272
+ };
273
+
274
+ dictionary AuthenticationExtensionsPRFInputs {
275
+ AuthenticationExtensionsPRFValues eval;
276
+ record<USVString, AuthenticationExtensionsPRFValues> evalByCredential;
184
277
  };
185
278
 
186
279
  partial dictionary AuthenticationExtensionsClientInputs {
187
- boolean credProps;
280
+ AuthenticationExtensionsPRFInputs prf;
188
281
  };
189
282
 
190
- dictionary CredentialPropertiesOutput {
191
- boolean rk;
283
+ dictionary AuthenticationExtensionsPRFOutputs {
284
+ boolean enabled;
285
+ AuthenticationExtensionsPRFValues results;
192
286
  };
193
287
 
194
288
  partial dictionary AuthenticationExtensionsClientOutputs {
195
- CredentialPropertiesOutput credProps;
289
+ AuthenticationExtensionsPRFOutputs prf;
196
290
  };
197
291
 
198
292
  partial dictionary AuthenticationExtensionsClientInputs {
@@ -219,3 +313,14 @@ dictionary AuthenticationExtensionsLargeBlobOutputs {
219
313
  ArrayBuffer blob;
220
314
  boolean written;
221
315
  };
316
+
317
+ partial dictionary AuthenticationExtensionsClientInputs {
318
+ boolean uvm;
319
+ };
320
+
321
+ typedef sequence<unsigned long> UvmEntry;
322
+ typedef sequence<UvmEntry> UvmEntries;
323
+
324
+ partial dictionary AuthenticationExtensionsClientOutputs {
325
+ UvmEntries uvm;
326
+ };
package/webgpu.idl CHANGED
@@ -50,10 +50,10 @@ interface GPUSupportedFeatures {
50
50
 
51
51
  [Exposed=(Window, DedicatedWorker), SecureContext]
52
52
  interface GPUAdapterInfo {
53
- readonly attribute DOMString vendor;
54
- readonly attribute DOMString architecture;
55
- readonly attribute DOMString device;
56
- readonly attribute DOMString description;
53
+ readonly attribute DOMString vendor;
54
+ readonly attribute DOMString architecture;
55
+ readonly attribute DOMString device;
56
+ readonly attribute DOMString description;
57
57
  };
58
58
 
59
59
  interface mixin NavigatorGPU {
@@ -103,7 +103,8 @@ enum GPUFeatureName {
103
103
  "timestamp-query",
104
104
  "indirect-first-instance",
105
105
  "shader-f16",
106
- "bgra8unorm-storage"
106
+ "bgra8unorm-storage",
107
+ "rg11b10ufloat-renderable"
107
108
  };
108
109
 
109
110
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -894,12 +895,12 @@ dictionary GPUImageCopyExternalImage {
894
895
 
895
896
  interface mixin GPUBindingCommandsMixin {
896
897
  undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
897
- optional sequence<GPUBufferDynamicOffset> dynamicOffsets = []);
898
+ optional sequence<GPUBufferDynamicOffset> dynamicOffsets = []);
898
899
 
899
900
  undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
900
- Uint32Array dynamicOffsetsData,
901
- GPUSize64 dynamicOffsetsDataStart,
902
- GPUSize32 dynamicOffsetsDataLength);
901
+ Uint32Array dynamicOffsetsData,
902
+ GPUSize64 dynamicOffsetsDataStart,
903
+ GPUSize32 dynamicOffsetsDataLength);
903
904
  };
904
905
 
905
906
  interface mixin GPUDebugCommandsMixin {
@@ -941,8 +942,8 @@ dictionary GPUComputePassDescriptor : GPUObjectDescriptorBase {
941
942
  [Exposed=(Window, DedicatedWorker), SecureContext]
942
943
  interface GPURenderPassEncoder {
943
944
  undefined setViewport(float x, float y,
944
- float width, float height,
945
- float minDepth, float maxDepth);
945
+ float width, float height,
946
+ float minDepth, float maxDepth);
946
947
 
947
948
  undefined setScissorRect(GPUIntegerCoordinate x, GPUIntegerCoordinate y,
948
949
  GPUIntegerCoordinate width, GPUIntegerCoordinate height);
@@ -1029,11 +1030,11 @@ interface mixin GPURenderCommandsMixin {
1029
1030
  undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
1030
1031
 
1031
1032
  undefined draw(GPUSize32 vertexCount, optional GPUSize32 instanceCount = 1,
1032
- optional GPUSize32 firstVertex = 0, optional GPUSize32 firstInstance = 0);
1033
+ optional GPUSize32 firstVertex = 0, optional GPUSize32 firstInstance = 0);
1033
1034
  undefined drawIndexed(GPUSize32 indexCount, optional GPUSize32 instanceCount = 1,
1034
- optional GPUSize32 firstIndex = 0,
1035
- optional GPUSignedOffset32 baseVertex = 0,
1036
- optional GPUSize32 firstInstance = 0);
1035
+ optional GPUSize32 firstIndex = 0,
1036
+ optional GPUSignedOffset32 baseVertex = 0,
1037
+ optional GPUSize32 firstInstance = 0);
1037
1038
 
1038
1039
  undefined drawIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
1039
1040
  undefined drawIndexedIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
@@ -86,7 +86,7 @@ dictionary RTCEncodedVideoFrameMetadata {
86
86
  [Exposed=(Window,DedicatedWorker)]
87
87
  interface RTCEncodedVideoFrame {
88
88
  readonly attribute RTCEncodedVideoFrameType type;
89
- readonly attribute unsigned long long timestamp;
89
+ readonly attribute unsigned long timestamp; // RTP timestamp.
90
90
  attribute ArrayBuffer data;
91
91
  RTCEncodedVideoFrameMetadata getMetadata();
92
92
  };
@@ -99,7 +99,7 @@ dictionary RTCEncodedAudioFrameMetadata {
99
99
 
100
100
  [Exposed=(Window,DedicatedWorker)]
101
101
  interface RTCEncodedAudioFrame {
102
- readonly attribute unsigned long long timestamp;
102
+ readonly attribute unsigned long timestamp; // RTP timestamp.
103
103
  attribute ArrayBuffer data;
104
104
  RTCEncodedAudioFrameMetadata getMetadata();
105
105
  };
package/webrtc-stats.idl CHANGED
@@ -72,6 +72,7 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
72
72
  double jitterBufferDelay;
73
73
  double jitterBufferTargetDelay;
74
74
  unsigned long long jitterBufferEmittedCount;
75
+ double jitterBufferMinimumDelay;
75
76
  unsigned long long totalSamplesReceived;
76
77
  unsigned long long concealedSamples;
77
78
  unsigned long long silentConcealedSamples;
package/webxrlayers.idl CHANGED
@@ -16,6 +16,7 @@ enum XRLayerLayout {
16
16
 
17
17
  attribute boolean blendTextureSourceAlpha;
18
18
  attribute boolean? chromaticAberrationCorrection;
19
+ attribute float opacity;
19
20
  readonly attribute unsigned long mipLevels;
20
21
 
21
22
  readonly attribute boolean needsRedraw;
@@ -1,27 +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: Visual Viewport API (https://wicg.github.io/visual-viewport/)
5
-
6
- partial interface Window {
7
- [SameObject, Replaceable] readonly attribute VisualViewport? visualViewport;
8
- };
9
-
10
- [Exposed=Window]
11
- interface VisualViewport : EventTarget {
12
- readonly attribute double offsetLeft;
13
- readonly attribute double offsetTop;
14
-
15
- readonly attribute double pageLeft;
16
- readonly attribute double pageTop;
17
-
18
- readonly attribute double width;
19
- readonly attribute double height;
20
-
21
- readonly attribute double scale;
22
-
23
- readonly attribute FrozenArray<DOMRect>? segments;
24
-
25
- attribute EventHandler onresize;
26
- attribute EventHandler onscroll;
27
- };