@webref/idl 3.75.1 → 3.75.3

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/SVG.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: Scalable Vector Graphics (SVG) 2 (https://svgwg.org/svg2-draft/)
4
+ // Source: Scalable Vector Graphics (SVG) 2 (https://w3c.github.io/svgwg/svg2-draft/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface SVGElement : Element {
package/compression.idl CHANGED
@@ -4,6 +4,7 @@
4
4
  // Source: Compression Standard (https://compression.spec.whatwg.org/)
5
5
 
6
6
  enum CompressionFormat {
7
+ "brotli",
7
8
  "deflate",
8
9
  "deflate-raw",
9
10
  "gzip",
package/fetch.idl CHANGED
@@ -77,7 +77,7 @@ dictionary RequestInit {
77
77
  any window; // can only be set to null
78
78
  };
79
79
 
80
- enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "json", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
80
+ enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "json", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "text", "track", "video", "worker", "xslt" };
81
81
  enum RequestMode { "navigate", "same-origin", "no-cors", "cors" };
82
82
  enum RequestCredentials { "omit", "same-origin", "include" };
83
83
  enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
package/html.idl CHANGED
@@ -447,6 +447,7 @@ interface HTMLImageElement : HTMLElement {
447
447
  [CEReactions] attribute DOMString? crossOrigin;
448
448
  [CEReactions, Reflect] attribute DOMString useMap;
449
449
  [CEReactions, Reflect] attribute boolean isMap;
450
+ [CEReactions, Reflect] attribute boolean controls;
450
451
  [CEReactions, ReflectSetter] attribute unsigned long width;
451
452
  [CEReactions, ReflectSetter] attribute unsigned long height;
452
453
  readonly attribute unsigned long naturalWidth;
@@ -1275,6 +1276,7 @@ interface HTMLTemplateElement : HTMLElement {
1275
1276
  readonly attribute DocumentFragment content;
1276
1277
  [CEReactions] attribute DOMString shadowRootMode;
1277
1278
  [CEReactions, Reflect] attribute boolean shadowRootDelegatesFocus;
1279
+ [CEReactions] attribute DOMString shadowRootSlotAssignment;
1278
1280
  [CEReactions, Reflect] attribute boolean shadowRootClonable;
1279
1281
  [CEReactions, Reflect] attribute boolean shadowRootSerializable;
1280
1282
  [CEReactions, Reflect] attribute DOMString shadowRootCustomElementRegistry;
@@ -12,6 +12,8 @@ interface MediaStreamTrackHandle {
12
12
  interface MediaStreamTrackProcessor {
13
13
  constructor(MediaStreamTrackProcessorInit init);
14
14
  readonly attribute ReadableStream readable;
15
+ readonly attribute unsigned long long discardedFrames;
16
+ readonly attribute unsigned long long totalFrames;
15
17
  };
16
18
 
17
19
  typedef (MediaStreamTrack or MediaStreamTrackHandle) MediaStreamTrackOrHandle;
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.75.1",
4
+ "version": "3.75.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/sanitizer-api.idl CHANGED
@@ -22,6 +22,8 @@ interface Sanitizer {
22
22
  boolean allowElement(SanitizerElementWithAttributes element);
23
23
  boolean removeElement(SanitizerElement element);
24
24
  boolean replaceElementWithChildren(SanitizerElement element);
25
+ boolean allowProcessingInstruction(SanitizerPI pi);
26
+ boolean removeProcessingInstruction(SanitizerPI pi);
25
27
  boolean allowAttribute(SanitizerAttribute attribute);
26
28
  boolean removeAttribute(SanitizerAttribute attribute);
27
29
  boolean setComments(boolean allow);
@@ -45,6 +47,12 @@ dictionary SanitizerElementNamespaceWithAttributes : SanitizerElementNamespace {
45
47
  typedef (DOMString or SanitizerElementNamespace) SanitizerElement;
46
48
  typedef (DOMString or SanitizerElementNamespaceWithAttributes) SanitizerElementWithAttributes;
47
49
 
50
+ dictionary SanitizerProcessingInstruction {
51
+ required DOMString target;
52
+ };
53
+
54
+ typedef (DOMString or SanitizerProcessingInstruction) SanitizerPI;
55
+
48
56
  dictionary SanitizerAttributeNamespace {
49
57
  required DOMString name;
50
58
  DOMString? _namespace = null;
@@ -56,6 +64,9 @@ dictionary SanitizerConfig {
56
64
  sequence<SanitizerElement> removeElements;
57
65
  sequence<SanitizerElement> replaceWithChildrenElements;
58
66
 
67
+ sequence<SanitizerPI> processingInstructions;
68
+ sequence<SanitizerPI> removeProcessingInstructions;
69
+
59
70
  sequence<SanitizerAttribute> attributes;
60
71
  sequence<SanitizerAttribute> removeAttributes;
61
72
 
package/wasm-js-api.idl CHANGED
@@ -15,11 +15,11 @@ dictionary WebAssemblyCompileOptions {
15
15
 
16
16
  [Exposed=*]
17
17
  namespace WebAssembly {
18
- boolean validate(BufferSource bytes, optional WebAssemblyCompileOptions options = {});
19
- Promise<Module> compile(BufferSource bytes, optional WebAssemblyCompileOptions options = {});
18
+ boolean validate([AllowResizable] AllowSharedBufferSource bytes, optional WebAssemblyCompileOptions options = {});
19
+ Promise<Module> compile([AllowResizable] AllowSharedBufferSource bytes, optional WebAssemblyCompileOptions options = {});
20
20
 
21
21
  Promise<WebAssemblyInstantiatedSource> instantiate(
22
- BufferSource bytes, optional object importObject, optional WebAssemblyCompileOptions options = {});
22
+ [AllowResizable] AllowSharedBufferSource bytes, optional object importObject, optional WebAssemblyCompileOptions options = {});
23
23
 
24
24
  Promise<Instance> instantiate(
25
25
  Module moduleObject, optional object importObject);
@@ -56,7 +56,7 @@ dictionary ModuleImportDescriptor {
56
56
 
57
57
  [LegacyNamespace=WebAssembly, Exposed=*]
58
58
  interface Module {
59
- constructor(BufferSource bytes, optional WebAssemblyCompileOptions options = {});
59
+ constructor([AllowResizable] AllowSharedBufferSource bytes, optional WebAssemblyCompileOptions options = {});
60
60
  static sequence<ModuleExportDescriptor> exports(Module moduleObject);
61
61
  static sequence<ModuleImportDescriptor> imports(Module moduleObject);
62
62
  static sequence<ArrayBuffer> customSections(Module moduleObject, DOMString sectionName);
package/webmcp.idl CHANGED
@@ -14,6 +14,9 @@ interface ModelContext {
14
14
 
15
15
  dictionary ModelContextTool {
16
16
  required DOMString name;
17
+ // Because `title` is for display in possibly native UIs, this must be a `USVString`.
18
+ // See https://w3ctag.github.io/design-principles/#idl-string-types.
19
+ USVString title;
17
20
  required DOMString description;
18
21
  object inputSchema;
19
22
  required ToolExecuteCallback execute;
@@ -15,13 +15,16 @@ partial interface RTCRtpReceiver {
15
15
  attribute RTCRtpReceiverTransform? transform;
16
16
  };
17
17
 
18
- // List of supported cipher suites, as defined in [[RFC9605]] section 4.5.
18
+ // List of supported cipher suites, as defined in [[RFC9605]] section 4.5 and in https://datatracker.ietf.org/doc/draft-barnes-sframe-iana-256/.
19
19
  enum SFrameCipherSuite {
20
20
  "AES_128_CTR_HMAC_SHA256_80",
21
21
  "AES_128_CTR_HMAC_SHA256_64",
22
22
  "AES_128_CTR_HMAC_SHA256_32",
23
23
  "AES_128_GCM_SHA256_128",
24
- "AES_256_GCM_SHA512_128"
24
+ "AES_256_GCM_SHA512_128",
25
+ "AES_256_CTR_HMAC_SHA512_80",
26
+ "AES_256_CTR_HMAC_SHA512_64",
27
+ "AES_256_CTR_HMAC_SHA512_32"
25
28
  };
26
29
 
27
30
  dictionary SFrameTransformOptions {
@@ -52,26 +55,26 @@ interface mixin SFrameDecrypterManager {
52
55
 
53
56
  [Exposed=Window]
54
57
  interface RTCSFrameSenderTransform {
55
- constructor(optional RTCSFrameSenderTransformOptions options = {});
58
+ constructor(RTCSFrameSenderTransformOptions options);
56
59
  };
57
60
  RTCSFrameSenderTransform includes SFrameEncrypterManager;
58
61
 
59
62
  [Exposed=Window]
60
63
  interface RTCSFrameReceiverTransform : EventTarget {
61
- constructor(optional SFrameTransformOptions options = {});
64
+ constructor(SFrameTransformOptions options);
62
65
  };
63
66
  RTCSFrameReceiverTransform includes SFrameDecrypterManager;
64
67
 
65
68
  [Exposed=(Window,DedicatedWorker)]
66
69
  interface SFrameEncrypterStream : EventTarget {
67
- constructor(optional SFrameTransformOptions options = {});
70
+ constructor(SFrameTransformOptions options);
68
71
  };
69
72
  SFrameEncrypterStream includes GenericTransformStream;
70
73
  SFrameEncrypterStream includes SFrameEncrypterManager;
71
74
 
72
75
  [Exposed=(Window,DedicatedWorker)]
73
76
  interface SFrameDecrypterStream : EventTarget {
74
- constructor(optional SFrameTransformOptions options = {});
77
+ constructor(SFrameTransformOptions options);
75
78
  };
76
79
  SFrameDecrypterStream includes GenericTransformStream;
77
80
  SFrameDecrypterStream includes SFrameDecrypterManager;
@@ -21,6 +21,7 @@ interface Summarizer {
21
21
  readonly attribute SummarizerType type;
22
22
  readonly attribute SummarizerFormat format;
23
23
  readonly attribute SummarizerLength length;
24
+ // **EXPERIMENTAL**: Only available in extension and experimental contexts.
24
25
  readonly attribute PerformancePreference preference;
25
26
 
26
27
  readonly attribute FrozenArray<DOMString>? expectedInputLanguages;
@@ -39,6 +40,7 @@ dictionary SummarizerCreateCoreOptions {
39
40
  SummarizerType type = "key-points";
40
41
  SummarizerFormat format = "markdown";
41
42
  SummarizerLength length = "short";
43
+ // **EXPERIMENTAL**: Only available in extension and experimental contexts.
42
44
  PerformancePreference preference = "auto";
43
45
 
44
46
  sequence<DOMString> expectedInputLanguages;