@webref/idl 3.74.1 → 3.75.1

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.
@@ -0,0 +1,21 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Container Timing API (https://wicg.github.io/container-timing/)
5
+
6
+ [Exposed=Window]
7
+ interface PerformanceContainerTiming : PerformanceEntry {
8
+ readonly attribute DOMString identifier;
9
+ readonly attribute DOMRectReadOnly intersectionRect;
10
+ readonly attribute unsigned long long size;
11
+ readonly attribute DOMHighResTimeStamp firstRenderTime;
12
+ readonly attribute Element? lastPaintedElement;
13
+ readonly attribute Element? rootElement;
14
+ };
15
+
16
+ PerformanceContainerTiming includes PaintTimingMixin;
17
+
18
+ partial interface Element {
19
+ [CEReactions] attribute DOMString containertiming;
20
+ [CEReactions] attribute DOMString? containertimingIgnore;
21
+ };
@@ -3,10 +3,16 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS Conditional Rules Module Level 5 (https://drafts.csswg.org/css-conditional-5/)
5
5
 
6
+ dictionary CSSContainerCondition {
7
+ required CSSOMString name;
8
+ required CSSOMString query;
9
+ };
10
+
6
11
  [Exposed=Window]
7
12
  interface CSSContainerRule : CSSConditionRule {
8
13
  readonly attribute CSSOMString containerName;
9
14
  readonly attribute CSSOMString containerQuery;
15
+ readonly attribute FrozenArray<CSSContainerCondition> conditions;
10
16
  };
11
17
 
12
18
  [Exposed=Window]
package/css-mixins.idl CHANGED
@@ -13,7 +13,7 @@ interface CSSFunctionRule : CSSGroupingRule {
13
13
  dictionary FunctionParameter {
14
14
  required CSSOMString name;
15
15
  required CSSOMString type;
16
- CSSOMString? defaultValue;
16
+ CSSOMString defaultValue;
17
17
  };
18
18
 
19
19
  [Exposed=Window]
package/html.idl CHANGED
@@ -531,6 +531,7 @@ interface HTMLVideoElement : HTMLMediaElement {
531
531
  readonly attribute unsigned long videoHeight;
532
532
  [CEReactions, ReflectURL] attribute USVString poster;
533
533
  [CEReactions, Reflect] attribute boolean playsInline;
534
+
534
535
  };
535
536
 
536
537
  [Exposed=Window,
@@ -613,6 +614,7 @@ interface HTMLMediaElement : HTMLElement {
613
614
  attribute double volume;
614
615
  attribute boolean muted;
615
616
  [CEReactions, Reflect="muted"] attribute boolean defaultMuted;
617
+ [CEReactions] attribute DOMString loading;
616
618
 
617
619
  // tracks
618
620
  [SameObject] readonly attribute AudioTrackList audioTracks;
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.74.1",
4
+ "version": "3.75.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -41,7 +41,8 @@ enum RenderBlockingStatusType {
41
41
  "non-blocking"
42
42
  };
43
43
 
44
- partial interface Performance { undefined clearResourceTimings ();
45
- undefined setResourceTimingBufferSize (unsigned long maxSize);
46
- attribute EventHandler onresourcetimingbufferfull;
47
- };
44
+ partial interface Performance {
45
+ undefined clearResourceTimings ();
46
+ undefined setResourceTimingBufferSize (unsigned long maxSize);
47
+ attribute EventHandler onresourcetimingbufferfull;
48
+ };
package/web-nfc.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 NFC (https://w3c.github.io/web-nfc/)
4
+ // Source: Web NFC (https://w3c-cg.github.io/web-nfc/)
5
5
 
6
6
  [SecureContext, Exposed=Window]
7
7
  interface NDEFMessage {
package/webmcp.idl CHANGED
@@ -9,8 +9,7 @@ partial interface Navigator {
9
9
 
10
10
  [Exposed=Window, SecureContext]
11
11
  interface ModelContext {
12
- undefined registerTool(ModelContextTool tool);
13
- undefined unregisterTool(DOMString name);
12
+ undefined registerTool(ModelContextTool tool, optional ModelContextRegisterToolOptions options = {});
14
13
  };
15
14
 
16
15
  dictionary ModelContextTool {
@@ -27,6 +26,10 @@ dictionary ToolAnnotations {
27
26
 
28
27
  callback ToolExecuteCallback = Promise<any> (object input, ModelContextClient client);
29
28
 
29
+ dictionary ModelContextRegisterToolOptions {
30
+ AbortSignal signal;
31
+ };
32
+
30
33
  [Exposed=Window, SecureContext]
31
34
  interface ModelContextClient {
32
35
  Promise<any> requestUserInteraction(UserInteractionCallback callback);
@@ -3,8 +3,8 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: WebRTC Encoded Transform (https://w3c.github.io/webrtc-encoded-transform/)
5
5
 
6
- typedef (SFrameSenderTransform or RTCRtpScriptTransform) RTCRtpSenderTransform;
7
- typedef (SFrameReceiverTransform or RTCRtpScriptTransform) RTCRtpReceiverTransform;
6
+ typedef (RTCSFrameSenderTransform or RTCRtpScriptTransform) RTCRtpSenderTransform;
7
+ typedef (RTCSFrameReceiverTransform or RTCRtpScriptTransform) RTCRtpReceiverTransform;
8
8
 
9
9
  // New methods for RTCRtpSender and RTCRtpReceiver
10
10
  partial interface RTCRtpSender {
@@ -28,6 +28,15 @@ dictionary SFrameTransformOptions {
28
28
  required SFrameCipherSuite cipherSuite;
29
29
  };
30
30
 
31
+ enum SFrameType {
32
+ "per-frame",
33
+ "per-packet"
34
+ };
35
+
36
+ dictionary RTCSFrameSenderTransformOptions : SFrameTransformOptions {
37
+ SFrameType type = "per-frame";
38
+ };
39
+
31
40
  typedef [EnforceRange] unsigned long long SmallCryptoKeyID;
32
41
  typedef (SmallCryptoKeyID or bigint) CryptoKeyID;
33
42
 
@@ -42,16 +51,16 @@ interface mixin SFrameDecrypterManager {
42
51
  };
43
52
 
44
53
  [Exposed=Window]
45
- interface SFrameSenderTransform {
46
- constructor(optional SFrameTransformOptions options = {});
54
+ interface RTCSFrameSenderTransform {
55
+ constructor(optional RTCSFrameSenderTransformOptions options = {});
47
56
  };
48
- SFrameSenderTransform includes SFrameEncrypterManager;
57
+ RTCSFrameSenderTransform includes SFrameEncrypterManager;
49
58
 
50
59
  [Exposed=Window]
51
- interface SFrameReceiverTransform : EventTarget {
60
+ interface RTCSFrameReceiverTransform : EventTarget {
52
61
  constructor(optional SFrameTransformOptions options = {});
53
62
  };
54
- SFrameReceiverTransform includes SFrameDecrypterManager;
63
+ RTCSFrameReceiverTransform includes SFrameDecrypterManager;
55
64
 
56
65
  [Exposed=(Window,DedicatedWorker)]
57
66
  interface SFrameEncrypterStream : EventTarget {
@@ -138,9 +147,20 @@ interface RTCEncodedAudioFrame {
138
147
  RTCEncodedAudioFrameMetadata getMetadata();
139
148
  };
140
149
 
150
+ enum RTCRtpScriptTransformType {
151
+ "sframe"
152
+ };
153
+
154
+ dictionary WorkerAndParameters {
155
+ required Worker worker;
156
+ RTCRtpScriptTransformType type;
157
+ };
158
+
159
+ typedef (Worker or WorkerAndParameters) WorkerOrWorkerAndParameters;
160
+
141
161
  [Exposed=Window]
142
162
  interface RTCRtpScriptTransform {
143
- constructor(Worker worker, optional any options, optional sequence<object> transfer);
163
+ constructor(WorkerOrWorkerAndParameters workerOrWorkerAndParameters, optional any options, optional sequence<object> transfer);
144
164
  };
145
165
 
146
166
  [Exposed=DedicatedWorker]