@webref/idl 3.65.5 → 3.66.1

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.
@@ -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/notifications.idl CHANGED
@@ -21,6 +21,7 @@ interface Notification : EventTarget {
21
21
  readonly attribute NotificationDirection dir;
22
22
  readonly attribute DOMString lang;
23
23
  readonly attribute DOMString body;
24
+ readonly attribute USVString navigate;
24
25
  readonly attribute DOMString tag;
25
26
  readonly attribute USVString image;
26
27
  readonly attribute USVString icon;
@@ -40,6 +41,7 @@ dictionary NotificationOptions {
40
41
  NotificationDirection dir = "auto";
41
42
  DOMString lang = "";
42
43
  DOMString body = "";
44
+ USVString navigate;
43
45
  DOMString tag = "";
44
46
  USVString image;
45
47
  USVString icon;
@@ -68,6 +70,7 @@ enum NotificationDirection {
68
70
  dictionary NotificationAction {
69
71
  required DOMString action;
70
72
  required DOMString title;
73
+ USVString navigate;
71
74
  USVString icon;
72
75
  };
73
76
 
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.5",
4
+ "version": "3.66.1",
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
  }
@@ -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,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
@@ -117,7 +117,6 @@ dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
117
117
  dictionary RTCSentRtpStreamStats : RTCRtpStreamStats {
118
118
  unsigned long long packetsSent;
119
119
  unsigned long long bytesSent;
120
- unsigned long long packetsSentWithEct1;
121
120
  };
122
121
 
123
122
  dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
@@ -154,6 +153,7 @@ dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
154
153
  boolean powerEfficientEncoder;
155
154
  boolean active;
156
155
  DOMString scalabilityMode;
156
+ unsigned long long packetsSentWithEct1;
157
157
  };
158
158
 
159
159
  enum RTCQualityLimitationReason {