@webref/idl 3.65.2 → 3.65.4

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.
@@ -5,6 +5,6 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSSContainerRule : CSSConditionRule {
8
- readonly attribute CSSOMString containerName;
9
- readonly attribute CSSOMString containerQuery;
8
+ readonly attribute CSSOMString containerName;
9
+ readonly attribute CSSOMString containerQuery;
10
10
  };
@@ -8,7 +8,7 @@ partial dictionary CredentialRequestOptions {
8
8
  };
9
9
 
10
10
  dictionary DigitalCredentialRequestOptions {
11
- sequence<DigitalCredentialGetRequest> requests;
11
+ required sequence<DigitalCredentialGetRequest> requests;
12
12
  };
13
13
 
14
14
  dictionary DigitalCredentialGetRequest {
@@ -31,6 +31,7 @@ dictionary DigitalCredentialCreateRequest {
31
31
 
32
32
  [Exposed=Window, SecureContext]
33
33
  interface DigitalCredential : Credential {
34
+ [Default] object toJSON();
34
35
  readonly attribute DOMString protocol;
35
36
  [SameObject] readonly attribute object data;
36
37
  static boolean userAgentAllowsProtocol(DOMString protocol);
package/dom.idl CHANGED
@@ -412,7 +412,7 @@ dictionary ShadowRootInit {
412
412
  SlotAssignmentMode slotAssignment = "named";
413
413
  boolean clonable = false;
414
414
  boolean serializable = false;
415
- CustomElementRegistry customElementRegistry;
415
+ CustomElementRegistry? customElementRegistry = null;
416
416
  };
417
417
 
418
418
  [Exposed=Window,
package/fedcm.idl CHANGED
@@ -21,14 +21,14 @@ dictionary DisconnectedAccount {
21
21
 
22
22
  dictionary IdentityCredentialErrorInit {
23
23
  DOMString error;
24
- DOMString url;
24
+ USVString url;
25
25
  };
26
26
 
27
27
  [Exposed=Window, SecureContext]
28
28
  interface IdentityCredentialError : DOMException {
29
29
  constructor(optional DOMString message = "", optional IdentityCredentialErrorInit options = {});
30
30
  readonly attribute DOMString error;
31
- readonly attribute DOMString url;
31
+ readonly attribute USVString url;
32
32
  };
33
33
 
34
34
  partial dictionary CredentialRequestOptions {
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.65.2",
4
+ "version": "3.65.4",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/speech-api.idl CHANGED
@@ -14,7 +14,7 @@ interface SpeechRecognition : EventTarget {
14
14
  attribute boolean interimResults;
15
15
  attribute unsigned long maxAlternatives;
16
16
  attribute boolean processLocally;
17
- attribute SpeechRecognitionPhraseList phrases;
17
+ attribute ObservableArray<SpeechRecognitionPhrase> phrases;
18
18
 
19
19
  // methods to drive the speech interaction
20
20
  undefined start();
@@ -135,16 +135,6 @@ interface SpeechRecognitionPhrase {
135
135
  readonly attribute float boost;
136
136
  };
137
137
 
138
- // The object representing a list of phrases for contextual biasing.
139
- [SecureContext, Exposed=Window]
140
- interface SpeechRecognitionPhraseList {
141
- constructor(sequence<SpeechRecognitionPhrase> phrases);
142
- readonly attribute unsigned long length;
143
- SpeechRecognitionPhrase item(unsigned long index);
144
- undefined addItem(SpeechRecognitionPhrase item);
145
- undefined removeItem(unsigned long index);
146
- };
147
-
148
138
  [Exposed=Window]
149
139
  interface SpeechSynthesis : EventTarget {
150
140
  readonly attribute boolean pending;
package/webcrypto.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 Cryptography API (https://w3c.github.io/webcrypto/)
4
+ // Source: Web Cryptography API Level 2 (https://w3c.github.io/webcrypto/)
5
5
 
6
6
  partial interface mixin WindowOrWorkerGlobalScope {
7
7
  [SameObject] readonly attribute Crypto crypto;
package/webgpu.idl CHANGED
@@ -565,6 +565,7 @@ dictionary GPUBindGroupDescriptor
565
565
  };
566
566
 
567
567
  typedef (GPUSampler or
568
+ GPUTexture or
568
569
  GPUTextureView or
569
570
  GPUBuffer or
570
571
  GPUBufferBinding or
@@ -1077,9 +1078,9 @@ dictionary GPURenderPassDescriptor
1077
1078
  };
1078
1079
 
1079
1080
  dictionary GPURenderPassColorAttachment {
1080
- required GPUTextureView view;
1081
+ required (GPUTexture or GPUTextureView) view;
1081
1082
  GPUIntegerCoordinate depthSlice;
1082
- GPUTextureView resolveTarget;
1083
+ (GPUTexture or GPUTextureView) resolveTarget;
1083
1084
 
1084
1085
  GPUColor clearValue;
1085
1086
  required GPULoadOp loadOp;
@@ -1087,7 +1088,7 @@ dictionary GPURenderPassColorAttachment {
1087
1088
  };
1088
1089
 
1089
1090
  dictionary GPURenderPassDepthStencilAttachment {
1090
- required GPUTextureView view;
1091
+ required (GPUTexture or GPUTextureView) view;
1091
1092
 
1092
1093
  float depthClearValue;
1093
1094
  GPULoadOp depthLoadOp;
package/webtransport.idl CHANGED
@@ -156,6 +156,7 @@ interface WebTransportBidirectionalStream {
156
156
  [Exposed=*, SecureContext]
157
157
  interface WebTransportWriter : WritableStreamDefaultWriter {
158
158
  Promise<undefined> atomicWrite(optional any chunk);
159
+ undefined commit();
159
160
  };
160
161
 
161
162
  [Exposed=(Window,Worker), Serializable, SecureContext]