@webref/idl 3.58.0 → 3.59.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/WebCryptoAPI.idl CHANGED
@@ -42,52 +42,77 @@ enum KeyFormat { "raw", "spki", "pkcs8", "jwk" };
42
42
 
43
43
  [SecureContext,Exposed=(Window,Worker)]
44
44
  interface SubtleCrypto {
45
- Promise<any> encrypt(AlgorithmIdentifier algorithm,
46
- CryptoKey key,
47
- BufferSource data);
48
- Promise<any> decrypt(AlgorithmIdentifier algorithm,
49
- CryptoKey key,
50
- BufferSource data);
51
- Promise<any> sign(AlgorithmIdentifier algorithm,
52
- CryptoKey key,
53
- BufferSource data);
54
- Promise<any> verify(AlgorithmIdentifier algorithm,
55
- CryptoKey key,
56
- BufferSource signature,
57
- BufferSource data);
58
- Promise<any> digest(AlgorithmIdentifier algorithm,
59
- BufferSource data);
60
-
61
- Promise<any> generateKey(AlgorithmIdentifier algorithm,
62
- boolean extractable,
63
- sequence<KeyUsage> keyUsages );
64
- Promise<any> deriveKey(AlgorithmIdentifier algorithm,
65
- CryptoKey baseKey,
66
- AlgorithmIdentifier derivedKeyType,
67
- boolean extractable,
68
- sequence<KeyUsage> keyUsages );
69
- Promise<ArrayBuffer> deriveBits(AlgorithmIdentifier algorithm,
70
- CryptoKey baseKey,
71
- optional unsigned long? length = null);
72
-
73
- Promise<CryptoKey> importKey(KeyFormat format,
74
- (BufferSource or JsonWebKey) keyData,
75
- AlgorithmIdentifier algorithm,
76
- boolean extractable,
77
- sequence<KeyUsage> keyUsages );
78
- Promise<any> exportKey(KeyFormat format, CryptoKey key);
79
-
80
- Promise<any> wrapKey(KeyFormat format,
81
- CryptoKey key,
82
- CryptoKey wrappingKey,
83
- AlgorithmIdentifier wrapAlgorithm);
84
- Promise<CryptoKey> unwrapKey(KeyFormat format,
85
- BufferSource wrappedKey,
86
- CryptoKey unwrappingKey,
87
- AlgorithmIdentifier unwrapAlgorithm,
88
- AlgorithmIdentifier unwrappedKeyAlgorithm,
89
- boolean extractable,
90
- sequence<KeyUsage> keyUsages );
45
+ Promise<ArrayBuffer> encrypt(
46
+ AlgorithmIdentifier algorithm,
47
+ CryptoKey key,
48
+ BufferSource data
49
+ );
50
+ Promise<ArrayBuffer> decrypt(
51
+ AlgorithmIdentifier algorithm,
52
+ CryptoKey key,
53
+ BufferSource data
54
+ );
55
+ Promise<ArrayBuffer> sign(
56
+ AlgorithmIdentifier algorithm,
57
+ CryptoKey key,
58
+ BufferSource data
59
+ );
60
+ Promise<boolean> verify(
61
+ AlgorithmIdentifier algorithm,
62
+ CryptoKey key,
63
+ BufferSource signature,
64
+ BufferSource data
65
+ );
66
+ Promise<ArrayBuffer> digest(
67
+ AlgorithmIdentifier algorithm,
68
+ BufferSource data
69
+ );
70
+
71
+ Promise<(CryptoKey or CryptoKeyPair)> generateKey(
72
+ AlgorithmIdentifier algorithm,
73
+ boolean extractable,
74
+ sequence<KeyUsage> keyUsages
75
+ );
76
+ Promise<CryptoKey> deriveKey(
77
+ AlgorithmIdentifier algorithm,
78
+ CryptoKey baseKey,
79
+ AlgorithmIdentifier derivedKeyType,
80
+ boolean extractable,
81
+ sequence<KeyUsage> keyUsages
82
+ );
83
+ Promise<ArrayBuffer> deriveBits(
84
+ AlgorithmIdentifier algorithm,
85
+ CryptoKey baseKey,
86
+ optional unsigned long? length = null
87
+ );
88
+
89
+ Promise<CryptoKey> importKey(
90
+ KeyFormat format,
91
+ (BufferSource or JsonWebKey) keyData,
92
+ AlgorithmIdentifier algorithm,
93
+ boolean extractable,
94
+ sequence<KeyUsage> keyUsages
95
+ );
96
+ Promise<(ArrayBuffer or JsonWebKey)> exportKey(
97
+ KeyFormat format,
98
+ CryptoKey key
99
+ );
100
+
101
+ Promise<ArrayBuffer> wrapKey(
102
+ KeyFormat format,
103
+ CryptoKey key,
104
+ CryptoKey wrappingKey,
105
+ AlgorithmIdentifier wrapAlgorithm
106
+ );
107
+ Promise<CryptoKey> unwrapKey(
108
+ KeyFormat format,
109
+ BufferSource wrappedKey,
110
+ CryptoKey unwrappingKey,
111
+ AlgorithmIdentifier unwrapAlgorithm,
112
+ AlgorithmIdentifier unwrappedKeyAlgorithm,
113
+ boolean extractable,
114
+ sequence<KeyUsage> keyUsages
115
+ );
91
116
  };
