@webref/idl 3.79.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 +1 -0
- package/edit-context.idl +0 -2
- package/fetch.idl +1 -0
- package/{fido.idl → fido-client-to-authenticator-protocol.idl} +13 -1
- package/html.idl +80 -3
- package/package.json +1 -1
- package/webmcp.idl +3 -3
- package/webtransport.idl +1 -1
- package/webxrlayers.idl +0 -2
- package/sanitizer-api.idl +0 -87
package/FileAPI.idl
CHANGED
package/edit-context.idl
CHANGED
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,8 @@ typedef (HTMLScriptElement or SVGScriptElement) HTMLOrSVGScriptElement;
|
|
|
48
48
|
|
|
49
49
|
[LegacyOverrideBuiltIns]
|
|
50
50
|
partial interface Document {
|
|
51
|
-
static Document parseHTMLUnsafe((TrustedHTML or DOMString) html);
|
|
51
|
+
static Document parseHTMLUnsafe((TrustedHTML or DOMString) html, optional ParseHTMLUnsafeOptions options = {});
|
|
52
|
+
static Document parseHTML(DOMString html, optional SetHTMLOptions options = {});
|
|
52
53
|
|
|
53
54
|
// resource metadata management
|
|
54
55
|
[PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;
|
|
@@ -2361,7 +2362,8 @@ Window includes WindowOrWorkerGlobalScope;
|
|
|
2361
2362
|
WorkerGlobalScope includes WindowOrWorkerGlobalScope;
|
|
2362
2363
|
|
|
2363
2364
|
partial interface Element {
|
|
2364
|
-
[CEReactions] undefined
|
|
2365
|
+
[CEReactions] undefined setHTML(DOMString html, optional SetHTMLOptions options = {});
|
|
2366
|
+
[CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html, optional SetHTMLUnsafeOptions options = {});
|
|
2365
2367
|
DOMString getHTML(optional GetHTMLOptions options = {});
|
|
2366
2368
|
|
|
2367
2369
|
[CEReactions] attribute (TrustedHTML or [LegacyNullToEmptyString] DOMString) innerHTML;
|
|
@@ -2370,12 +2372,25 @@ partial interface Element {
|
|
|
2370
2372
|
};
|
|
2371
2373
|
|
|
2372
2374
|
partial interface ShadowRoot {
|
|
2373
|
-
[CEReactions] undefined
|
|
2375
|
+
[CEReactions] undefined setHTML(DOMString html, optional SetHTMLOptions options = {});
|
|
2376
|
+
[CEReactions] undefined setHTMLUnsafe((TrustedHTML or DOMString) html, optional SetHTMLUnsafeOptions options = {});
|
|
2374
2377
|
DOMString getHTML(optional GetHTMLOptions options = {});
|
|
2375
2378
|
|
|
2376
2379
|
[CEReactions] attribute (TrustedHTML or [LegacyNullToEmptyString] DOMString) innerHTML;
|
|
2377
2380
|
};
|
|
2378
2381
|
|
|
2382
|
+
enum SanitizerPresets { "default" };
|
|
2383
|
+
dictionary SetHTMLOptions {
|
|
2384
|
+
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = "default";
|
|
2385
|
+
};
|
|
2386
|
+
dictionary SetHTMLUnsafeOptions {
|
|
2387
|
+
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
|
|
2388
|
+
boolean runScripts = false;
|
|
2389
|
+
};
|
|
2390
|
+
dictionary ParseHTMLUnsafeOptions {
|
|
2391
|
+
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
|
|
2392
|
+
};
|
|
2393
|
+
|
|
2379
2394
|
dictionary GetHTMLOptions {
|
|
2380
2395
|
boolean serializableShadowRoots = false;
|
|
2381
2396
|
sequence<ShadowRoot> shadowRoots = [];
|
|
@@ -2407,6 +2422,68 @@ interface XMLSerializer {
|
|
|
2407
2422
|
DOMString serializeToString(Node root);
|
|
2408
2423
|
};
|
|
2409
2424
|
|
|
2425
|
+
[Exposed=Window]
|
|
2426
|
+
interface Sanitizer {
|
|
2427
|
+
constructor(optional (SanitizerConfig or SanitizerPresets) configuration = "default");
|
|
2428
|
+
|
|
2429
|
+
// Query configuration:
|
|
2430
|
+
SanitizerConfig get();
|
|
2431
|
+
|
|
2432
|
+
// Modify a Sanitizer's lists and fields:
|
|
2433
|
+
boolean allowElement(SanitizerElementWithAttributes element);
|
|
2434
|
+
boolean removeElement(SanitizerElement element);
|
|
2435
|
+
boolean replaceElementWithChildren(SanitizerElement element);
|
|
2436
|
+
boolean allowProcessingInstruction(SanitizerPI pi);
|
|
2437
|
+
boolean removeProcessingInstruction(SanitizerPI pi);
|
|
2438
|
+
boolean allowAttribute(SanitizerAttribute attribute);
|
|
2439
|
+
boolean removeAttribute(SanitizerAttribute attribute);
|
|
2440
|
+
boolean setComments(boolean allow);
|
|
2441
|
+
boolean setDataAttributes(boolean allow);
|
|
2442
|
+
|
|
2443
|
+
// Remove markup that executes script.
|
|
2444
|
+
boolean removeUnsafe();
|
|
2445
|
+
};
|
|
2446
|
+
|
|
2447
|
+
dictionary SanitizerElementNamespace {
|
|
2448
|
+
required DOMString name;
|
|
2449
|
+
DOMString? _namespace = "http://www.w3.org/1999/xhtml";
|
|
2450
|
+
};
|
|
2451
|
+
|
|
2452
|
+
// Used by "elements"
|
|
2453
|
+
dictionary SanitizerElementNamespaceWithAttributes : SanitizerElementNamespace {
|
|
2454
|
+
sequence<SanitizerAttribute> attributes;
|
|
2455
|
+
sequence<SanitizerAttribute> removeAttributes;
|
|
2456
|
+
};
|
|
2457
|
+
|
|
2458
|
+
dictionary SanitizerAttributeNamespace {
|
|
2459
|
+
required DOMString name;
|
|
2460
|
+
DOMString? _namespace = null;
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2463
|
+
dictionary SanitizerProcessingInstruction {
|
|
2464
|
+
required DOMString target;
|
|
2465
|
+
};
|
|
2466
|
+
|
|
2467
|
+
typedef (DOMString or SanitizerElementNamespace) SanitizerElement;
|
|
2468
|
+
typedef (DOMString or SanitizerElementNamespaceWithAttributes) SanitizerElementWithAttributes;
|
|
2469
|
+
typedef (DOMString or SanitizerProcessingInstruction) SanitizerPI;
|
|
2470
|
+
typedef (DOMString or SanitizerAttributeNamespace) SanitizerAttribute;
|
|
2471
|
+
|
|
2472
|
+
dictionary SanitizerConfig {
|
|
2473
|
+
sequence<SanitizerElementWithAttributes> elements;
|
|
2474
|
+
sequence<SanitizerElement> removeElements;
|
|
2475
|
+
sequence<SanitizerElement> replaceWithChildrenElements;
|
|
2476
|
+
|
|
2477
|
+
sequence<SanitizerPI> processingInstructions;
|
|
2478
|
+
sequence<SanitizerPI> removeProcessingInstructions;
|
|
2479
|
+
|
|
2480
|
+
sequence<SanitizerAttribute> attributes;
|
|
2481
|
+
sequence<SanitizerAttribute> removeAttributes;
|
|
2482
|
+
|
|
2483
|
+
boolean comments;
|
|
2484
|
+
boolean dataAttributes;
|
|
2485
|
+
};
|
|
2486
|
+
|
|
2410
2487
|
[Exposed=Window]
|
|
2411
2488
|
interface Navigator {
|
|
2412
2489
|
// objects implementing this interface also implement the interfaces given below
|
package/package.json
CHANGED
package/webmcp.idl
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: WebMCP (https://webmachinelearning.github.io/webmcp/)
|
|
5
5
|
|
|
6
|
-
partial interface
|
|
7
|
-
[SecureContext] readonly attribute ModelContext modelContext;
|
|
6
|
+
partial interface Document {
|
|
7
|
+
[SecureContext, SameObject] readonly attribute ModelContext modelContext;
|
|
8
8
|
};
|
|
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,
|
|
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;
|
package/webxrlayers.idl
CHANGED
|
@@ -99,8 +99,6 @@ enum XRLayerQuality {
|
|
|
99
99
|
readonly attribute unsigned long colorTextureHeight;
|
|
100
100
|
readonly attribute unsigned long? depthStencilTextureWidth;
|
|
101
101
|
readonly attribute unsigned long? depthStencilTextureHeight;
|
|
102
|
-
readonly attribute unsigned long? motionVectorTextureWidth;
|
|
103
|
-
readonly attribute unsigned long? motionVectorTextureHeight;
|
|
104
102
|
};
|
|
105
103
|
|
|
106
104
|
enum XRTextureType {
|
package/sanitizer-api.idl
DELETED
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
-
// Content was automatically extracted by Reffy into webref
|
|
3
|
-
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: HTML Sanitizer API (https://wicg.github.io/sanitizer-api/)
|
|
5
|
-
|
|
6
|
-
partial interface Element {
|
|
7
|
-
[CEReactions] undefined setHTML(DOMString html, optional SetHTMLOptions options = {});
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
partial interface ShadowRoot {
|
|
11
|
-
[CEReactions] undefined setHTML(DOMString html, optional SetHTMLOptions options = {});
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
partial interface Document {
|
|
15
|
-
static Document parseHTML(DOMString html, optional SetHTMLOptions options = {});
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
enum SanitizerPresets { "default" };
|
|
19
|
-
dictionary SetHTMLOptions {
|
|
20
|
-
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = "default";
|
|
21
|
-
};
|
|
22
|
-
dictionary SetHTMLUnsafeOptions {
|
|
23
|
-
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
[Exposed=Window]
|
|
27
|
-
interface Sanitizer {
|
|
28
|
-
constructor(optional (SanitizerConfig or SanitizerPresets) configuration = "default");
|
|
29
|
-
|
|
30
|
-
// Query configuration:
|
|
31
|
-
SanitizerConfig get();
|
|
32
|
-
|
|
33
|
-
// Modify a Sanitizer's lists and fields:
|
|
34
|
-
boolean allowElement(SanitizerElementWithAttributes element);
|
|
35
|
-
boolean removeElement(SanitizerElement element);
|
|
36
|
-
boolean replaceElementWithChildren(SanitizerElement element);
|
|
37
|
-
boolean allowProcessingInstruction(SanitizerPI pi);
|
|
38
|
-
boolean removeProcessingInstruction(SanitizerPI pi);
|
|
39
|
-
boolean allowAttribute(SanitizerAttribute attribute);
|
|
40
|
-
boolean removeAttribute(SanitizerAttribute attribute);
|
|
41
|
-
boolean setComments(boolean allow);
|
|
42
|
-
boolean setDataAttributes(boolean allow);
|
|
43
|
-
|
|
44
|
-
// Remove markup that executes script.
|
|
45
|
-
boolean removeUnsafe();
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
dictionary SanitizerElementNamespace {
|
|
49
|
-
required DOMString name;
|
|
50
|
-
DOMString? _namespace = "http://www.w3.org/1999/xhtml";
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
// Used by "elements"
|
|
54
|
-
dictionary SanitizerElementNamespaceWithAttributes : SanitizerElementNamespace {
|
|
55
|
-
sequence<SanitizerAttribute> attributes;
|
|
56
|
-
sequence<SanitizerAttribute> removeAttributes;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
typedef (DOMString or SanitizerElementNamespace) SanitizerElement;
|
|
60
|
-
typedef (DOMString or SanitizerElementNamespaceWithAttributes) SanitizerElementWithAttributes;
|
|
61
|
-
|
|
62
|
-
dictionary SanitizerProcessingInstruction {
|
|
63
|
-
required DOMString target;
|
|
64
|
-
};
|
|
65
|
-
|
|
66
|
-
typedef (DOMString or SanitizerProcessingInstruction) SanitizerPI;
|
|
67
|
-
|
|
68
|
-
dictionary SanitizerAttributeNamespace {
|
|
69
|
-
required DOMString name;
|
|
70
|
-
DOMString? _namespace = null;
|
|
71
|
-
};
|
|
72
|
-
typedef (DOMString or SanitizerAttributeNamespace) SanitizerAttribute;
|
|
73
|
-
|
|
74
|
-
dictionary SanitizerConfig {
|
|
75
|
-
sequence<SanitizerElementWithAttributes> elements;
|
|
76
|
-
sequence<SanitizerElement> removeElements;
|
|
77
|
-
sequence<SanitizerElement> replaceWithChildrenElements;
|
|
78
|
-
|
|
79
|
-
sequence<SanitizerPI> processingInstructions;
|
|
80
|
-
sequence<SanitizerPI> removeProcessingInstructions;
|
|
81
|
-
|
|
82
|
-
sequence<SanitizerAttribute> attributes;
|
|
83
|
-
sequence<SanitizerAttribute> removeAttributes;
|
|
84
|
-
|
|
85
|
-
boolean comments;
|
|
86
|
-
boolean dataAttributes;
|
|
87
|
-
};
|