@webref/idl 3.42.1 → 3.42.3

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,11 +3,6 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
5
5
 
6
- [Exposed=Window]
7
- interface PageRevealEvent : Event {
8
- readonly attribute ViewTransition? viewTransition;
9
- };
10
-
11
6
  dictionary StartViewTransitionOptions {
12
7
  UpdateCallback? update = null;
13
8
  sequence<DOMString>? type = null;
package/dom.idl CHANGED
@@ -339,6 +339,7 @@ interface ShadowRoot : DocumentFragment {
339
339
  readonly attribute ShadowRootMode mode;
340
340
  readonly attribute boolean delegatesFocus;
341
341
  readonly attribute SlotAssignmentMode slotAssignment;
342
+ readonly attribute boolean clonable;
342
343
  readonly attribute Element host;
343
344
  attribute EventHandler onslotchange;
344
345
  };
package/html.idl CHANGED
@@ -1633,6 +1633,9 @@ interface ElementInternals {
1633
1633
  boolean reportValidity();
1634
1634
 
1635
1635
  readonly attribute NodeList labels;
1636
+
1637
+ // Custom state pseudo-class
1638
+ [SameObject] readonly attribute CustomStateSet states;
1636
1639
  };
1637
1640
 
1638
1641
  // Accessibility semantics
@@ -1651,6 +1654,11 @@ dictionary ValidityStateFlags {
1651
1654
  boolean customError = false;
1652
1655
  };
1653
1656
 
1657
+ [Exposed=Window]
1658
+ interface CustomStateSet {
1659
+ setlike<DOMString>;
1660
+ };
1661
+
1654
1662
  [Exposed=(Window)]
1655
1663
  interface VisibilityStateEntry : PerformanceEntry {
1656
1664
  readonly attribute DOMString name; // shadows inherited name
@@ -2052,6 +2060,16 @@ dictionary HashChangeEventInit : EventInit {
2052
2060
  USVString newURL = "";
2053
2061
  };
2054
2062
 
2063
+ [Exposed=Window]
2064
+ interface PageRevealEvent : Event {
2065
+ constructor(DOMString type, optional PageRevealEventInit eventInitDict = {});
2066
+ readonly attribute ViewTransition? viewTransition;
2067
+ };
2068
+
2069
+ dictionary PageRevealEventInit : EventInit {
2070
+ ViewTransition? viewTransition = null;
2071
+ };
2072
+
2055
2073
  [Exposed=Window]
2056
2074
  interface PageTransitionEvent : Event {
2057
2075
  constructor(DOMString type, optional PageTransitionEventInit eventInitDict = {});
@@ -2201,6 +2219,7 @@ interface mixin WindowEventHandlers {
2201
2219
  attribute EventHandler onoffline;
2202
2220
  attribute EventHandler ononline;
2203
2221
  attribute EventHandler onpagehide;
2222
+ attribute EventHandler onpagereveal;
2204
2223
  attribute EventHandler onpageshow;
2205
2224
  attribute EventHandler onpopstate;
2206
2225
  attribute EventHandler onrejectionhandled;
package/media-source.idl CHANGED
@@ -75,6 +75,32 @@ interface SourceBufferList : EventTarget {
75
75
  getter SourceBuffer (unsigned long index);
76
76
  };
77
77
 
78
+ [Exposed=(Window,DedicatedWorker)]
79
+ interface ManagedMediaSource : MediaSource {
80
+ constructor();
81
+ readonly attribute boolean streaming;
82
+ attribute EventHandler onstartstreaming;
83
+ attribute EventHandler onendstreaming;
84
+ };
85
+
86
+ [Exposed=(Window,DedicatedWorker)]
87
+ interface BufferedChangeEvent : Event {
88
+ constructor(DOMString type, optional BufferedChangeEventInit eventInitDict = {});
89
+
90
+ [SameObject] readonly attribute TimeRanges addedRanges;
91
+ [SameObject] readonly attribute TimeRanges removedRanges;
92
+ };
93
+
94
+ dictionary BufferedChangeEventInit : EventInit {
95
+ TimeRanges addedRanges;
96
+ TimeRanges removedRanges;
97
+ };
98
+
99
+ [Exposed=(Window,DedicatedWorker)]
100
+ interface ManagedSourceBuffer : SourceBuffer {
101
+ attribute EventHandler onbufferedchange;
102
+ };
103
+
78
104
  [Exposed=(Window,DedicatedWorker)]
79
105
  partial interface AudioTrack {
80
106
  readonly attribute SourceBuffer? sourceBuffer;
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.42.1",
4
+ "version": "3.42.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/serial.idl CHANGED
@@ -36,6 +36,7 @@ dictionary SerialPortFilter {
36
36
  interface SerialPort : EventTarget {
37
37
  attribute EventHandler onconnect;
38
38
  attribute EventHandler ondisconnect;
39
+ readonly attribute boolean connected;
39
40
  readonly attribute ReadableStream readable;
40
41
  readonly attribute WritableStream writable;
41
42
 
@@ -20,8 +20,8 @@ interface StorageBucketManager {
20
20
 
21
21
  dictionary StorageBucketOptions {
22
22
  boolean persisted = false;
23
- unsigned long long? quota;
24
- DOMHighResTimeStamp? expires;
23
+ unsigned long long quota;
24
+ DOMHighResTimeStamp expires;
25
25
  };
26
26
 
27
27
  [Exposed=(Window,Worker),
package/turtledove.idl CHANGED
@@ -69,6 +69,7 @@ dictionary AuctionAdConfig {
69
69
  USVString trustedScoringSignalsURL;
70
70
  sequence<USVString> interestGroupBuyers;
71
71
  Promise<any> auctionSignals;
72
+ record<DOMString, DOMString> requestedSize;
72
73
  Promise<any> sellerSignals;
73
74
  Promise<DOMString> directFromSellerSignalsHeaderAdSlot;
74
75
  unsigned long long sellerTimeout;
@@ -150,6 +151,10 @@ partial dictionary RequestInit {
150
151
  boolean adAuctionHeaders;
151
152
  };
152
153
 
154
+ partial interface HTMLIFrameElement {
155
+ [CEReactions] attribute boolean adAuctionHeaders;
156
+ };
157
+
153
158
  dictionary PreviousWin {
154
159
  required long long timeDelta;
155
160
  required DOMString adJSON;
package/webauthn.idl CHANGED
@@ -32,7 +32,7 @@ dictionary AuthenticatorAttestationResponseJSON {
32
32
  required Base64URLString authenticatorData;
33
33
  required sequence<DOMString> transports;
34
34
  // The publicKey field will be missing if pubKeyCredParams was used to
35
- // negotiate a public-key algorithm that the user agent doesnt
35
+ // negotiate a public-key algorithm that the user agent doesn't
36
36
  // understand. (See section “Easily accessing credential data” for a
37
37
  // list of which algorithms user agents must support.) If using such an
38
38
  // algorithm then the public key must be parsed directly from
package/webgl1.idl CHANGED
@@ -467,6 +467,7 @@ interface mixin WebGLRenderingContextBase
467
467
 
468
468
  const GLenum RGBA4 = 0x8056;
469
469
  const GLenum RGB5_A1 = 0x8057;
470
+ const GLenum RGBA8 = 0x8058;
470
471
  const GLenum RGB565 = 0x8D62;
471
472
  const GLenum DEPTH_COMPONENT16 = 0x81A5;
472
473
  const GLenum STENCIL_INDEX8 = 0x8D48;
@@ -516,6 +517,7 @@ interface mixin WebGLRenderingContextBase
516
517
  readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
517
518
  readonly attribute GLsizei drawingBufferWidth;
518
519
  readonly attribute GLsizei drawingBufferHeight;
520
+ readonly attribute GLenum drawingBufferFormat;
519
521
  attribute PredefinedColorSpace drawingBufferColorSpace;
520
522
  attribute PredefinedColorSpace unpackColorSpace;
521
523
 
@@ -525,6 +527,8 @@ interface mixin WebGLRenderingContextBase
525
527
  sequence<DOMString>? getSupportedExtensions();
526
528
  object? getExtension(DOMString name);
527
529
 
530
+ undefined drawingBufferStorage(GLenum sizedFormat, unsigned long width, unsigned long height);
531
+
528
532
  undefined activeTexture(GLenum texture);
529
533
  undefined attachShader(WebGLProgram program, WebGLShader shader);
530
534
  undefined bindAttribLocation(WebGLProgram program, GLuint index, DOMString name);
package/webgl2.idl CHANGED
@@ -42,7 +42,6 @@ interface mixin WebGL2RenderingContextBase
42
42
  const GLenum STENCIL = 0x1802;
43
43
  const GLenum RED = 0x1903;
44
44
  const GLenum RGB8 = 0x8051;
45
- const GLenum RGBA8 = 0x8058;
46
45
  const GLenum RGB10_A2 = 0x8059;
47
46
  const GLenum TEXTURE_BINDING_3D = 0x806A;
48
47
  const GLenum UNPACK_SKIP_IMAGES = 0x806D;
package/webrtc-stats.idl CHANGED
@@ -171,10 +171,6 @@ dictionary RTCAudioSourceStats : RTCMediaSourceStats {
171
171
  double totalSamplesDuration;
172
172
  double echoReturnLoss;
173
173
  double echoReturnLossEnhancement;
174
- double droppedSamplesDuration;
175
- unsigned long droppedSamplesEvents;
176
- double totalCaptureDelay;
177
- unsigned long long totalSamplesCaptured;
178
174
  };
179
175
 
180
176
  dictionary RTCVideoSourceStats : RTCMediaSourceStats {
@@ -1,14 +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: Custom State Pseudo Class (https://wicg.github.io/custom-state-pseudo-class/)
5
-
6
- partial interface ElementInternals {
7
- readonly attribute CustomStateSet states;
8
- };
9
-
10
- [Exposed=Window]
11
- interface CustomStateSet {
12
- setlike<DOMString>;
13
- undefined add(DOMString value);
14
- };