@webref/idl 3.65.4 → 3.66.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.
@@ -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: Cookie Store API (https://wicg.github.io/cookie-store/)
4
+ // Source: Cookie Store API Standard (https://cookiestore.spec.whatwg.org/)
5
5
 
6
6
  [Exposed=(ServiceWorker,Window),
7
7
  SecureContext]
package/css-mixins.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 Functions and Mixins Module (https://drafts.csswg.org/css-mixins-1/)
4
+ // Source: CSS Custom Functions and Mixins Module Level 1 (https://drafts.csswg.org/css-mixins-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface CSSFunctionRule : CSSGroupingRule {
package/cssom.idl CHANGED
@@ -164,7 +164,7 @@ interface CSSStyleProperties : CSSStyleDeclaration {
164
164
  };
165
165
 
166
166
  interface mixin ElementCSSInlineStyle {
167
- [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
167
+ [SameObject, PutForwards=cssText] readonly attribute CSSStyleProperties style;
168
168
  };
169
169
 
170
170
  HTMLElement includes ElementCSSInlineStyle;
@@ -174,7 +174,7 @@ SVGElement includes ElementCSSInlineStyle;
174
174
  MathMLElement includes ElementCSSInlineStyle;
175
175
 
176
176
  partial interface Window {
177
- [NewObject] CSSStyleDeclaration getComputedStyle(Element elt, optional CSSOMString? pseudoElt);
177
+ [NewObject] CSSStyleProperties getComputedStyle(Element elt, optional CSSOMString? pseudoElt);
178
178
  };
179
179
 
180
180
  [Exposed=Window]
package/fs.idl CHANGED
@@ -42,7 +42,7 @@ dictionary FileSystemRemoveOptions {
42
42
 
43
43
  [Exposed=(Window,Worker), SecureContext, Serializable]
44
44
  interface FileSystemDirectoryHandle : FileSystemHandle {
45
- async iterable<USVString, FileSystemHandle>;
45
+ async_iterable<USVString, FileSystemHandle>;
46
46
 
47
47
  Promise<FileSystemFileHandle> getFileHandle(USVString name, optional FileSystemGetFileOptions options = {});
48
48
  Promise<FileSystemDirectoryHandle> getDirectoryHandle(USVString name, optional FileSystemGetDirectoryOptions options = {});
package/html.idl CHANGED
@@ -1166,6 +1166,11 @@ interface HTMLLegendElement : HTMLElement {
1166
1166
  // also has obsolete members
1167
1167
  };
1168
1168
 
1169
+ [Exposed=Window]
1170
+ interface HTMLSelectedContentElement : HTMLElement {
1171
+ [HTMLConstructor] constructor();
1172
+ };
1173
+
1169
1174
  enum SelectionMode {
1170
1175
  "select",
1171
1176
  "start",
@@ -3,6 +3,14 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Media Queries Level 5 (https://drafts.csswg.org/mediaqueries-5/)
5
5
 
6
+ typedef (MediaList or boolean) CustomMediaQuery;
7
+
8
+ [Exposed=Window]
9
+ interface CSSCustomMediaRule : CSSRule {
10
+ readonly attribute CSSOMString name;
11
+ readonly attribute CustomMediaQuery query;
12
+ };
13
+
6
14
  [Exposed=Window, SecureContext]
7
15
  partial interface Navigator {
8
16
  [SameObject] readonly attribute PreferenceManager preferences;
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.65.4",
4
+ "version": "3.66.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -12,6 +12,6 @@
12
12
  "license": "MIT",
13
13
  "main": "index.js",
14
14
  "peerDependencies": {
15
- "webidl2": "^24.4.1"
15
+ "webidl2": "^24.5.0"
16
16
  }
17
17
  }
@@ -7,7 +7,7 @@ partial interface Navigator {
7
7
  [SecureContext, SameObject] readonly attribute Attribution attribution;
8
8
  };
9
9
 
10
- enum PrivateAttributionAggregationProtocol { "dap-12-histogram", "tee-00" };
10
+ enum AttributionAggregationProtocol { "dap-15-histogram", "tee-00" };
11
11
 
12
12
  dictionary AttributionAggregationService {
13
13
  required DOMString protocol;
@@ -29,6 +29,7 @@ dictionary AttributionImpressionOptions {
29
29
  sequence<USVString> conversionSites = [];
30
30
  sequence<USVString> conversionCallers = [];
31
31
  unsigned long lifetimeDays = 30;
32
+ long priority = 0;
32
33
  };
33
34
 
34
35
  dictionary AttributionImpressionResult {
@@ -50,13 +51,18 @@ dictionary AttributionConversionOptions {
50
51
  sequence<USVString> impressionSites = [];
51
52
  sequence<USVString> impressionCallers = [];
52
53
 
53
- AttributionLogic logic = "last-touch";
54
+ AttributionLogic logic = "last-n-touch";
55
+ AttributionLogicOptions logicOptions;
54
56
  unsigned long value = 1;
55
57
  unsigned long maxValue = 1;
56
58
  };
57
59
 
58
60
  enum AttributionLogic {
59
- "last-touch",
61
+ "last-n-touch",
62
+ };
63
+
64
+ dictionary AttributionLogicOptions {
65
+ sequence<double> credit;
60
66
  };
61
67
 
62
68
  dictionary AttributionConversionResult {
@@ -105,7 +105,7 @@ interface SharedStorage {
105
105
  Promise<double> remainingBudget();
106
106
 
107
107
  [Exposed=SharedStorageWorklet]
108
- async iterable<DOMString, DOMString>;
108
+ async_iterable<DOMString, DOMString>;
109
109
  };
110
110
 
111
111
  dictionary SharedStoragePrivateAggregationConfig {
package/streams.idl CHANGED
@@ -17,7 +17,7 @@ interface ReadableStream {
17
17
  Promise<undefined> pipeTo(WritableStream destination, optional StreamPipeOptions options = {});
18
18
  sequence<ReadableStream> tee();
19
19
 
20
- async iterable<any>(optional ReadableStreamIteratorOptions options = {});
20
+ async_iterable<any>(optional ReadableStreamIteratorOptions options = {});
21
21
  };
22
22
 
23
23
  typedef (ReadableStreamDefaultReader or ReadableStreamBYOBReader) ReadableStreamReader;
package/webidl.idl CHANGED
@@ -3,6 +3,19 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Web IDL Standard (https://webidl.spec.whatwg.org/)
5
5
 
6
+ [Exposed=*, Serializable]
7
+ interface QuotaExceededError : DOMException {
8
+ constructor(optional DOMString message = "", optional QuotaExceededErrorOptions options = {});
9
+
10
+ readonly attribute double? quota;
11
+ readonly attribute double? requested;
12
+ };
13
+
14
+ dictionary QuotaExceededErrorOptions {
15
+ double quota;
16
+ double requested;
17
+ };
18
+
6
19
  typedef (Int8Array or Int16Array or Int32Array or
7
20
  Uint8Array or Uint16Array or Uint32Array or Uint8ClampedArray or
8
21
  BigInt64Array or BigUint64Array or
package/webnn.idl CHANGED
@@ -400,6 +400,7 @@ partial interface MLGraphBuilder {
400
400
  MLOperand log(MLOperand input, optional MLOperatorOptions options = {});
401
401
  MLOperand neg(MLOperand input, optional MLOperatorOptions options = {});
402
402
  MLOperand reciprocal(MLOperand input, optional MLOperatorOptions options = {});
403
+ MLOperand roundEven(MLOperand input, optional MLOperatorOptions options = {});
403
404
  MLOperand sin(MLOperand input, optional MLOperatorOptions options = {});
404
405
  MLOperand sign(MLOperand input, optional MLOperatorOptions options = {});
405
406
  MLOperand sqrt(MLOperand input, optional MLOperatorOptions options = {});
@@ -417,6 +418,7 @@ partial dictionary MLOpSupportLimits {
417
418
  MLSingleInputSupportLimits log;
418
419
  MLSingleInputSupportLimits neg;
419
420
  MLSingleInputSupportLimits reciprocal;
421
+ MLSingleInputSupportLimits roundEven;
420
422
  MLSingleInputSupportLimits sin;
421
423
  MLSingleInputSupportLimits sign;
422
424
  MLSingleInputSupportLimits sqrt;
@@ -19,8 +19,18 @@ enum SFrameTransformRole {
19
19
  "decrypt"
20
20
  };
21
21
 
22
+ // List of supported cipher suites, as defined in [[RFC9605]] section 4.5.
23
+ enum SFrameCipherSuite {
24
+ "AES_128_CTR_HMAC_SHA256_80",
25
+ "AES_128_CTR_HMAC_SHA256_64",
26
+ "AES_128_CTR_HMAC_SHA256_32",
27
+ "AES_128_GCM_SHA256_128",
28
+ "AES_256_GCM_SHA512_128"
29
+ };
30
+
22
31
  dictionary SFrameTransformOptions {
23
32
  SFrameTransformRole role = "encrypt";
33
+ required SFrameCipherSuite cipherSuite;
24
34
  };
25
35
 
26
36
  typedef [EnforceRange] unsigned long long SmallCryptoKeyID;
@@ -19,7 +19,7 @@ dictionary RTCIdentityProvider {
19
19
  };
20
20
 
21
21
  callback GenerateAssertionCallback = Promise<RTCIdentityAssertionResult>
22
- (DOMString contents, DOMString origin, RTCIdentityProviderOptions options);
22
+ (DOMString contents, DOMString origin, optional RTCIdentityProviderOptions options = {});
23
23
 
24
24
  callback ValidateAssertionCallback = Promise<RTCIdentityValidationResult>
25
25
  (DOMString assertion, DOMString origin);
package/webrtc-stats.idl CHANGED
@@ -140,6 +140,8 @@ dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
140
140
  unsigned long framesEncoded;
141
141
  unsigned long keyFramesEncoded;
142
142
  unsigned long long qpSum;
143
+ record<DOMString, double> psnrSum;
144
+ unsigned long long psnrMeasurements;
143
145
  double totalEncodeTime;
144
146
  double totalPacketSendDelay;
145
147
  RTCQualityLimitationReason qualityLimitationReason;
package/webtransport.idl CHANGED
@@ -74,6 +74,7 @@ dictionary WebTransportOptions {
74
74
  [EnforceRange] unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams = null;
75
75
  [EnforceRange] unsigned short? anticipatedConcurrentIncomingBidirectionalStreams = null;
76
76
  sequence<DOMString> protocols = [];
77
+ DatagramsReadableMode datagramsReadableMode;
77
78
  };
78
79
 
79
80
  enum WebTransportCongestionControl {
@@ -82,6 +83,8 @@ enum WebTransportCongestionControl {
82
83
  "low-latency",
83
84
  };
84
85
 
86
+ enum DatagramsReadableMode { "bytes" };
87
+
85
88
  dictionary WebTransportCloseInfo {
86
89
  unsigned long closeCode = 0;
87
90
  USVString reason = "";