@webref/idl 3.73.1 → 3.74.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/css-pseudo.idl +2 -1
- package/{permission-elements.idl → geolocation-element.idl} +25 -35
- package/html.idl +12 -3
- package/package.json +1 -1
- package/performance-timeline.idl +2 -2
- package/saa-non-cookie-storage.idl +1 -1
- package/sanitizer-api.idl +1 -1
- package/secure-payment-confirmation.idl +10 -0
- package/webcrypto-modern-algos.idl +10 -0
- package/webmcp.idl +1 -7
- package/writing-assistance-apis.idl +3 -0
package/css-pseudo.idl
CHANGED
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
// Source: CSS Pseudo-Elements Module Level 4 (https://drafts.csswg.org/css-pseudo-4/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
|
-
interface CSSPseudoElement
|
|
7
|
+
interface CSSPseudoElement {
|
|
8
8
|
readonly attribute CSSOMString type;
|
|
9
9
|
readonly attribute Element element;
|
|
10
10
|
readonly attribute (Element or CSSPseudoElement) parent;
|
|
11
|
+
readonly attribute CSSOMString selectorText;
|
|
11
12
|
CSSPseudoElement? pseudo(CSSOMString type);
|
|
12
13
|
};
|
|
13
14
|
|
|
@@ -1,40 +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: The HTML
|
|
5
|
-
|
|
6
|
-
interface mixin InPagePermissionMixin {
|
|
7
|
-
readonly attribute boolean isValid;
|
|
8
|
-
readonly attribute InPagePermissionMixinBlockerReason invalidReason;
|
|
9
|
-
readonly attribute PermissionState initialPermissionStatus;
|
|
10
|
-
readonly attribute PermissionState permissionStatus;
|
|
11
|
-
|
|
12
|
-
attribute EventHandler onpromptaction;
|
|
13
|
-
attribute EventHandler onpromptdismiss;
|
|
14
|
-
attribute EventHandler onvalidationstatuschange;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
enum InPagePermissionMixinBlockerReason {
|
|
18
|
-
// No blocker reason.
|
|
19
|
-
"",
|
|
20
|
-
|
|
21
|
-
// Blocker reasons supported by all InPagePermissionMixin users.
|
|
22
|
-
"illegal_subframe", "unsuccesful_registration",
|
|
23
|
-
"recently_attached", "intersection_changed",
|
|
24
|
-
"intersection_out_of_viewport_or_clipped",
|
|
25
|
-
"intersection_occluded_or_distorted", "style_invalid",
|
|
26
|
-
|
|
27
|
-
// Blocker reason specific to HTMLPermissionElement.
|
|
28
|
-
"type_invalid",
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
[Exposed=Window]
|
|
32
|
-
interface HTMLPermissionElement : HTMLElement {
|
|
33
|
-
[HTMLConstructor] constructor();
|
|
34
|
-
[CEReactions, Reflect] attribute DOMString type;
|
|
35
|
-
static boolean isTypeSupported(DOMString type);
|
|
36
|
-
};
|
|
37
|
-
HTMLPermissionElement includes InPagePermissionMixin;
|
|
4
|
+
// Source: The HTML Geolocation Element (https://wicg.github.io/PEPC/geolocation-element.html)
|
|
38
5
|
|
|
39
6
|
[Exposed=Window]
|
|
40
7
|
interface HTMLGeolocationElement : HTMLElement {
|
|
@@ -47,4 +14,27 @@ interface HTMLGeolocationElement : HTMLElement {
|
|
|
47
14
|
|
|
48
15
|
attribute EventHandler onlocation;
|
|
49
16
|
};
|
|
50
|
-
HTMLGeolocationElement includes
|
|
17
|
+
HTMLGeolocationElement includes ActivationBlockersMixin;
|
|
18
|
+
HTMLGeolocationElement includes PowerfulFeatureObserver;
|
|
19
|
+
|
|
20
|
+
interface mixin ActivationBlockersMixin {
|
|
21
|
+
readonly attribute boolean isValid;
|
|
22
|
+
readonly attribute ActivationBlockersMixinBlockerReason invalidReason;
|
|
23
|
+
attribute EventHandler onvalidationstatuschange;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
enum ActivationBlockersMixinBlockerReason {
|
|
27
|
+
"", // No blocker reason.
|
|
28
|
+
"illegal_subframe", "unsuccessful_registration",
|
|
29
|
+
"recently_attached", "intersection_changed",
|
|
30
|
+
"intersection_out_of_viewport_or_clipped",
|
|
31
|
+
"intersection_occluded_or_distorted", "style_invalid",
|
|
32
|
+
"type_invalid",
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
interface mixin PowerfulFeatureObserver {
|
|
36
|
+
readonly attribute PermissionState initialPermissionStatus;
|
|
37
|
+
readonly attribute PermissionState permissionStatus;
|
|
38
|
+
attribute EventHandler onpromptaction;
|
|
39
|
+
attribute EventHandler onpromptdismiss;
|
|
40
|
+
};
|
package/html.idl
CHANGED
|
@@ -363,6 +363,7 @@ interface HTMLAnchorElement : HTMLElement {
|
|
|
363
363
|
|
|
364
364
|
// also has obsolete members
|
|
365
365
|
};
|
|
366
|
+
HTMLAnchorElement includes HyperlinkElementUtils;
|
|
366
367
|
HTMLAnchorElement includes HTMLHyperlinkElementUtils;
|
|
367
368
|
|
|
368
369
|
[Exposed=Window]
|
|
@@ -391,8 +392,7 @@ interface HTMLBRElement : HTMLElement {
|
|
|
391
392
|
// also has obsolete members
|
|
392
393
|
};
|
|
393
394
|
|
|
394
|
-
interface mixin
|
|
395
|
-
[CEReactions, ReflectSetter] stringifier attribute USVString href;
|
|
395
|
+
interface mixin HyperlinkElementUtils {
|
|
396
396
|
readonly attribute USVString origin;
|
|
397
397
|
[CEReactions] attribute USVString protocol;
|
|
398
398
|
[CEReactions] attribute USVString username;
|
|
@@ -405,6 +405,10 @@ interface mixin HTMLHyperlinkElementUtils {
|
|
|
405
405
|
[CEReactions] attribute USVString hash;
|
|
406
406
|
};
|
|
407
407
|
|
|
408
|
+
interface mixin HTMLHyperlinkElementUtils {
|
|
409
|
+
[CEReactions, ReflectSetter] stringifier attribute USVString href;
|
|
410
|
+
};
|
|
411
|
+
|
|
408
412
|
[Exposed=Window]
|
|
409
413
|
interface HTMLModElement : HTMLElement {
|
|
410
414
|
[HTMLConstructor] constructor();
|
|
@@ -765,6 +769,7 @@ interface HTMLAreaElement : HTMLElement {
|
|
|
765
769
|
|
|
766
770
|
// also has obsolete members
|
|
767
771
|
};
|
|
772
|
+
HTMLAreaElement includes HyperlinkElementUtils;
|
|
768
773
|
HTMLAreaElement includes HTMLHyperlinkElementUtils;
|
|
769
774
|
|
|
770
775
|
[Exposed=Window]
|
|
@@ -2695,12 +2700,16 @@ Worker includes MessageEventTarget;
|
|
|
2695
2700
|
|
|
2696
2701
|
[Exposed=Window]
|
|
2697
2702
|
interface SharedWorker : EventTarget {
|
|
2698
|
-
constructor((TrustedScriptURL or USVString) scriptURL, optional (DOMString or
|
|
2703
|
+
constructor((TrustedScriptURL or USVString) scriptURL, optional (DOMString or SharedWorkerOptions) options = {});
|
|
2699
2704
|
|
|
2700
2705
|
readonly attribute MessagePort port;
|
|
2701
2706
|
};
|
|
2702
2707
|
SharedWorker includes AbstractWorker;
|
|
2703
2708
|
|
|
2709
|
+
dictionary SharedWorkerOptions : WorkerOptions {
|
|
2710
|
+
boolean extendedLifetime = false;
|
|
2711
|
+
};
|
|
2712
|
+
|
|
2704
2713
|
interface mixin NavigatorConcurrentHardware {
|
|
2705
2714
|
readonly attribute unsigned long long hardwareConcurrency;
|
|
2706
2715
|
};
|
package/package.json
CHANGED
package/performance-timeline.idl
CHANGED
|
@@ -22,8 +22,8 @@ interface PerformanceEntry {
|
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
callback PerformanceObserverCallback = undefined (PerformanceObserverEntryList entries,
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
PerformanceObserver observer,
|
|
26
|
+
optional PerformanceObserverCallbackOptions options = {});
|
|
27
27
|
[Exposed=(Window,Worker)]
|
|
28
28
|
interface PerformanceObserver {
|
|
29
29
|
constructor(PerformanceObserverCallback callback);
|
package/sanitizer-api.idl
CHANGED
|
@@ -18,7 +18,7 @@ interface Sanitizer {
|
|
|
18
18
|
// Query configuration:
|
|
19
19
|
SanitizerConfig get();
|
|
20
20
|
|
|
21
|
-
// Modify a Sanitizer
|
|
21
|
+
// Modify a Sanitizer's lists and fields:
|
|
22
22
|
boolean allowElement(SanitizerElementWithAttributes element);
|
|
23
23
|
boolean removeElement(SanitizerElement element);
|
|
24
24
|
boolean replaceElementWithChildren(SanitizerElement element);
|
|
@@ -30,6 +30,16 @@ partial interface PaymentRequest {
|
|
|
30
30
|
static Promise<SecurePaymentConfirmationAvailability> securePaymentConfirmationAvailability();
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
+
partial interface PaymentRequest {
|
|
34
|
+
static Promise<SecurePaymentConfirmationCapabilities> getSecurePaymentConfirmationCapabilities();
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
typedef record<DOMString, boolean> SecurePaymentConfirmationCapabilities;
|
|
38
|
+
|
|
39
|
+
enum SecurePaymentConfirmationCapability {
|
|
40
|
+
"browserBoundKeyHardware",
|
|
41
|
+
};
|
|
42
|
+
|
|
33
43
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
34
44
|
AuthenticationExtensionsPaymentInputs payment;
|
|
35
45
|
};
|
|
@@ -80,6 +80,16 @@ dictionary CShakeParams : Algorithm {
|
|
|
80
80
|
BufferSource customization;
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
+
dictionary TurboShakeParams : Algorithm {
|
|
84
|
+
required [EnforceRange] unsigned long outputLength;
|
|
85
|
+
[EnforceRange] octet domainSeparation;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
dictionary KangarooTwelveParams : Algorithm {
|
|
89
|
+
required [EnforceRange] unsigned long outputLength;
|
|
90
|
+
BufferSource customization;
|
|
91
|
+
};
|
|
92
|
+
|
|
83
93
|
dictionary KmacKeyGenParams : Algorithm {
|
|
84
94
|
[EnforceRange] unsigned long length;
|
|
85
95
|
};
|
package/webmcp.idl
CHANGED
|
@@ -9,16 +9,10 @@ partial interface Navigator {
|
|
|
9
9
|
|
|
10
10
|
[Exposed=Window, SecureContext]
|
|
11
11
|
interface ModelContext {
|
|
12
|
-
undefined provideContext(optional ModelContextOptions options = {});
|
|
13
|
-
undefined clearContext();
|
|
14
12
|
undefined registerTool(ModelContextTool tool);
|
|
15
13
|
undefined unregisterTool(DOMString name);
|
|
16
14
|
};
|
|
17
15
|
|
|
18
|
-
dictionary ModelContextOptions {
|
|
19
|
-
sequence<ModelContextTool> tools = [];
|
|
20
|
-
};
|
|
21
|
-
|
|
22
16
|
dictionary ModelContextTool {
|
|
23
17
|
required DOMString name;
|
|
24
18
|
required DOMString description;
|
|
@@ -28,7 +22,7 @@ dictionary ModelContextTool {
|
|
|
28
22
|
};
|
|
29
23
|
|
|
30
24
|
dictionary ToolAnnotations {
|
|
31
|
-
boolean readOnlyHint;
|
|
25
|
+
boolean readOnlyHint = false;
|
|
32
26
|
};
|
|
33
27
|
|
|
34
28
|
callback ToolExecuteCallback = Promise<any> (object input, ModelContextClient client);
|
|
@@ -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
|
+
readonly attribute PerformancePreference preference;
|
|
24
25
|
|
|
25
26
|
readonly attribute FrozenArray<DOMString>? expectedInputLanguages;
|
|
26
27
|
readonly attribute FrozenArray<DOMString>? expectedContextLanguages;
|
|
@@ -38,6 +39,7 @@ dictionary SummarizerCreateCoreOptions {
|
|
|
38
39
|
SummarizerType type = "key-points";
|
|
39
40
|
SummarizerFormat format = "markdown";
|
|
40
41
|
SummarizerLength length = "short";
|
|
42
|
+
PerformancePreference preference = "auto";
|
|
41
43
|
|
|
42
44
|
sequence<DOMString> expectedInputLanguages;
|
|
43
45
|
sequence<DOMString> expectedContextLanguages;
|
|
@@ -59,6 +61,7 @@ dictionary SummarizerSummarizeOptions {
|
|
|
59
61
|
enum SummarizerType { "tldr", "teaser", "key-points", "headline" };
|
|
60
62
|
enum SummarizerFormat { "plain-text", "markdown" };
|
|
61
63
|
enum SummarizerLength { "short", "medium", "long" };
|
|
64
|
+
enum PerformancePreference { "auto", "speed", "capability" };
|
|
62
65
|
|
|
63
66
|
[Exposed=Window, SecureContext]
|
|
64
67
|
interface Writer {
|