@webref/idl 3.80.0 → 3.81.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/FileAPI.idl CHANGED
@@ -20,6 +20,7 @@ interface Blob {
20
20
  [NewObject] ReadableStream stream();
21
21
  [NewObject] Promise<USVString> text();
22
22
  [NewObject] Promise<ArrayBuffer> arrayBuffer();
23
+ [NewObject] ReadableStream textStream();
23
24
  [NewObject] Promise<Uint8Array> bytes();
24
25
  };
25
26
 
package/edit-context.idl CHANGED
@@ -45,8 +45,6 @@ dictionary TextUpdateEventInit : EventInit {
45
45
  DOMString text;
46
46
  unsigned long selectionStart;
47
47
  unsigned long selectionEnd;
48
- unsigned long compositionStart;
49
- unsigned long compositionEnd;
50
48
  };
51
49
 
52
50
  [Exposed=Window]
package/fetch.idl CHANGED
@@ -30,6 +30,7 @@ interface mixin Body {
30
30
  [NewObject] Promise<FormData> formData();
31
31
  [NewObject] Promise<any> json();
32
32
  [NewObject] Promise<USVString> text();
33
+ [NewObject] ReadableStream textStream();
33
34
  };
34
35
  typedef (Request or USVString) RequestInfo;
35
36
 
@@ -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: Client to Authenticator Protocol (CTAP) (https://fidoalliance.org/specs/fido-v2.1-ps-20210615/fido-client-to-authenticator-protocol-v2.1-ps-errata-20220621.html)
4
+ // Source: Client to Authenticator Protocol (CTAP) (https://fidoalliance.org/specs/fido-v2.2-ps-20250714/fido-client-to-authenticator-protocol-v2.2-ps-20250714.html)
5
5
 
6
6
  partial dictionary AuthenticationExtensionsClientInputs {
7
7
  USVString credentialProtectionPolicy;
@@ -16,10 +16,22 @@ partial dictionary AuthenticationExtensionsClientInputs {
16
16
  boolean getCredBlob;
17
17
  };
18
18
 
19
+ partial dictionary AuthenticationExtensionsClientOutputs {
20
+ boolean credBlob;
21
+ };
22
+
23
+ partial dictionary AuthenticationExtensionsClientOutputs {
24
+ ArrayBuffer getCredBlob;
25
+ };
26
+
19
27
  partial dictionary AuthenticationExtensionsClientInputs {
20
28
  boolean minPinLength;
21
29
  };
22
30
 
31
+ partial dictionary AuthenticationExtensionsClientInputs {
32
+ boolean pinComplexityPolicy;
33
+ };
34
+
23
35
  partial dictionary AuthenticationExtensionsClientInputs {
24
36
  boolean hmacCreateSecret;
25
37
  };
package/html.idl CHANGED
@@ -48,7 +48,7 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
48
48
 
49
49
  [LegacyOverrideBuiltIns]
50
50
  partial interface Document {
51
- static Document parseHTMLUnsafe((TrustedHTML or DOMString) html, optional SetHTMLUnsafeOptions options = {});
51
+ static Document parseHTMLUnsafe((TrustedHTML or DOMString) html, optional ParseHTMLUnsafeOptions options = {});
52
52
  static Document parseHTML(DOMString html, optional SetHTMLOptions options = {});
53
53
 
54
54
  // resource metadata management
@@ -2385,6 +2385,10 @@ dictionary SetHTMLOptions {
2385
2385
  };
2386
2386
  dictionary SetHTMLUnsafeOptions {
2387
2387
  (Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
2388
+ boolean runScripts = false;
2389
+ };
2390
+ dictionary ParseHTMLUnsafeOptions {
2391
+ (Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
2388
2392
  };
2389
2393
 
2390
2394
  dictionary GetHTMLOptions {
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.80.0",
4
+ "version": "3.81.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/webmcp.idl CHANGED
@@ -9,7 +9,7 @@ partial interface Document {
9
9
 
10
10
  [Exposed=Window, SecureContext]
11
11
  interface ModelContext : EventTarget {
12
- undefined registerTool(ModelContextTool tool, optional ModelContextRegisterToolOptions options = {});
12
+ Promise<undefined> registerTool(ModelContextTool tool, optional ModelContextRegisterToolOptions options = {});
13
13
 
14
14
  attribute EventHandler ontoolchange;
15
15
  };
package/webtransport.idl CHANGED
@@ -27,7 +27,7 @@ interface WebTransport {
27
27
  constructor(USVString url, optional WebTransportOptions options = {});
28
28
 
29
29
  Promise<WebTransportConnectionStats> getStats();
30
- [NewObject] Promise<Uint8Array> exportKeyingMaterial(BufferSource label, optional BufferSource context);
30
+ [NewObject] Promise<Uint8Array> exportKeyingMaterial(BufferSource label, BufferSource context, unsigned long outputLength);
31
31
  readonly attribute Promise<undefined> ready;
32
32
  readonly attribute WebTransportReliabilityMode reliability;
33
33
  readonly attribute WebTransportCongestionControl congestionControl;