@webref/idl 3.66.2 → 3.67.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-view-transitions.idl +25 -1
- package/html.idl +9 -0
- package/{private-network-access.idl → local-network-access.idl} +2 -7
- package/package.json +1 -1
- package/wai-aria.idl +54 -54
- package/webcrypto-modern-algos.idl +108 -0
- package/webcrypto.idl +0 -4
- package/webgpu.idl +1 -0
- package/css-view-transitions-2.idl +0 -29
package/css-view-transitions.idl
CHANGED
|
@@ -1,14 +1,38 @@
|
|
|
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 View Transitions Module Level
|
|
4
|
+
// Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface CSSViewTransitionRule : CSSRule {
|
|
8
|
+
readonly attribute CSSOMString navigation;
|
|
9
|
+
[SameObject] readonly attribute FrozenArray<CSSOMString> types;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
partial interface Document {
|
|
13
|
+
ViewTransition startViewTransition(
|
|
14
|
+
optional (ViewTransitionUpdateCallback or StartViewTransitionOptions) callbackOptions = {}
|
|
15
|
+
);
|
|
16
|
+
readonly attribute ViewTransition? activeViewTransition;
|
|
17
|
+
};
|
|
5
18
|
|
|
6
19
|
callback ViewTransitionUpdateCallback = Promise<any> ();
|
|
7
20
|
|
|
21
|
+
dictionary StartViewTransitionOptions {
|
|
22
|
+
ViewTransitionUpdateCallback? update = null;
|
|
23
|
+
sequence<DOMString>? types = null;
|
|
24
|
+
};
|
|
25
|
+
|
|
8
26
|
[Exposed=Window]
|
|
9
27
|
interface ViewTransition {
|
|
10
28
|
readonly attribute Promise<undefined> updateCallbackDone;
|
|
11
29
|
readonly attribute Promise<undefined> ready;
|
|
12
30
|
readonly attribute Promise<undefined> finished;
|
|
13
31
|
undefined skipTransition();
|
|
32
|
+
attribute ViewTransitionTypeSet types;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
[Exposed=Window]
|
|
36
|
+
interface ViewTransitionTypeSet {
|
|
37
|
+
setlike<DOMString>;
|
|
14
38
|
};
|
package/html.idl
CHANGED
|
@@ -1981,6 +1981,7 @@ interface NavigationHistoryEntry : EventTarget {
|
|
|
1981
1981
|
interface NavigationTransition {
|
|
1982
1982
|
readonly attribute NavigationType navigationType;
|
|
1983
1983
|
readonly attribute NavigationHistoryEntry from;
|
|
1984
|
+
readonly attribute Promise<undefined> committed;
|
|
1984
1985
|
readonly attribute Promise<undefined> finished;
|
|
1985
1986
|
};
|
|
1986
1987
|
|
|
@@ -2026,6 +2027,7 @@ dictionary NavigateEventInit : EventInit {
|
|
|
2026
2027
|
};
|
|
2027
2028
|
|
|
2028
2029
|
dictionary NavigationInterceptOptions {
|
|
2030
|
+
NavigationPrecommitHandler precommitHandler;
|
|
2029
2031
|
NavigationInterceptHandler handler;
|
|
2030
2032
|
NavigationFocusReset focusReset;
|
|
2031
2033
|
NavigationScrollBehavior scroll;
|
|
@@ -2043,6 +2045,13 @@ enum NavigationScrollBehavior {
|
|
|
2043
2045
|
|
|
2044
2046
|
callback NavigationInterceptHandler = Promise<undefined> ();
|
|
2045
2047
|
|
|
2048
|
+
[Exposed=Window]
|
|
2049
|
+
interface NavigationPrecommitController {
|
|
2050
|
+
undefined redirect(USVString url, optional NavigationNavigateOptions options = {});
|
|
2051
|
+
};
|
|
2052
|
+
|
|
2053
|
+
callback NavigationPrecommitHandler = Promise<undefined> (NavigationPrecommitController controller);
|
|
2054
|
+
|
|
2046
2055
|
[Exposed=Window]
|
|
2047
2056
|
interface NavigationDestination {
|
|
2048
2057
|
readonly attribute USVString url;
|
|
@@ -1,14 +1,9 @@
|
|
|
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:
|
|
4
|
+
// Source: Local Network Access (https://wicg.github.io/local-network-access/)
|
|
5
5
|
|
|
6
|
-
enum IPAddressSpace { "public", "
|
|
7
|
-
|
|
8
|
-
dictionary PrivateNetworkAccessPermissionDescriptor
|
|
9
|
-
: PermissionDescriptor {
|
|
10
|
-
DOMString id;
|
|
11
|
-
};
|
|
6
|
+
enum IPAddressSpace { "public", "local", "loopback" };
|
|
12
7
|
|
|
13
8
|
partial dictionary RequestInit {
|
|
14
9
|
IPAddressSpace targetAddressSpace;
|
package/package.json
CHANGED
package/wai-aria.idl
CHANGED
|
@@ -4,57 +4,57 @@
|
|
|
4
4
|
// Source: Accessible Rich Internet Applications (WAI-ARIA) 1.3 (https://w3c.github.io/aria/)
|
|
5
5
|
|
|
6
6
|
interface mixin ARIAMixin {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
};
|
|
60
|
-
|
|
7
|
+
[CEReactions, Reflect] attribute DOMString? role;
|
|
8
|
+
[CEReactions, Reflect="aria-activedescendant"] attribute Element? ariaActiveDescendantElement;
|
|
9
|
+
[CEReactions, Reflect="aria-atomic"] attribute DOMString? ariaAtomic;
|
|
10
|
+
[CEReactions, Reflect="aria-autocomplete"] attribute DOMString? ariaAutoComplete;
|
|
11
|
+
[CEReactions, Reflect="aria-braillelabel"] attribute DOMString? ariaBrailleLabel;
|
|
12
|
+
[CEReactions, Reflect="aria-brailleroledescription"] attribute DOMString? ariaBrailleRoleDescription;
|
|
13
|
+
[CEReactions, Reflect="aria-busy"] attribute DOMString? ariaBusy;
|
|
14
|
+
[CEReactions, Reflect="aria-checked"] attribute DOMString? ariaChecked;
|
|
15
|
+
[CEReactions, Reflect="aria-colcount"] attribute DOMString? ariaColCount;
|
|
16
|
+
[CEReactions, Reflect="aria-colindex"] attribute DOMString? ariaColIndex;
|
|
17
|
+
[CEReactions, Reflect="aria-colindextext"] attribute DOMString? ariaColIndexText;
|
|
18
|
+
[CEReactions, Reflect="aria-colspan"] attribute DOMString? ariaColSpan;
|
|
19
|
+
[CEReactions, Reflect="aria-controls"] attribute FrozenArray<Element>? ariaControlsElements;
|
|
20
|
+
[CEReactions, Reflect="aria-current"] attribute DOMString? ariaCurrent;
|
|
21
|
+
[CEReactions, Reflect="aria-describedby"] attribute FrozenArray<Element>? ariaDescribedByElements;
|
|
22
|
+
[CEReactions, Reflect="aria-description"] attribute DOMString? ariaDescription;
|
|
23
|
+
[CEReactions, Reflect="aria-details"] attribute FrozenArray<Element>? ariaDetailsElements;
|
|
24
|
+
[CEReactions, Reflect="aria-disabled"] attribute DOMString? ariaDisabled;
|
|
25
|
+
[CEReactions, Reflect="aria-errormessage"] attribute FrozenArray<Element>? ariaErrorMessageElements;
|
|
26
|
+
[CEReactions, Reflect="aria-expanded"] attribute DOMString? ariaExpanded;
|
|
27
|
+
[CEReactions, Reflect="aria-flowto"] attribute FrozenArray<Element>? ariaFlowToElements;
|
|
28
|
+
[CEReactions, Reflect="aria-haspopup"] attribute DOMString? ariaHasPopup;
|
|
29
|
+
[CEReactions, Reflect="aria-hidden"] attribute DOMString? ariaHidden;
|
|
30
|
+
[CEReactions, Reflect="aria-invalid"] attribute DOMString? ariaInvalid;
|
|
31
|
+
[CEReactions, Reflect="aria-keyshortcuts"] attribute DOMString? ariaKeyShortcuts;
|
|
32
|
+
[CEReactions, Reflect="aria-label"] attribute DOMString? ariaLabel;
|
|
33
|
+
[CEReactions, Reflect="aria-labelledby"] attribute FrozenArray<Element>? ariaLabelledByElements;
|
|
34
|
+
[CEReactions, Reflect="aria-level"] attribute DOMString? ariaLevel;
|
|
35
|
+
[CEReactions, Reflect="aria-live"] attribute DOMString? ariaLive;
|
|
36
|
+
[CEReactions, Reflect="aria-modal"] attribute DOMString? ariaModal;
|
|
37
|
+
[CEReactions, Reflect="aria-multiline"] attribute DOMString? ariaMultiLine;
|
|
38
|
+
[CEReactions, Reflect="aria-multiselectable"] attribute DOMString? ariaMultiSelectable;
|
|
39
|
+
[CEReactions, Reflect="aria-orientation"] attribute DOMString? ariaOrientation;
|
|
40
|
+
[CEReactions, Reflect="aria-owns"] attribute FrozenArray<Element>? ariaOwnsElements;
|
|
41
|
+
[CEReactions, Reflect="aria-placeholder"] attribute DOMString? ariaPlaceholder;
|
|
42
|
+
[CEReactions, Reflect="aria-posinset"] attribute DOMString? ariaPosInSet;
|
|
43
|
+
[CEReactions, Reflect="aria-pressed"] attribute DOMString? ariaPressed;
|
|
44
|
+
[CEReactions, Reflect="aria-readonly"] attribute DOMString? ariaReadOnly;
|
|
45
|
+
[CEReactions, Reflect="aria-relevant"] attribute DOMString? ariaRelevant;
|
|
46
|
+
[CEReactions, Reflect="aria-required"] attribute DOMString? ariaRequired;
|
|
47
|
+
[CEReactions, Reflect="aria-roledescription"] attribute DOMString? ariaRoleDescription;
|
|
48
|
+
[CEReactions, Reflect="aria-rowcount"] attribute DOMString? ariaRowCount;
|
|
49
|
+
[CEReactions, Reflect="aria-rowindex"] attribute DOMString? ariaRowIndex;
|
|
50
|
+
[CEReactions, Reflect="aria-rowindextext"] attribute DOMString? ariaRowIndexText;
|
|
51
|
+
[CEReactions, Reflect="aria-rowspan"] attribute DOMString? ariaRowSpan;
|
|
52
|
+
[CEReactions, Reflect="aria-selected"] attribute DOMString? ariaSelected;
|
|
53
|
+
[CEReactions, Reflect="aria-setsize"] attribute DOMString? ariaSetSize;
|
|
54
|
+
[CEReactions, Reflect="aria-sort"] attribute DOMString? ariaSort;
|
|
55
|
+
[CEReactions, Reflect="aria-valuemax"] attribute DOMString? ariaValueMax;
|
|
56
|
+
[CEReactions, Reflect="aria-valuemin"] attribute DOMString? ariaValueMin;
|
|
57
|
+
[CEReactions, Reflect="aria-valuenow"] attribute DOMString? ariaValueNow;
|
|
58
|
+
[CEReactions, Reflect="aria-valuetext"] attribute DOMString? ariaValueText;
|
|
59
|
+
};
|
|
60
|
+
Element includes ARIAMixin;
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Modern Algorithms in the Web Cryptography API (https://wicg.github.io/webcrypto-modern-algos/)
|
|
5
|
+
|
|
6
|
+
[SecureContext,Exposed=(Window,Worker)]
|
|
7
|
+
partial interface SubtleCrypto {
|
|
8
|
+
Promise<EncapsulatedKey> encapsulateKey(
|
|
9
|
+
AlgorithmIdentifier encapsulationAlgorithm,
|
|
10
|
+
CryptoKey encapsulationKey,
|
|
11
|
+
AlgorithmIdentifier sharedKeyAlgorithm,
|
|
12
|
+
boolean extractable,
|
|
13
|
+
sequence<KeyUsage> keyUsages
|
|
14
|
+
);
|
|
15
|
+
Promise<EncapsulatedBits> encapsulateBits(
|
|
16
|
+
AlgorithmIdentifier encapsulationAlgorithm,
|
|
17
|
+
CryptoKey encapsulationKey
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
Promise<CryptoKey> decapsulateKey(
|
|
21
|
+
AlgorithmIdentifier decapsulationAlgorithm,
|
|
22
|
+
CryptoKey decapsulationKey,
|
|
23
|
+
BufferSource ciphertext,
|
|
24
|
+
AlgorithmIdentifier sharedKeyAlgorithm,
|
|
25
|
+
boolean extractable,
|
|
26
|
+
sequence<KeyUsage> keyUsages
|
|
27
|
+
);
|
|
28
|
+
Promise<ArrayBuffer> decapsulateBits(
|
|
29
|
+
AlgorithmIdentifier decapsulationAlgorithm,
|
|
30
|
+
CryptoKey decapsulationKey,
|
|
31
|
+
BufferSource ciphertext
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
Promise<CryptoKey> getPublicKey(
|
|
35
|
+
CryptoKey key,
|
|
36
|
+
sequence<KeyUsage> keyUsages
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
static boolean supports(DOMString operation,
|
|
40
|
+
AlgorithmIdentifier algorithm,
|
|
41
|
+
optional unsigned long? length = null);
|
|
42
|
+
static boolean supports(DOMString operation,
|
|
43
|
+
AlgorithmIdentifier algorithm,
|
|
44
|
+
AlgorithmIdentifier additionalAlgorithm);
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
enum KeyFormat { "raw-public", "raw-private", "raw-seed", "raw-secret", "raw", "spki", "pkcs8", "jwk" };
|
|
48
|
+
|
|
49
|
+
enum KeyUsage { "encrypt", "decrypt", "sign", "verify", "deriveKey", "deriveBits", "wrapKey", "unwrapKey", "encapsulateKey", "encapsulateBits", "decapsulateKey", "decapsulateBits" };
|
|
50
|
+
|
|
51
|
+
dictionary EncapsulatedKey {
|
|
52
|
+
CryptoKey sharedKey;
|
|
53
|
+
ArrayBuffer ciphertext;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
dictionary EncapsulatedBits {
|
|
57
|
+
ArrayBuffer sharedKey;
|
|
58
|
+
ArrayBuffer ciphertext;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
partial dictionary JsonWebKey {
|
|
62
|
+
// The following fields are defined in draft-ietf-cose-dilithium-07
|
|
63
|
+
DOMString pub;
|
|
64
|
+
DOMString priv;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
dictionary ContextParams : Algorithm {
|
|
68
|
+
BufferSource context;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
dictionary AeadParams : Algorithm {
|
|
72
|
+
required BufferSource iv;
|
|
73
|
+
BufferSource additionalData;
|
|
74
|
+
[EnforceRange] octet tagLength;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
dictionary CShakeParams : Algorithm {
|
|
78
|
+
required [EnforceRange] unsigned long length;
|
|
79
|
+
BufferSource functionName;
|
|
80
|
+
BufferSource customization;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
dictionary KmacKeyGenParams : Algorithm {
|
|
84
|
+
[EnforceRange] unsigned long length;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
dictionary KmacImportParams : Algorithm {
|
|
88
|
+
[EnforceRange] unsigned long length;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
dictionary KmacKeyAlgorithm : KeyAlgorithm {
|
|
92
|
+
required unsigned long length;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
dictionary KmacParams : Algorithm {
|
|
96
|
+
required [EnforceRange] unsigned long length;
|
|
97
|
+
BufferSource customization;
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
dictionary Argon2Params : Algorithm {
|
|
101
|
+
required BufferSource nonce;
|
|
102
|
+
required [EnforceRange] unsigned long parallelism;
|
|
103
|
+
required [EnforceRange] unsigned long memory;
|
|
104
|
+
required [EnforceRange] unsigned long passes;
|
|
105
|
+
[EnforceRange] octet version;
|
|
106
|
+
BufferSource secretValue;
|
|
107
|
+
BufferSource associatedData;
|
|
108
|
+
};
|
package/webcrypto.idl
CHANGED
|
@@ -28,8 +28,6 @@ dictionary KeyAlgorithm {
|
|
|
28
28
|
|
|
29
29
|
enum KeyType { "public", "private", "secret" };
|
|
30
30
|
|
|
31
|
-
enum KeyUsage { "encrypt", "decrypt", "sign", "verify", "deriveKey", "deriveBits", "wrapKey", "unwrapKey" };
|
|
32
|
-
|
|
33
31
|
[SecureContext,Exposed=(Window,Worker),Serializable]
|
|
34
32
|
interface CryptoKey {
|
|
35
33
|
readonly attribute KeyType type;
|
|
@@ -38,8 +36,6 @@ interface CryptoKey {
|
|
|
38
36
|
readonly attribute object usages;
|
|
39
37
|
};
|
|
40
38
|
|
|
41
|
-
enum KeyFormat { "raw", "spki", "pkcs8", "jwk" };
|
|
42
|
-
|
|
43
39
|
[SecureContext,Exposed=(Window,Worker)]
|
|
44
40
|
interface SubtleCrypto {
|
|
45
41
|
Promise<ArrayBuffer> encrypt(
|
package/webgpu.idl
CHANGED
|
@@ -1,29 +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: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
|
|
5
|
-
|
|
6
|
-
[Exposed=Window]
|
|
7
|
-
interface CSSViewTransitionRule : CSSRule {
|
|
8
|
-
readonly attribute CSSOMString navigation;
|
|
9
|
-
[SameObject] readonly attribute FrozenArray<CSSOMString> types;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
[Exposed=Window]
|
|
13
|
-
interface ViewTransitionTypeSet {
|
|
14
|
-
setlike<DOMString>;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
[Exposed=Window]
|
|
18
|
-
partial interface ViewTransition {
|
|
19
|
-
attribute ViewTransitionTypeSet types;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
dictionary StartViewTransitionOptions {
|
|
23
|
-
ViewTransitionUpdateCallback? update = null;
|
|
24
|
-
sequence<DOMString>? types = null;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
partial interface Document {
|
|
28
|
-
ViewTransition startViewTransition(optional (ViewTransitionUpdateCallback or StartViewTransitionOptions) callbackOptions = {});
|
|
29
|
-
};
|