@webref/idl 3.71.0 → 3.71.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,12 +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 CSSViewTransitionRule : CSSRule {
8
- readonly attribute CSSOMString navigation;
9
- [SameObject] readonly attribute FrozenArray<CSSOMString> types;
10
- };
11
-
12
6
  partial interface Document {
13
7
  ViewTransition startViewTransition(
14
8
  optional (ViewTransitionUpdateCallback or StartViewTransitionOptions) callbackOptions = {}
@@ -45,3 +39,9 @@ interface ViewTransition {
45
39
  interface ViewTransitionTypeSet {
46
40
  setlike<DOMString>;
47
41
  };
42
+
43
+ [Exposed=Window]
44
+ interface CSSViewTransitionRule : CSSRule {
45
+ readonly attribute CSSOMString navigation;
46
+ [SameObject] readonly attribute FrozenArray<CSSOMString> types;
47
+ };
@@ -3,14 +3,20 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: MediaStreamTrack Insertable Media Processing using Streams (https://w3c.github.io/mediacapture-transform/)
5
5
 
6
+ [Exposed=(Window,DedicatedWorker), Transferable]
7
+ interface MediaStreamTrackHandle {
8
+ constructor(MediaStreamTrack track);
9
+ };
10
+
6
11
  [Exposed=DedicatedWorker]
7
12
  interface MediaStreamTrackProcessor {
8
13
  constructor(MediaStreamTrackProcessorInit init);
9
14
  readonly attribute ReadableStream readable;
10
15
  };
11
16
 
17
+ typedef (MediaStreamTrack or MediaStreamTrackHandle) MediaStreamTrackOrHandle;
12
18
  dictionary MediaStreamTrackProcessorInit {
13
- required MediaStreamTrack track;
19
+ required MediaStreamTrackOrHandle track;
14
20
  [EnforceRange] unsigned short maxBufferSize;
15
21
  };
16
22
 
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.71.0",
4
+ "version": "3.71.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/webxrlayers.idl CHANGED
@@ -219,3 +219,7 @@ dictionary XRLayerEventInit : EventInit {
219
219
  [SecureContext, Exposed=Window] partial interface XRRenderState {
220
220
  readonly attribute FrozenArray<XRLayer> layers;
221
221
  };
222
+
223
+ [SecureContext, Exposed=Window] partial interface XRSession {
224
+ readonly attribute unsigned long maxRenderLayers;
225
+ };