@webref/idl 3.42.1 → 3.42.2

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
@@ -2052,6 +2052,16 @@ dictionary HashChangeEventInit : EventInit {
2052
2052
  USVString newURL = "";
2053
2053
  };
2054
2054
 
2055
+ [Exposed=Window]
2056
+ interface PageRevealEvent : Event {
2057
+ constructor(DOMString type, optional PageRevealEventInit eventInitDict = {});
2058
+ readonly attribute ViewTransition? viewTransition;
2059
+ };
2060
+
2061
+ dictionary PageRevealEventInit : EventInit {
2062
+ ViewTransition? viewTransition = null;
2063
+ };
2064
+
2055
2065
  [Exposed=Window]
2056
2066
  interface PageTransitionEvent : Event {
2057
2067
  constructor(DOMString type, optional PageTransitionEventInit eventInitDict = {});
@@ -2201,6 +2211,7 @@ interface mixin WindowEventHandlers {
2201
2211
  attribute EventHandler onoffline;
2202
2212
  attribute EventHandler ononline;
2203
2213
  attribute EventHandler onpagehide;
2214
+ attribute EventHandler onpagereveal;
2204
2215
  attribute EventHandler onpageshow;
2205
2216
  attribute EventHandler onpopstate;
2206
2217
  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.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -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 {