92
117
 
93
118
  dictionary RsaOtherPrimesInfo {
@@ -0,0 +1,54 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: CSS Fonts Module Level 5 (https://drafts.csswg.org/css-fonts-5/)
5
+
6
+ [Exposed=Window]
7
+ interface CSSFontFaceDescriptors : CSSStyleDeclaration {
8
+ attribute [LegacyNullToEmptyString] CSSOMString src;
9
+ attribute [LegacyNullToEmptyString] CSSOMString fontFamily;
10
+ attribute [LegacyNullToEmptyString] CSSOMString font-family;
11
+ attribute [LegacyNullToEmptyString] CSSOMString fontStyle;
12
+ attribute [LegacyNullToEmptyString] CSSOMString font-style;
13
+ attribute [LegacyNullToEmptyString] CSSOMString fontWeight;
14
+ attribute [LegacyNullToEmptyString] CSSOMString font-weight;
15
+ attribute [LegacyNullToEmptyString] CSSOMString fontStretch;
16
+ attribute [LegacyNullToEmptyString] CSSOMString font-stretch;
17
+ attribute [LegacyNullToEmptyString] CSSOMString fontWidth;
18
+ attribute [LegacyNullToEmptyString] CSSOMString font-width;
19
+ attribute [LegacyNullToEmptyString] CSSOMString fontSize;
20
+ attribute [LegacyNullToEmptyString] CSSOMString font-size;
21
+ attribute [LegacyNullToEmptyString] CSSOMString sizeAdjust;
22
+ attribute [LegacyNullToEmptyString] CSSOMString size-adjust;
23
+ attribute [LegacyNullToEmptyString] CSSOMString unicodeRange;
24
+ attribute [LegacyNullToEmptyString] CSSOMString unicode-range;
25
+ attribute [LegacyNullToEmptyString] CSSOMString fontFeatureSettings;
26
+ attribute [LegacyNullToEmptyString] CSSOMString font-feature-settings;
27
+ attribute [LegacyNullToEmptyString] CSSOMString fontVariationSettings;
28
+ attribute [LegacyNullToEmptyString] CSSOMString font-variation-settings;
29
+ attribute [LegacyNullToEmptyString] CSSOMString fontNamedInstance;
30
+ attribute [LegacyNullToEmptyString] CSSOMString font-named-instance;
31
+ attribute [LegacyNullToEmptyString] CSSOMString fontDisplay;
32
+ attribute [LegacyNullToEmptyString] CSSOMString font-display;
33
+ attribute [LegacyNullToEmptyString] CSSOMString fontLanguageOverride;
34
+ attribute [LegacyNullToEmptyString] CSSOMString font-language-override;
35
+ attribute [LegacyNullToEmptyString] CSSOMString ascentOverride;
36
+ attribute [LegacyNullToEmptyString] CSSOMString ascent-override;
37
+ attribute [LegacyNullToEmptyString] CSSOMString descentOverride;
38
+ attribute [LegacyNullToEmptyString] CSSOMString descent-override;
39
+ attribute [LegacyNullToEmptyString] CSSOMString lineGapOverride;
40
+ attribute [LegacyNullToEmptyString] CSSOMString line-gap-override;
41
+ attribute [LegacyNullToEmptyString] CSSOMString superscriptPositionOverride;
42
+ attribute [LegacyNullToEmptyString] CSSOMString superscript-position-override;
43
+ attribute [LegacyNullToEmptyString] CSSOMString subscriptPositionOverride;
44
+ attribute [LegacyNullToEmptyString] CSSOMString subscript-position-override;
45
+ attribute [LegacyNullToEmptyString] CSSOMString superscriptSizeOverride;
46
+ attribute [LegacyNullToEmptyString] CSSOMString superscript-size-override;
47
+ attribute [LegacyNullToEmptyString] CSSOMString subscriptSizeOverride;
48
+ attribute [LegacyNullToEmptyString] CSSOMString subscript-size-override;
49
+ };
50
+
51
+ [Exposed=Window]
52
+ interface CSSFontFaceRule : CSSRule {
53
+ [SameObject, PutForwards=cssText] readonly attribute CSSFontFaceDescriptors style;
54
+ };
package/css-fonts.idl CHANGED
@@ -3,44 +3,6 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS Fonts Module Level 4 (https://drafts.csswg.org/css-fonts-4/)
5
5
 
6
- [Exposed=Window]
7
- interface CSSFontFaceDescriptors : CSSStyleDeclaration {
8
- attribute [LegacyNullToEmptyString] CSSOMString src;
9
- attribute [LegacyNullToEmptyString] CSSOMString fontFamily;
10
- attribute [LegacyNullToEmptyString] CSSOMString font-family;
11
- attribute [LegacyNullToEmptyString] CSSOMString fontStyle;
12
- attribute [LegacyNullToEmptyString] CSSOMString font-style;
13
- attribute [LegacyNullToEmptyString] CSSOMString fontWeight;
14
- attribute [LegacyNullToEmptyString] CSSOMString font-weight;
15
- attribute [LegacyNullToEmptyString] CSSOMString fontStretch;
16
- attribute [LegacyNullToEmptyString] CSSOMString font-stretch;
17
- attribute [LegacyNullToEmptyString] CSSOMString fontWidth;
18
- attribute [LegacyNullToEmptyString] CSSOMString font-width;
19
- attribute [LegacyNullToEmptyString] CSSOMString unicodeRange;
20
- attribute [LegacyNullToEmptyString] CSSOMString unicode-range;
21
- attribute [LegacyNullToEmptyString] CSSOMString fontFeatureSettings;
22
- attribute [LegacyNullToEmptyString] CSSOMString font-feature-settings;
23
- attribute [LegacyNullToEmptyString] CSSOMString fontVariationSettings;
24
- attribute [LegacyNullToEmptyString] CSSOMString font-variation-settings;
25
- attribute [LegacyNullToEmptyString] CSSOMString fontNamedInstance;
26
- attribute [LegacyNullToEmptyString] CSSOMString font-named-instance;
27
- attribute [LegacyNullToEmptyString] CSSOMString fontDisplay;
28
- attribute [LegacyNullToEmptyString] CSSOMString font-display;
29
- attribute [LegacyNullToEmptyString] CSSOMString fontLanguageOverride;
30
- attribute [LegacyNullToEmptyString] CSSOMString font-language-override;
31
- attribute [LegacyNullToEmptyString] CSSOMString ascentOverride;
32
- attribute [LegacyNullToEmptyString] CSSOMString ascent-override;
33
- attribute [LegacyNullToEmptyString] CSSOMString descentOverride;
34
- attribute [LegacyNullToEmptyString] CSSOMString descent-override;
35
- attribute [LegacyNullToEmptyString] CSSOMString lineGapOverride;
36
- attribute [LegacyNullToEmptyString] CSSOMString line-gap-override;
37
- };
38
-
39
- [Exposed=Window]
40
- interface CSSFontFaceRule : CSSRule {
41
- [SameObject, PutForwards=cssText] readonly attribute CSSFontFaceDescriptors style;
42
- };
43
-
44
6
  partial interface CSSRule { const unsigned short FONT_FEATURE_VALUES_RULE = 14;
45
7
  };
46
8
  [Exposed=Window]
package/css-mixins.idl CHANGED
@@ -5,3 +5,13 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSSFunctionRule : CSSGroupingRule { };
8
+
9
+ [Exposed=Window]
10
+ interface CSSFunctionDescriptors : CSSStyleDeclaration {
11
+ attribute [LegacyNullToEmptyString] CSSOMString result;
12
+ };
13
+
14
+ [Exposed=Window]
15
+ interface CSSFunctionDeclarations : CSSRule {
16
+ [SameObject, PutForwards=cssText] readonly attribute CSSFunctionDescriptors style;
17
+ };
@@ -8,10 +8,10 @@ partial dictionary CredentialRequestOptions {
8
8
  };
9
9
 
10
10
  dictionary DigitalCredentialRequestOptions {
11
- sequence<DigitalCredentialsRequest> requests;
11
+ sequence<DigitalCredentialRequest> requests;
12
12
  };
13
13
 
14
- dictionary DigitalCredentialsRequest {
14
+ dictionary DigitalCredentialRequest {
15
15
  required DOMString protocol;
16
16
  required object data;
17
17
  };
@@ -19,5 +19,5 @@ dictionary DigitalCredentialsRequest {
19
19
  [Exposed=Window, SecureContext]
20
20
  interface DigitalCredential : Credential {
21
21
  readonly attribute DOMString protocol;
22
- readonly attribute object data;
22
+ [SameObject] readonly attribute object data;
23
23
  };
@@ -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: Element Timing API (https://wicg.github.io/element-timing/)
4
+ // Source: Element Timing API (https://w3c.github.io/element-timing/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface PerformanceElementTiming : PerformanceEntry {
package/fedcm.idl CHANGED
@@ -49,6 +49,7 @@ dictionary IdentityProviderRequestOptions : IdentityProviderConfig {
49
49
  USVString nonce;
50
50
  DOMString loginHint;
51
51
  DOMString domainHint;
52
+ sequence<USVString> fields;
52
53
  any params;
53
54
  };
54
55
 
package/html.idl CHANGED
@@ -1222,9 +1222,11 @@ interface HTMLDialogElement : HTMLElement {
1222
1222
 
1223
1223
  [CEReactions] attribute boolean open;
1224
1224
  attribute DOMString returnValue;
1225
+ [CEReactions] attribute DOMString closedBy;
1225
1226
  [CEReactions] undefined show();
1226
1227
  [CEReactions] undefined showModal();
1227
1228
  [CEReactions] undefined close(optional DOMString returnValue);
1229
+ [CEReactions] undefined requestClose(optional DOMString returnValue);
1228
1230
  };
1229
1231
 
1230
1232
  [Exposed=Window]
@@ -12,5 +12,5 @@ partial interface CaptureController {
12
12
 
13
13
  partial interface CaptureController {
14
14
  constructor();
15
- Promise<undefined> forwardWheel(HTMLElement element);
15
+ Promise<undefined> forwardWheel(HTMLElement? element);
16
16
  };
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.58.0",
4
+ "version": "3.59.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -27,4 +27,5 @@ interface PermissionsPolicyViolationReportBody : ReportBody {
27
27
  readonly attribute long? lineNumber;
28
28
  readonly attribute long? columnNumber;
29
29
  readonly attribute DOMString disposition;
30
+ readonly attribute DOMString? allowAttribute;
30
31
  };
@@ -38,15 +38,49 @@ partial interface Window {
38
38
  [SecureContext] readonly attribute SharedStorage? sharedStorage;
39
39
  };
40
40
 
41
+ [Exposed=(Window,SharedStorageWorklet)]
42
+ interface SharedStorageModifierMethod {};
43
+
44
+ [Exposed=(Window, SharedStorageWorklet)]
45
+ interface SharedStorageSetMethod : SharedStorageModifierMethod {
46
+ constructor(DOMString key, DOMString value, optional SharedStorageSetMethodOptions options = {});
47
+ };
48
+
49
+ [Exposed=(Window, SharedStorageWorklet)]
50
+ interface SharedStorageAppendMethod : SharedStorageModifierMethod {
51
+ constructor(DOMString key, DOMString value, optional SharedStorageModifierMethodOptions options = {});
52
+ };
53
+
54
+ [Exposed=(Window, SharedStorageWorklet)]
55
+ interface SharedStorageDeleteMethod : SharedStorageModifierMethod {
56
+ constructor(DOMString key, optional SharedStorageModifierMethodOptions options = {});
57
+ };
58
+
59
+ [Exposed=(Window, SharedStorageWorklet)]
60
+ interface SharedStorageClearMethod : SharedStorageModifierMethod {
61
+ constructor(optional SharedStorageModifierMethodOptions options = {});
62
+ };
63
+
64
+ dictionary SharedStorageModifierMethodOptions {
65
+ DOMString withLock;
66
+ };
67
+
68
+ dictionary SharedStorageSetMethodOptions : SharedStorageModifierMethodOptions {
69
+ boolean ignoreIfPresent;
70
+ };
71
+
41
72
  [Exposed=(Window,SharedStorageWorklet)]
42
73
  interface SharedStorage {
43
74
  Promise<any> set(DOMString key,
44
75
  DOMString value,
45
76
  optional SharedStorageSetMethodOptions options = {});
46
77
  Promise<any> append(DOMString key,
47
- DOMString value);
48
- Promise<any> delete(DOMString key);
49
- Promise<any> clear();
78
+ DOMString value,
79
+ optional SharedStorageModifierMethodOptions options = {});
80
+ Promise<any> delete(DOMString key, optional SharedStorageModifierMethodOptions options = {});
81
+ Promise<any> clear(optional SharedStorageModifierMethodOptions options = {});
82
+ Promise<any> batchUpdate(sequence<SharedStorageModifierMethod> methods,
83
+ optional SharedStorageModifierMethodOptions options = {});
50
84
 
51
85
  [Exposed=Window]
52
86
  Promise<SharedStorageResponse> selectURL(DOMString name,
@@ -76,10 +110,6 @@ interface SharedStorage {
76
110
  async iterable<DOMString, DOMString>;
77
111
  };
78
112
 
79
- dictionary SharedStorageSetMethodOptions {
80
- boolean ignoreIfPresent = false;
81
- };
82
-
83
113
  dictionary SharedStoragePrivateAggregationConfig {
84
114
  USVString aggregationCoordinatorOrigin;
85
115
  USVString contextId;
package/speech-api.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 Speech API (https://wicg.github.io/speech-api/)
4
+ // Source: Web Speech API (https://webaudio.github.io/web-speech-api/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface SpeechRecognition : EventTarget {
package/turtledove.idl CHANGED
@@ -41,6 +41,7 @@ dictionary GenerateBidInterestGroup {
41
41
  sequence<USVString> trustedBiddingSignalsKeys;
42
42
  DOMString trustedBiddingSignalsSlotSizeMode = "none";
43
43
  long maxTrustedBiddingSignalsURLLength;
44
+ USVString trustedBiddingSignalsCoordinator;
44
45
  any userBiddingSignals;
45
46
  sequence<AuctionAd> ads;
46
47
  sequence<AuctionAd> adComponents;
@@ -104,6 +105,7 @@ dictionary AuctionAdConfig {
104
105
 
105
106
  USVString trustedScoringSignalsURL;
106
107
  long maxTrustedScoringSignalsURLLength;
108
+ USVString trustedScoringSignalsCoordinator;
107
109
  sequence<USVString> interestGroupBuyers;
108
110
  Promise<any> auctionSignals;
109
111
  Promise<any> sellerSignals;
package/wai-aria.idl CHANGED
@@ -42,7 +42,7 @@ interface mixin ARIAMixin {
42
42
  [CEReactions] attribute DOMString? ariaPosInSet;
43
43
  [CEReactions] attribute DOMString? ariaPressed;
44
44
  [CEReactions] attribute DOMString? ariaReadOnly;
45
-
45
+ [CEReactions] attribute DOMString? ariaRelevant;
46
46
  [CEReactions] attribute DOMString? ariaRequired;
47
47
  [CEReactions] attribute DOMString? ariaRoleDescription;
48
48
  [CEReactions] attribute DOMString? ariaRowCount;
package/webauthn.idl CHANGED
@@ -309,7 +309,7 @@ enum PublicKeyCredentialHint {
309
309
  };
310
310
 
311
311
  partial dictionary AuthenticationExtensionsClientInputs {
312
- USVString appid;
312
+ DOMString appid;
313
313
  };
314
314
 
315
315
  partial dictionary AuthenticationExtensionsClientOutputs {
@@ -317,7 +317,7 @@ partial dictionary AuthenticationExtensionsClientOutputs {
317
317
  };
318
318
 
319
319
  partial dictionary AuthenticationExtensionsClientInputs {
320
- USVString appidExclude;
320
+ DOMString appidExclude;
321
321
  };
322
322
 
323
323
  partial dictionary AuthenticationExtensionsClientOutputs {
@@ -343,7 +343,7 @@ dictionary AuthenticationExtensionsPRFValues {
343
343
 
344
344
  dictionary AuthenticationExtensionsPRFInputs {
345
345
  AuthenticationExtensionsPRFValues eval;
346
- record<USVString, AuthenticationExtensionsPRFValues> evalByCredential;
346
+ record<DOMString, AuthenticationExtensionsPRFValues> evalByCredential;
347
347
  };
348
348
 
349
349
  partial dictionary AuthenticationExtensionsClientInputs {
package/webnn.idl CHANGED
@@ -34,6 +34,10 @@ interface ML {
34
34
 
35
35
  typedef record<USVString, MLTensor> MLNamedTensors;
36
36
 
37
+ dictionary MLContextLostInfo {
38
+ DOMString message;
39
+ };
40
+
37
41
  [SecureContext, Exposed=(Window, DedicatedWorker)]
38
42
  interface MLContext {
39
43
  undefined dispatch(MLGraph graph, MLNamedTensors inputs, MLNamedTensors outputs);
@@ -46,6 +50,10 @@ interface MLContext {
46
50
  undefined writeTensor(MLTensor tensor, AllowSharedBufferSource inputData);
47
51
 
48
52
  MLOpSupportLimits opSupportLimits();
53
+
54
+ undefined destroy();
55
+
56
+ readonly attribute Promise<MLContextLostInfo> lost;
49
57
  };
50
58
 
51
59
  dictionary MLOpSupportLimits {
@@ -71,7 +79,9 @@ dictionary MLSingleInputSupportLimits {
71
79
  };
72
80
 
73
81
  [SecureContext, Exposed=(Window, DedicatedWorker)]
74
- interface MLGraph {};
82
+ interface MLGraph {
83
+ undefined destroy();
84
+ };
75
85
 
76
86
  enum MLInputOperandLayout {
77
87
  "nchw",