@webref/idl 3.61.3 → 3.61.5

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/dom.idl CHANGED
@@ -110,6 +110,7 @@ Document includes NonElementParentNode;
110
110
  DocumentFragment includes NonElementParentNode;
111
111
 
112
112
  interface mixin DocumentOrShadowRoot {
113
+ readonly attribute CustomElementRegistry? customElementRegistry;
113
114
  };
114
115
  Document includes DocumentOrShadowRoot;
115
116
  ShadowRoot includes DocumentOrShadowRoot;
@@ -293,7 +294,7 @@ interface Document : Node {
293
294
  [NewObject] Comment createComment(DOMString data);
294
295
  [NewObject] ProcessingInstruction createProcessingInstruction(DOMString target, DOMString data);
295
296
 
296
- [CEReactions, NewObject] Node importNode(Node node, optional boolean subtree = false);
297
+ [CEReactions, NewObject] Node importNode(Node node, optional (boolean or ImportNodeOptions) options = false);
297
298
  [CEReactions] Node adoptNode(Node node);
298
299
 
299
300
  [NewObject] Attr createAttribute(DOMString localName);
@@ -312,9 +313,15 @@ interface Document : Node {
312
313
  interface XMLDocument : Document {};
313
314
 
314
315
  dictionary ElementCreationOptions {
316
+ CustomElementRegistry customElementRegistry;
315
317
  DOMString is;
316
318
  };
317
319
 
320
+ dictionary ImportNodeOptions {
321
+ CustomElementRegistry customElementRegistry;
322
+ boolean selfOnly = false;
323
+ };
324
+
318
325
  [Exposed=Window]
319
326
  interface DOMImplementation {
320
327
  [NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
@@ -344,6 +351,7 @@ interface ShadowRoot : DocumentFragment {
344
351
  readonly attribute boolean clonable;
345
352
  readonly attribute boolean serializable;
346
353
  readonly attribute Element host;
354
+
347
355
  attribute EventHandler onslotchange;
348
356
  };
349
357
 
@@ -384,6 +392,8 @@ interface Element : Node {
384
392
  ShadowRoot attachShadow(ShadowRootInit init);
385
393
  readonly attribute ShadowRoot? shadowRoot;
386
394
 
395
+ readonly attribute CustomElementRegistry? customElementRegistry;
396
+
387
397
  Element? closest(DOMString selectors);
388
398
  boolean matches(DOMString selectors);
389
399
  boolean webkitMatchesSelector(DOMString selectors); // legacy alias of .matches
@@ -402,6 +412,7 @@ dictionary ShadowRootInit {
402
412
  SlotAssignmentMode slotAssignment = "named";
403
413
  boolean clonable = false;
404
414
  boolean serializable = false;
415
+ CustomElementRegistry customElementRegistry;
405
416
  };
406
417
 
407
418
  [Exposed=Window,
package/fedcm.idl CHANGED
@@ -74,7 +74,7 @@ dictionary IdentityProviderBranding {
74
74
 
75
75
  dictionary IdentityProviderAPIConfig {
76
76
  required USVString accounts_endpoint;
77
- required USVString client_metadata_endpoint;
77
+ USVString client_metadata_endpoint;
78
78
  required USVString id_assertion_endpoint;
79
79
  required USVString login_url;
80
80
  USVString disconnect_endpoint;
package/html.idl CHANGED
@@ -1261,6 +1261,7 @@ interface HTMLTemplateElement : HTMLElement {
1261
1261
  [CEReactions] attribute boolean shadowRootDelegatesFocus;
1262
1262
  [CEReactions] attribute boolean shadowRootClonable;
1263
1263
  [CEReactions] attribute boolean shadowRootSerializable;
1264
+ [CEReactions] attribute DOMString shadowRootCustomElementRegistry;
1264
1265
  };
1265
1266
 
1266
1267
  [Exposed=Window]
@@ -1541,19 +1542,25 @@ interface TextMetrics {
1541
1542
  readonly attribute double ideographicBaseline;
1542
1543
  };
1543
1544
 
1545
+ typedef (Uint8ClampedArray or Float16Array) ImageDataArray;
1546
+
1547
+ enum ImageDataPixelFormat { "rgba-unorm8", "rgba-float16" };
1548
+
1544
1549
  dictionary ImageDataSettings {
1545
1550
  PredefinedColorSpace colorSpace;
1551
+ ImageDataPixelFormat pixelFormat = "rgba-unorm8";
1546
1552
  };
1547
1553
 
1548
1554
  [Exposed=(Window,Worker),
1549
1555
  Serializable]
1550
1556
  interface ImageData {
1551
1557
  constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {});
1552
- constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
1558
+ constructor(ImageDataArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
1553
1559
 
1554
1560
  readonly attribute unsigned long width;
1555
1561
  readonly attribute unsigned long height;
1556
- readonly attribute Uint8ClampedArray data;
1562
+ readonly attribute ImageDataArray data;
1563
+ readonly attribute ImageDataPixelFormat pixelFormat;
1557
1564
  readonly attribute PredefinedColorSpace colorSpace;
1558
1565
  };
1559
1566
 
@@ -1623,11 +1630,14 @@ OffscreenCanvasRenderingContext2D includes CanvasPath;
1623
1630
 
1624
1631
  [Exposed=Window]
1625
1632
  interface CustomElementRegistry {
1633
+ constructor();
1634
+
1626
1635
  [CEReactions] undefined define(DOMString name, CustomElementConstructor constructor, optional ElementDefinitionOptions options = {});
1627
1636
  (CustomElementConstructor or undefined) get(DOMString name);
1628
1637
  DOMString? getName(CustomElementConstructor constructor);
1629
1638
  Promise<CustomElementConstructor> whenDefined(DOMString name);
1630
1639
  [CEReactions] undefined upgrade(Node root);
1640
+ undefined initialize(Node root);
1631
1641
  };
1632
1642
 
1633
1643
  callback CustomElementConstructor = HTMLElement ();
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.61.3",
4
+ "version": "3.61.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -16,8 +16,16 @@ dictionary SecurePaymentConfirmationRequest {
16
16
  boolean showOptOut;
17
17
  };
18
18
 
19
+ enum SecurePaymentConfirmationAvailability {
20
+ "available",
21
+ "unavailable-unknown-reason",
22
+ "unavailable-feature-not-enabled",
23
+ "unavailable-no-permission-policy",
24
+ "unavailable-no-user-verifying-platform-authenticator",
25
+ };
26
+
19
27
  partial interface PaymentRequest {
20
- static Promise<boolean> isSecurePaymentConfirmationAvailable();
28
+ static Promise<SecurePaymentConfirmationAvailability> securePaymentConfirmationAvailability();
21
29
  };
22
30
 
23
31
  partial dictionary AuthenticationExtensionsClientInputs {
package/speech-api.idl CHANGED
@@ -13,6 +13,7 @@ interface SpeechRecognition : EventTarget {
13
13
  attribute boolean interimResults;
14
14
  attribute unsigned long maxAlternatives;
15
15
  attribute SpeechRecognitionMode mode;
16
+ attribute SpeechRecognitionPhraseList phrases;
16
17
 
17
18
  // methods to drive the speech interaction
18
19
  undefined start();
@@ -43,7 +44,8 @@ enum SpeechRecognitionErrorCode {
43
44
  "network",
44
45
  "not-allowed",
45
46
  "service-not-allowed",
46
- "language-not-supported"
47
+ "language-not-supported",
48
+ "phrases-not-supported"
47
49
  };
48
50
 
49
51
  enum SpeechRecognitionMode {
@@ -106,6 +108,24 @@ dictionary SpeechRecognitionEventInit : EventInit {
106
108
  required SpeechRecognitionResultList results;
107
109
  };
108
110
 
111
+ // The object representing a phrase for contextual biasing.
112
+ [Exposed=Window]
113
+ interface SpeechRecognitionPhrase {
114
+ constructor(DOMString phrase, optional float boost = 1.0);
115
+ readonly attribute DOMString phrase;
116
+ readonly attribute float boost;
117
+ };
118
+
119
+ // The object representing a list of phrases for contextual biasing.
120
+ [Exposed=Window]
121
+ interface SpeechRecognitionPhraseList {
122
+ constructor(sequence<SpeechRecognitionPhrase> phrases);
123
+ readonly attribute unsigned long length;
124
+ SpeechRecognitionPhrase item(unsigned long index);
125
+ undefined addItem(SpeechRecognitionPhrase item);
126
+ undefined removeItem(unsigned long index);
127
+ };
128
+
109
129
  [Exposed=Window]
110
130
  interface SpeechSynthesis : EventTarget {
111
131
  readonly attribute boolean pending;
package/webnn.idl CHANGED
@@ -51,24 +51,37 @@ interface MLContext {
51
51
 
52
52
  dictionary MLOpSupportLimits {
53
53
  MLInputOperandLayout preferredInputLayout;
54
- MLSupportLimits input;
55
- MLSupportLimits constant;
56
- MLSupportLimits output;
54
+ [EnforceRange] unsigned long long maxTensorByteLength;
55
+ MLDataTypeLimits input;
56
+ MLDataTypeLimits constant;
57
+ MLDataTypeLimits output;
57
58
  };
58
59
 
59
- dictionary MLSupportLimits {
60
- sequence<MLOperandDataType> dataTypes;
60
+ typedef sequence<MLOperandDataType> MLDataTypeList;
61
+
62
+ dictionary MLDataTypeLimits {
63
+ MLDataTypeList dataTypes;
64
+ };
65
+
66
+ dictionary MLRankRange {
67
+ unsigned long min;
68
+ unsigned long max;
69
+ };
70
+
71
+ dictionary MLTensorLimits {
72
+ MLDataTypeList dataTypes;
73
+ MLRankRange rankRange;
61
74
  };
62
75
 
63
76
  dictionary MLBinarySupportLimits {
64
- MLSupportLimits a;
65
- MLSupportLimits b;
66
- MLSupportLimits output;
77
+ MLTensorLimits a;
78
+ MLTensorLimits b;
79
+ MLDataTypeLimits output;
67
80
  };
68
81
 
69
82
  dictionary MLSingleInputSupportLimits {
70
- MLSupportLimits input;
71
- MLSupportLimits output;
83
+ MLTensorLimits input;
84
+ MLDataTypeLimits output;
72
85
  };
73
86
 
74
87
  [SecureContext, Exposed=(Window, Worker)]
@@ -175,12 +188,12 @@ partial interface MLGraphBuilder {
175
188
  };
176
189
 
177
190
  dictionary MLBatchNormalizationSupportLimits {
178
- MLSupportLimits input;
179
- MLSupportLimits mean;
180
- MLSupportLimits variance;
181
- MLSupportLimits scale;
182
- MLSupportLimits bias;
183
- MLSupportLimits output;
191
+ MLTensorLimits input;
192
+ MLTensorLimits mean;
193
+ MLTensorLimits variance;
194
+ MLTensorLimits scale;
195
+ MLTensorLimits bias;
196
+ MLDataTypeLimits output;
184
197
  };
185
198
 
186
199
  partial dictionary MLOpSupportLimits {
@@ -217,8 +230,8 @@ partial interface MLGraphBuilder {
217
230
  };
218
231
 
219
232
  dictionary MLConcatSupportLimits {
220
- MLSupportLimits inputs;
221
- MLSupportLimits output;
233
+ MLTensorLimits inputs;
234
+ MLDataTypeLimits output;
222
235
  };
223
236
 
224
237
  partial dictionary MLOpSupportLimits {
@@ -249,10 +262,10 @@ partial interface MLGraphBuilder {
249
262
  };
250
263
 
251
264
  dictionary MLConv2dSupportLimits {
252
- MLSupportLimits input;
253
- MLSupportLimits filter;
254
- MLSupportLimits bias;
255
- MLSupportLimits output;
265
+ MLTensorLimits input;
266
+ MLTensorLimits filter;
267
+ MLTensorLimits bias;
268
+ MLDataTypeLimits output;
256
269
  };
257
270
 
258
271
  partial dictionary MLOpSupportLimits {
@@ -353,8 +366,8 @@ partial interface MLGraphBuilder {
353
366
  };
354
367
 
355
368
  dictionary MLLogicalNotSupportLimits {
356
- MLSupportLimits a;
357
- MLSupportLimits output;
369
+ MLTensorLimits a;
370
+ MLDataTypeLimits output;
358
371
  };
359
372
 
360
373
  partial dictionary MLOpSupportLimits {
@@ -411,15 +424,15 @@ partial interface MLGraphBuilder {
411
424
  optional MLOperatorOptions options = {});
412
425
  };
413
426
 
414
- dictionary MLQuantizationSupportLimits {
415
- MLSupportLimits input;
416
- MLSupportLimits scale;
417
- MLSupportLimits zeroPoint;
418
- MLSupportLimits output;
427
+ dictionary MLQuantizeDequantizeLinearSupportLimits {
428
+ MLTensorLimits input;
429
+ MLTensorLimits scale;
430
+ MLTensorLimits zeroPoint;
431
+ MLDataTypeLimits output;
419
432
  };
420
433
 
421
434
  partial dictionary MLOpSupportLimits {
422
- MLQuantizationSupportLimits dequantizeLinear;
435
+ MLQuantizeDequantizeLinearSupportLimits dequantizeLinear;
423
436
  };
424
437
 
425
438
  partial interface MLGraphBuilder {
@@ -430,7 +443,7 @@ partial interface MLGraphBuilder {
430
443
  };
431
444
 
432
445
  partial dictionary MLOpSupportLimits {
433
- MLQuantizationSupportLimits quantizeLinear;
446
+ MLQuantizeDequantizeLinearSupportLimits quantizeLinear;
434
447
  };
435
448
 
436
449
  dictionary MLEluOptions : MLOperatorOptions {
@@ -466,9 +479,9 @@ partial interface MLGraphBuilder {
466
479
  };
467
480
 
468
481
  dictionary MLGatherSupportLimits {
469
- MLSupportLimits input;
470
- MLSupportLimits indices;
471
- MLSupportLimits output;
482
+ MLTensorLimits input;
483
+ MLTensorLimits indices;
484
+ MLDataTypeLimits output;
472
485
  };
473
486
 
474
487
  partial dictionary MLOpSupportLimits {
@@ -516,10 +529,10 @@ partial interface MLGraphBuilder {
516
529
  };
517
530
 
518
531
  dictionary MLGemmSupportLimits {
519
- MLSupportLimits a;
520
- MLSupportLimits b;
521
- MLSupportLimits c;
522
- MLSupportLimits output;
532
+ MLTensorLimits a;
533
+ MLTensorLimits b;
534
+ MLTensorLimits c;
535
+ MLDataTypeLimits output;
523
536
  };
524
537
 
525
538
  partial dictionary MLOpSupportLimits {
@@ -564,13 +577,13 @@ partial interface MLGraphBuilder {
564
577
  };
565
578
 
566
579
  dictionary MLGruSupportLimits {
567
- MLSupportLimits input;
568
- MLSupportLimits weight;
569
- MLSupportLimits recurrentWeight;
570
- MLSupportLimits bias;
571
- MLSupportLimits recurrentBias;
572
- MLSupportLimits initialHiddenState;
573
- MLSupportLimits outputs;
580
+ MLTensorLimits input;
581
+ MLTensorLimits weight;
582
+ MLTensorLimits recurrentWeight;
583
+ MLTensorLimits bias;
584
+ MLTensorLimits recurrentBias;
585
+ MLTensorLimits initialHiddenState;
586
+ MLDataTypeLimits outputs;
574
587
  };
575
588
 
576
589
  partial dictionary MLOpSupportLimits {
@@ -595,13 +608,13 @@ partial interface MLGraphBuilder {
595
608
  };
596
609
 
597
610
  dictionary MLGruCellSupportLimits {
598
- MLSupportLimits input;
599
- MLSupportLimits weight;
600
- MLSupportLimits recurrentWeight;
601
- MLSupportLimits hiddenState;
602
- MLSupportLimits bias;
603
- MLSupportLimits recurrentBias;
604
- MLSupportLimits output;
611
+ MLTensorLimits input;
612
+ MLTensorLimits weight;
613
+ MLTensorLimits recurrentWeight;
614
+ MLTensorLimits hiddenState;
615
+ MLTensorLimits bias;
616
+ MLTensorLimits recurrentBias;
617
+ MLDataTypeLimits output;
605
618
  };
606
619
 
607
620
  partial dictionary MLOpSupportLimits {
@@ -642,10 +655,10 @@ partial interface MLGraphBuilder {
642
655
  };
643
656
 
644
657
  dictionary MLNormalizationSupportLimits {
645
- MLSupportLimits input;
646
- MLSupportLimits scale;
647
- MLSupportLimits bias;
648
- MLSupportLimits output;
658
+ MLTensorLimits input;
659
+ MLTensorLimits scale;
660
+ MLTensorLimits bias;
661
+ MLDataTypeLimits output;
649
662
  };
650
663
 
651
664
  partial dictionary MLOpSupportLimits {
@@ -720,15 +733,15 @@ partial interface MLGraphBuilder {
720
733
  };
721
734
 
722
735
  dictionary MLLstmSupportLimits {
723
- MLSupportLimits input;
724
- MLSupportLimits weight;
725
- MLSupportLimits recurrentWeight;
726
- MLSupportLimits bias;
727
- MLSupportLimits recurrentBias;
728
- MLSupportLimits peepholeWeight;
729
- MLSupportLimits initialHiddenState;
730
- MLSupportLimits initialCellState;
731
- MLSupportLimits outputs;
736
+ MLTensorLimits input;
737
+ MLTensorLimits weight;
738
+ MLTensorLimits recurrentWeight;
739
+ MLTensorLimits bias;
740
+ MLTensorLimits recurrentBias;
741
+ MLTensorLimits peepholeWeight;
742
+ MLTensorLimits initialHiddenState;
743
+ MLTensorLimits initialCellState;
744
+ MLDataTypeLimits outputs;
732
745
  };
733
746
 
734
747
  partial dictionary MLOpSupportLimits {
@@ -754,15 +767,15 @@ partial interface MLGraphBuilder {
754
767
  };
755
768
 
756
769
  dictionary MLLstmCellSupportLimits {
757
- MLSupportLimits input;
758
- MLSupportLimits weight;
759
- MLSupportLimits recurrentWeight;
760
- MLSupportLimits hiddenState;
761
- MLSupportLimits cellState;
762
- MLSupportLimits bias;
763
- MLSupportLimits recurrentBias;
764
- MLSupportLimits peepholeWeight;
765
- MLSupportLimits outputs;
770
+ MLTensorLimits input;
771
+ MLTensorLimits weight;
772
+ MLTensorLimits recurrentWeight;
773
+ MLTensorLimits hiddenState;
774
+ MLTensorLimits cellState;
775
+ MLTensorLimits bias;
776
+ MLTensorLimits recurrentBias;
777
+ MLTensorLimits peepholeWeight;
778
+ MLDataTypeLimits outputs;
766
779
  };
767
780
 
768
781
  partial dictionary MLOpSupportLimits {
@@ -834,9 +847,9 @@ partial interface MLGraphBuilder {
834
847
  };
835
848
 
836
849
  dictionary MLPreluSupportLimits {
837
- MLSupportLimits input;
838
- MLSupportLimits slope;
839
- MLSupportLimits output;
850
+ MLTensorLimits input;
851
+ MLTensorLimits slope;
852
+ MLDataTypeLimits output;
840
853
  };
841
854
 
842
855
  partial dictionary MLOpSupportLimits {
@@ -936,10 +949,10 @@ partial interface MLGraphBuilder {
936
949
  };
937
950
 
938
951
  dictionary MLScatterSupportLimits {
939
- MLSupportLimits input;
940
- MLSupportLimits indices;
941
- MLSupportLimits updates;
942
- MLSupportLimits output;
952
+ MLTensorLimits input;
953
+ MLTensorLimits indices;
954
+ MLTensorLimits updates;
955
+ MLDataTypeLimits output;
943
956
  };
944
957
 
945
958
  partial dictionary MLOpSupportLimits {
@@ -1018,8 +1031,8 @@ partial interface MLGraphBuilder {
1018
1031
  };
1019
1032
 
1020
1033
  dictionary MLSplitSupportLimits {
1021
- MLSupportLimits input;
1022
- MLSupportLimits outputs;
1034
+ MLTensorLimits input;
1035
+ MLDataTypeLimits outputs;
1023
1036
  };
1024
1037
 
1025
1038
  partial dictionary MLOpSupportLimits {
@@ -1077,10 +1090,10 @@ partial interface MLGraphBuilder {
1077
1090
  };
1078
1091
 
1079
1092
  dictionary MLWhereSupportLimits {
1080
- MLSupportLimits condition;
1081
- MLSupportLimits trueValue;
1082
- MLSupportLimits falseValue;
1083
- MLSupportLimits output;
1093
+ MLTensorLimits condition;
1094
+ MLTensorLimits trueValue;
1095
+ MLTensorLimits falseValue;
1096
+ MLDataTypeLimits output;
1084
1097
  };
1085
1098
 
1086
1099
  partial dictionary MLOpSupportLimits {
package/webrtc.idl CHANGED
@@ -13,7 +13,7 @@ dictionary RTCConfiguration {
13
13
  };
14
14
 
15
15
  dictionary RTCIceServer {
16
- required (DOMString or sequence<DOMString>) urls;
16
+ required (USVString or sequence<USVString>) urls;
17
17
  DOMString username;
18
18
  DOMString credential;
19
19
  };
@@ -228,7 +228,7 @@ interface RTCPeerConnectionIceEvent : Event {
228
228
 
229
229
  dictionary RTCPeerConnectionIceEventInit : EventInit {
230
230
  RTCIceCandidate? candidate;
231
- DOMString? url;
231
+ USVString? url;
232
232
  };
233
233
 
234
234
  [Exposed=Window]
@@ -236,7 +236,7 @@ interface RTCPeerConnectionIceErrorEvent : Event {
236
236
  constructor(DOMString type, RTCPeerConnectionIceErrorEventInit eventInitDict);
237
237
  readonly attribute DOMString? address;
238
238
  readonly attribute unsigned short? port;
239
- readonly attribute DOMString url;
239
+ readonly attribute USVString url;
240
240
  readonly attribute unsigned short errorCode;
241
241
  readonly attribute USVString errorText;
242
242
  };
@@ -244,7 +244,7 @@ interface RTCPeerConnectionIceErrorEvent : Event {
244
244
  dictionary RTCPeerConnectionIceErrorEventInit : EventInit {
245
245
  DOMString? address;
246
246
  unsigned short? port;
247
- DOMString url;
247
+ USVString url;
248
248
  required unsigned short errorCode;
249
249
  USVString errorText;
250
250
  };
package/webtransport.idl CHANGED
@@ -14,7 +14,6 @@ interface WebTransportDatagramDuplexStream {
14
14
  WebTransportDatagramsWritable createWritable(
15
15
  optional WebTransportSendOptions options = {});
16
16
  readonly attribute ReadableStream readable;
17
- readonly attribute WebTransportDatagramsWritable writable;
18
17
 
19
18
  readonly attribute unsigned long maxDatagramSize;
20
19
  attribute unrestricted double? incomingMaxAge;
@@ -3,6 +3,11 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: WebXR Depth Sensing Module (https://immersive-web.github.io/depth-sensing/)
5
5
 
6
+ enum XRDepthType {
7
+ "raw",
8
+ "smooth",
9
+ };
10
+
6
11
  enum XRDepthUsage {
7
12
  "cpu-optimized",
8
13
  "gpu-optimized",
@@ -17,6 +22,8 @@ enum XRDepthDataFormat {
17
22
  dictionary XRDepthStateInit {
18
23
  required sequence<XRDepthUsage> usagePreference;
19
24
  required sequence<XRDepthDataFormat> dataFormatPreference;
25
+ sequence<XRDepthType> depthTypeRequest;
26
+ boolean matchDepthView = true;
20
27
  };
21
28
 
22
29
  partial dictionary XRSessionInit {
@@ -26,6 +33,7 @@ partial dictionary XRSessionInit {
26
33
  partial interface XRSession {
27
34
  readonly attribute XRDepthUsage depthUsage;
28
35
  readonly attribute XRDepthDataFormat depthDataFormat;
36
+ readonly attribute XRDepthType? depthType;
29
37
  };
30
38
 
31
39
  [SecureContext, Exposed=Window]
@@ -35,6 +43,7 @@ interface XRDepthInformation {
35
43
 
36
44
  [SameObject] readonly attribute XRRigidTransform normDepthBufferFromNormView;
37
45
  readonly attribute float rawValueToMeters;
46
+ readonly attribute XRView? view;
38
47
  };
39
48
 
40
49
  [Exposed=Window]
package/webxrlayers.idl CHANGED
@@ -170,6 +170,8 @@ dictionary XRCubeLayerInit : XRLayerInit {
170
170
 
171
171
  XRWebGLSubImage getSubImage(XRCompositionLayer layer, XRFrame frame, optional XREye eye = "none");
172
172
  XRWebGLSubImage getViewSubImage(XRProjectionLayer layer, XRView view);
173
+
174
+ undefined foveateBoundTexture(GLenum target, float fixed_foveation);
173
175
  };
174
176
 
175
177
  dictionary XRMediaLayerInit {