@webref/idl 3.69.0 → 3.70.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/cookiestore.idl CHANGED
@@ -41,6 +41,7 @@ dictionary CookieInit {
41
41
  USVString path = "/";
42
42
  CookieSameSite sameSite = "strict";
43
43
  boolean partitioned = false;
44
+ long long? maxAge = null;
44
45
  };
45
46
 
46
47
  dictionary CookieStoreDeleteOptions {
@@ -5,6 +5,7 @@
5
5
 
6
6
  partial interface CSSRule {
7
7
  const unsigned short SUPPORTS_RULE = 12;
8
+
8
9
  };
9
10
 
10
11
  [Exposed=Window]
package/css-fonts.idl CHANGED
@@ -3,7 +3,8 @@
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
- partial interface CSSRule { const unsigned short FONT_FEATURE_VALUES_RULE = 14;
6
+ partial interface CSSRule {
7
+ const unsigned short FONT_FEATURE_VALUES_RULE = 14;
7
8
  };
8
9
  [Exposed=Window]
9
10
  interface CSSFontFeatureValuesRule : CSSRule {
@@ -24,7 +25,8 @@ interface CSSFontFeatureValuesMap {
24
25
  (unsigned long or sequence<unsigned long>) values);
25
26
  };
26
27
 
27
- [Exposed=Window]interface CSSFontPaletteValuesRule : CSSRule {
28
+ [Exposed=Window]
29
+ interface CSSFontPaletteValuesRule : CSSRule {
28
30
  readonly attribute CSSOMString name;
29
31
  readonly attribute CSSOMString fontFamily;
30
32
  readonly attribute CSSOMString basePalette;
package/css-masking.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 Masking Module Level 1 (https://drafts.fxtf.org/css-masking-1/)
4
+ // Source: CSS Masking Module Level 1 (https://drafts.csswg.org/css-masking-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface SVGClipPathElement : SVGElement {
@@ -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: Filter Effects Module Level 1 (https://drafts.fxtf.org/filter-effects-1/)
4
+ // Source: Filter Effects Module Level 1 (https://drafts.csswg.org/filter-effects-1/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface SVGFilterElement : SVGElement {
package/geometry.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: Geometry Interfaces Module Level 1 (https://drafts.fxtf.org/geometry-1/)
4
+ // Source: Geometry Interfaces Module Level 1 (https://drafts.csswg.org/geometry/)
5
5
 
6
6
  [Exposed=(Window,Worker),
7
7
  Serializable]
package/html.idl CHANGED
@@ -1624,7 +1624,7 @@ interface CustomElementRegistry {
1624
1624
  DOMString? getName(CustomElementConstructor constructor);
1625
1625
  Promise<CustomElementConstructor> whenDefined(DOMString name);
1626
1626
  [CEReactions] undefined upgrade(Node root);
1627
- undefined initialize(Node root);
1627
+ [CEReactions] undefined initialize(Node root);
1628
1628
  };
1629
1629
 
1630
1630
  callback CustomElementConstructor = HTMLElement ();
@@ -1807,6 +1807,18 @@ interface mixin PopoverTargetAttributes {
1807
1807
  [CEReactions] attribute DOMString popoverTargetAction;
1808
1808
  };
1809
1809
 
1810
+ [Exposed=*]
1811
+ interface Origin {
1812
+ constructor();
1813
+
1814
+ static Origin from(any value);
1815
+
1816
+ readonly attribute boolean opaque;
1817
+
1818
+ boolean isSameOrigin(Origin other);
1819
+ boolean isSameSite(Origin other);
1820
+ };
1821
+
1810
1822
  [Global=Window,
1811
1823
  Exposed=Window,
1812
1824
  LegacyUnenumerableNamedProperties]
@@ -1985,6 +1997,7 @@ interface NavigationHistoryEntry : EventTarget {
1985
1997
  interface NavigationTransition {
1986
1998
  readonly attribute NavigationType navigationType;
1987
1999
  readonly attribute NavigationHistoryEntry from;
2000
+ readonly attribute NavigationDestination to;
1988
2001
  readonly attribute Promise<undefined> committed;
1989
2002
  readonly attribute Promise<undefined> finished;
1990
2003
  };
@@ -2052,6 +2065,7 @@ callback NavigationInterceptHandler = Promise<undefined> ();
2052
2065
  [Exposed=Window]
2053
2066
  interface NavigationPrecommitController {
2054
2067
  undefined redirect(USVString url, optional NavigationNavigateOptions options = {});
2068
+ undefined addHandler(NavigationInterceptHandler handler);
2055
2069
  };
2056
2070
 
2057
2071
  callback NavigationPrecommitHandler = Promise<undefined> (NavigationPrecommitController controller);
@@ -17,6 +17,7 @@ interface PerformanceNavigationTiming : PerformanceResourceTiming {
17
17
  readonly attribute unsigned short redirectCount;
18
18
  readonly attribute DOMHighResTimeStamp criticalCHRestart;
19
19
  readonly attribute NotRestoredReasons? notRestoredReasons;
20
+ readonly attribute PerformanceTimingConfidence confidence;
20
21
  [Default] object toJSON();
21
22
  };
22
23
 
@@ -26,6 +27,18 @@ enum NavigationTimingType {
26
27
  "back_forward"
27
28
  };
28
29
 
30
+ [Exposed=Window]
31
+ interface PerformanceTimingConfidence {
32
+ readonly attribute double randomizedTriggerRate;
33
+ readonly attribute PerformanceTimingConfidenceValue value;
34
+ object toJSON();
35
+ };
36
+
37
+ enum PerformanceTimingConfidenceValue {
38
+ "high",
39
+ "low"
40
+ };
41
+
29
42
  [Exposed=Window]
30
43
  interface PerformanceTiming {
31
44
  readonly attribute unsigned long long navigationStart;
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.69.0",
4
+ "version": "3.70.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -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: Pointer-driven Animations (https://drafts.csswg.org/pointer-animations-1/)
4
+ // Source: Pointer-driven Animations Module Level 1 (https://drafts.csswg.org/pointer-animations-1/)
5
5
 
6
6
  enum PointerAxis {
7
7
  "block",
@@ -22,6 +22,10 @@ interface PerformanceResourceTiming : PerformanceEntry {
22
22
  readonly attribute DOMHighResTimeStamp firstInterimResponseStart;
23
23
  readonly attribute DOMHighResTimeStamp responseStart;
24
24
  readonly attribute DOMHighResTimeStamp responseEnd;
25
+ readonly attribute DOMHighResTimeStamp workerRouterEvaluationStart;
26
+ readonly attribute DOMHighResTimeStamp workerCacheLookupStart;
27
+ readonly attribute DOMString workerMatchedRouterSource;
28
+ readonly attribute DOMString workerFinalRouterSource;
25
29
  readonly attribute unsigned long long transferSize;
26
30
  readonly attribute unsigned long long encodedBodySize;
27
31
  readonly attribute unsigned long long decodedBodySize;
@@ -59,7 +59,7 @@ dictionary EncapsulatedBits {
59
59
  };
60
60
 
61
61
  partial dictionary JsonWebKey {
62
- // The following fields are defined in draft-ietf-cose-dilithium-07
62
+ // The following fields are defined in draft-ietf-cose-dilithium-08
63
63
  DOMString pub;
64
64
  DOMString priv;
65
65
  };
package/webtransport.idl CHANGED
@@ -62,14 +62,14 @@ enum WebTransportReliabilityMode {
62
62
  };
63
63
 
64
64
  dictionary WebTransportHash {
65
- DOMString algorithm;
66
- BufferSource value;
65
+ required DOMString algorithm;
66
+ required BufferSource value;
67
67
  };
68
68
 
69
69
  dictionary WebTransportOptions {
70
70
  boolean allowPooling = false;
71
71
  boolean requireUnreliable = false;
72
- sequence<WebTransportHash> serverCertificateHashes;
72
+ sequence<WebTransportHash> serverCertificateHashes = [];
73
73
  WebTransportCongestionControl congestionControl = "default";
74
74
  [EnforceRange] unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams = null;
75
75
  [EnforceRange] unsigned short? anticipatedConcurrentIncomingBidirectionalStreams = null;
@@ -100,25 +100,25 @@ dictionary WebTransportSendStreamOptions : WebTransportSendOptions {
100
100
  };
101
101
 
102
102
  dictionary WebTransportConnectionStats {
103
- unsigned long long bytesSent = 0;
104
- unsigned long long packetsSent = 0;
105
- unsigned long long bytesLost = 0;
106
- unsigned long long packetsLost = 0;
107
- unsigned long long bytesReceived = 0;
108
- unsigned long long packetsReceived = 0;
109
- required DOMHighResTimeStamp smoothedRtt;
110
- required DOMHighResTimeStamp rttVariation;
111
- required DOMHighResTimeStamp minRtt;
103
+ unsigned long long bytesSent;
104
+ unsigned long long packetsSent;
105
+ unsigned long long bytesLost;
106
+ unsigned long long packetsLost;
107
+ unsigned long long bytesReceived;
108
+ unsigned long long packetsReceived;
109
+ DOMHighResTimeStamp smoothedRtt;
110
+ DOMHighResTimeStamp rttVariation;
111
+ DOMHighResTimeStamp minRtt;
112
112
  required WebTransportDatagramStats datagrams;
113
113
  unsigned long long? estimatedSendRate = null;
114
114
  boolean atSendCapacity = false;
115
115
  };
116
116
 
117
117
  dictionary WebTransportDatagramStats {
118
- unsigned long long droppedIncoming = 0;
119
- unsigned long long expiredIncoming = 0;
120
- unsigned long long expiredOutgoing = 0;
121
- unsigned long long lostOutgoing = 0;
118
+ unsigned long long droppedIncoming;
119
+ unsigned long long expiredIncoming;
120
+ unsigned long long expiredOutgoing;
121
+ unsigned long long lostOutgoing;
122
122
  };
123
123
 
124
124
  [Exposed=(Window,Worker), SecureContext, Transferable]
@@ -130,9 +130,9 @@ interface WebTransportSendStream : WritableStream {
130
130
  };
131
131
 
132
132
  dictionary WebTransportSendStreamStats {
133
- unsigned long long bytesWritten = 0;
134
- unsigned long long bytesSent = 0;
135
- unsigned long long bytesAcknowledged = 0;
133
+ unsigned long long bytesWritten;
134
+ unsigned long long bytesSent;
135
+ unsigned long long bytesAcknowledged;
136
136
  };
137
137
 
138
138
  [Exposed=(Window,Worker), SecureContext]
@@ -146,8 +146,8 @@ interface WebTransportReceiveStream : ReadableStream {
146
146
  };
147
147
 
148
148
  dictionary WebTransportReceiveStreamStats {
149
- unsigned long long bytesReceived = 0;
150
- unsigned long long bytesRead = 0;
149
+ unsigned long long bytesReceived;
150
+ unsigned long long bytesRead;
151
151
  };
152
152
 
153
153
  [Exposed=(Window,Worker), SecureContext]