@webref/idl 3.80.0 → 3.81.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.
- package/FileAPI.idl +1 -0
- package/css-nav.idl +1 -1
- package/edit-context.idl +15 -17
- package/fetch.idl +1 -0
- package/{fido.idl → fido-client-to-authenticator-protocol.idl} +13 -1
- package/html.idl +5 -1
- package/package.json +1 -1
- package/pointerevents.idl +1 -0
- package/prompt-api.idl +6 -0
- package/webmcp.idl +2 -9
- package/webrtc-encoded-transform.idl +16 -16
- package/webtransport.idl +1 -1
package/FileAPI.idl
CHANGED
package/css-nav.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: CSS Spatial Navigation Module Level 1 (https://drafts.csswg.org/css-nav-1/)
|
|
4
|
+
// Source: CSS Spatial Navigation Module Level 1 (https://drafts.csswg.org/css-spatial-nav-1/)
|
|
5
5
|
|
|
6
6
|
enum SpatialNavigationDirection {
|
|
7
7
|
"up",
|
package/edit-context.idl
CHANGED
|
@@ -8,9 +8,9 @@ partial interface HTMLElement {
|
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
dictionary EditContextInit {
|
|
11
|
-
DOMString text;
|
|
12
|
-
unsigned long selectionStart;
|
|
13
|
-
unsigned long selectionEnd;
|
|
11
|
+
DOMString text = "";
|
|
12
|
+
unsigned long selectionStart = 0;
|
|
13
|
+
unsigned long selectionEnd = 0;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
[Exposed=Window]
|
|
@@ -40,13 +40,11 @@ interface EditContext : EventTarget {
|
|
|
40
40
|
};
|
|
41
41
|
|
|
42
42
|
dictionary TextUpdateEventInit : EventInit {
|
|
43
|
-
unsigned long updateRangeStart;
|
|
44
|
-
unsigned long updateRangeEnd;
|
|
45
|
-
DOMString text;
|
|
46
|
-
unsigned long selectionStart;
|
|
47
|
-
unsigned long selectionEnd;
|
|
48
|
-
unsigned long compositionStart;
|
|
49
|
-
unsigned long compositionEnd;
|
|
43
|
+
unsigned long updateRangeStart = 0;
|
|
44
|
+
unsigned long updateRangeEnd = 0;
|
|
45
|
+
DOMString text = "";
|
|
46
|
+
unsigned long selectionStart = 0;
|
|
47
|
+
unsigned long selectionEnd = 0;
|
|
50
48
|
};
|
|
51
49
|
|
|
52
50
|
[Exposed=Window]
|
|
@@ -63,10 +61,10 @@ enum UnderlineStyle { "none", "solid", "dotted", "dashed", "wavy" };
|
|
|
63
61
|
enum UnderlineThickness { "none", "thin", "thick" };
|
|
64
62
|
|
|
65
63
|
dictionary TextFormatInit {
|
|
66
|
-
unsigned long rangeStart;
|
|
67
|
-
unsigned long rangeEnd;
|
|
68
|
-
UnderlineStyle underlineStyle;
|
|
69
|
-
UnderlineThickness underlineThickness;
|
|
64
|
+
unsigned long rangeStart = 0;
|
|
65
|
+
unsigned long rangeEnd = 0;
|
|
66
|
+
UnderlineStyle underlineStyle = "none";
|
|
67
|
+
UnderlineThickness underlineThickness = "none";
|
|
70
68
|
};
|
|
71
69
|
|
|
72
70
|
[Exposed=Window]
|
|
@@ -79,7 +77,7 @@ interface TextFormat {
|
|
|
79
77
|
};
|
|
80
78
|
|
|
81
79
|
dictionary TextFormatUpdateEventInit : EventInit {
|
|
82
|
-
sequence<TextFormat> textFormats;
|
|
80
|
+
sequence<TextFormat> textFormats = [];
|
|
83
81
|
};
|
|
84
82
|
|
|
85
83
|
[Exposed=Window]
|
|
@@ -89,8 +87,8 @@ interface TextFormatUpdateEvent : Event {
|
|
|
89
87
|
};
|
|
90
88
|
|
|
91
89
|
dictionary CharacterBoundsUpdateEventInit : EventInit {
|
|
92
|
-
unsigned long rangeStart;
|
|
93
|
-
unsigned long rangeEnd;
|
|
90
|
+
unsigned long rangeStart = 0;
|
|
91
|
+
unsigned long rangeEnd = 0;
|
|
94
92
|
};
|
|
95
93
|
|
|
96
94
|
[Exposed=Window]
|
package/fetch.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: Client to Authenticator Protocol (CTAP) (https://fidoalliance.org/specs/fido-v2.
|
|
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
|
|
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
package/pointerevents.idl
CHANGED
package/prompt-api.idl
CHANGED
|
@@ -49,6 +49,8 @@ interface LanguageModel : EventTarget {
|
|
|
49
49
|
// **EXPERIMENTAL**: Only available in extension and experimental contexts.
|
|
50
50
|
readonly attribute float temperature;
|
|
51
51
|
|
|
52
|
+
readonly attribute LanguageModelSamplingMode samplingMode;
|
|
53
|
+
|
|
52
54
|
Promise<LanguageModel> clone(optional LanguageModelCloneOptions options = {});
|
|
53
55
|
};
|
|
54
56
|
LanguageModel includes DestroyableModel;
|
|
@@ -82,6 +84,8 @@ dictionary LanguageModelCreateCoreOptions {
|
|
|
82
84
|
// **EXPERIMENTAL**: Only available in extension and experimental contexts.
|
|
83
85
|
unrestricted double temperature;
|
|
84
86
|
|
|
87
|
+
LanguageModelSamplingMode samplingMode = "default";
|
|
88
|
+
|
|
85
89
|
sequence<LanguageModelExpected> expectedInputs;
|
|
86
90
|
sequence<LanguageModelExpected> expectedOutputs;
|
|
87
91
|
sequence<LanguageModelTool> tools;
|
|
@@ -135,6 +139,8 @@ dictionary LanguageModelMessageContent {
|
|
|
135
139
|
required LanguageModelMessageValue value;
|
|
136
140
|
};
|
|
137
141
|
|
|
142
|
+
enum LanguageModelSamplingMode { "most-predictable", "predictable", "balanced", "creative", "most-creative" };
|
|
143
|
+
|
|
138
144
|
enum LanguageModelMessageRole { "system", "user", "assistant" };
|
|
139
145
|
|
|
140
146
|
enum LanguageModelMessageType { "text", "image", "audio", "tool-call", "tool-response" };
|
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
|
};
|
|
@@ -30,16 +30,9 @@ dictionary ToolAnnotations {
|
|
|
30
30
|
boolean untrustedContentHint = false;
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
callback ToolExecuteCallback = Promise<any> (object input
|
|
33
|
+
callback ToolExecuteCallback = Promise<any> (object input);
|
|
34
34
|
|
|
35
35
|
dictionary ModelContextRegisterToolOptions {
|
|
36
36
|
AbortSignal signal;
|
|
37
37
|
sequence<USVString> exposedTo;
|
|
38
38
|
};
|
|
39
|
-
|
|
40
|
-
[Exposed=Window, SecureContext]
|
|
41
|
-
interface ModelContextClient {
|
|
42
|
-
Promise<any> requestUserInteraction(UserInteractionCallback callback);
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
callback UserInteractionCallback = Promise<any> ();
|
|
@@ -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 (
|
|
7
|
-
typedef (
|
|
6
|
+
typedef (RTCRtpSFrameEncryptor or RTCRtpScriptTransform) RTCRtpSenderTransform;
|
|
7
|
+
typedef (RTCRtpSFrameDecryptor or RTCRtpScriptTransform) RTCRtpReceiverTransform;
|
|
8
8
|
|
|
9
9
|
// New methods for RTCRtpSender and RTCRtpReceiver
|
|
10
10
|
partial interface RTCRtpSender {
|
|
@@ -36,48 +36,48 @@ enum SFrameType {
|
|
|
36
36
|
"per-packet"
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
dictionary
|
|
39
|
+
dictionary RTCRtpSFrameEncryptorOptions : SFrameTransformOptions {
|
|
40
40
|
SFrameType type = "per-frame";
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
typedef [EnforceRange] unsigned long long SmallCryptoKeyID;
|
|
44
44
|
typedef (SmallCryptoKeyID or bigint) CryptoKeyID;
|
|
45
45
|
|
|
46
|
-
interface mixin
|
|
46
|
+
interface mixin SFrameEncryptorManager {
|
|
47
47
|
Promise<undefined> setEncryptionKey(CryptoKey key, CryptoKeyID keyId);
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
interface mixin
|
|
50
|
+
interface mixin SFrameDecryptorManager {
|
|
51
51
|
Promise<undefined> addDecryptionKey(CryptoKey key, CryptoKeyID keyId);
|
|
52
52
|
Promise<undefined> removeDecryptionKey(CryptoKeyID keyId);
|
|
53
53
|
attribute EventHandler onerror;
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
[Exposed=Window]
|
|
57
|
-
interface
|
|
58
|
-
constructor(
|
|
57
|
+
interface RTCRtpSFrameEncryptor {
|
|
58
|
+
constructor(RTCRtpSFrameEncryptorOptions options);
|
|
59
59
|
};
|
|
60
|
-
|
|
60
|
+
RTCRtpSFrameEncryptor includes SFrameEncryptorManager;
|
|
61
61
|
|
|
62
62
|
[Exposed=Window]
|
|
63
|
-
interface
|
|
63
|
+
interface RTCRtpSFrameDecryptor : EventTarget {
|
|
64
64
|
constructor(SFrameTransformOptions options);
|
|
65
65
|
};
|
|
66
|
-
|
|
66
|
+
RTCRtpSFrameDecryptor includes SFrameDecryptorManager;
|
|
67
67
|
|
|
68
68
|
[Exposed=(Window,DedicatedWorker)]
|
|
69
|
-
interface
|
|
69
|
+
interface SFrameEncryptorStream {
|
|
70
70
|
constructor(SFrameTransformOptions options);
|
|
71
71
|
};
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
SFrameEncryptorStream includes GenericTransformStream;
|
|
73
|
+
SFrameEncryptorStream includes SFrameEncryptorManager;
|
|
74
74
|
|
|
75
75
|
[Exposed=(Window,DedicatedWorker)]
|
|
76
|
-
interface
|
|
76
|
+
interface SFrameDecryptorStream : EventTarget {
|
|
77
77
|
constructor(SFrameTransformOptions options);
|
|
78
78
|
};
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
SFrameDecryptorStream includes GenericTransformStream;
|
|
80
|
+
SFrameDecryptorStream includes SFrameDecryptorManager;
|
|
81
81
|
|
|
82
82
|
enum SFrameTransformErrorEventType {
|
|
83
83
|
"authentication",
|
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,
|
|
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;
|