@webref/idl 3.75.0 → 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.
@@ -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/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.0",
4
+ "version": "3.75.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
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);
@@ -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
 
@@ -43,7 +52,7 @@ interface mixin SFrameDecrypterManager {
43
52
 
44
53
  [Exposed=Window]
45
54
  interface RTCSFrameSenderTransform {
46
- constructor(optional SFrameTransformOptions options = {});
55
+ constructor(optional RTCSFrameSenderTransformOptions options = {});
47
56
  };
48
57
  RTCSFrameSenderTransform includes SFrameEncrypterManager;
49
58
 
@@ -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]