@webref/idl 3.61.2 → 3.61.4
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/html.idl +8 -2
- package/package.json +1 -1
- package/ppa.idl +4 -4
- package/screen-capture.idl +1 -0
- package/speech-api.idl +8 -1
- package/webnn.idl +100 -87
- package/webrtc-stats.idl +11 -2
- package/webrtc.idl +12 -7
- package/webtransport.idl +0 -1
- package/webxr-depth-sensing.idl +9 -0
- package/webxrlayers.idl +2 -0
package/html.idl
CHANGED
|
@@ -1541,19 +1541,25 @@ interface TextMetrics {
|
|
|
1541
1541
|
readonly attribute double ideographicBaseline;
|
|
1542
1542
|
};
|
|
1543
1543
|
|
|
1544
|
+
typedef (Uint8ClampedArray or Float16Array) ImageDataArray;
|
|
1545
|
+
|
|
1546
|
+
enum ImageDataPixelFormat { "rgba-unorm8", "rgba-float16" };
|
|
1547
|
+
|
|
1544
1548
|
dictionary ImageDataSettings {
|
|
1545
1549
|
PredefinedColorSpace colorSpace;
|
|
1550
|
+
ImageDataPixelFormat pixelFormat = "rgba-unorm8";
|
|
1546
1551
|
};
|
|
1547
1552
|
|
|
1548
1553
|
[Exposed=(Window,Worker),
|
|
1549
1554
|
Serializable]
|
|
1550
1555
|
interface ImageData {
|
|
1551
1556
|
constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {});
|
|
1552
|
-
constructor(
|
|
1557
|
+
constructor(ImageDataArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
|
|
1553
1558
|
|
|
1554
1559
|
readonly attribute unsigned long width;
|
|
1555
1560
|
readonly attribute unsigned long height;
|
|
1556
|
-
readonly attribute
|
|
1561
|
+
readonly attribute ImageDataArray data;
|
|
1562
|
+
readonly attribute ImageDataPixelFormat pixelFormat;
|
|
1557
1563
|
readonly attribute PredefinedColorSpace colorSpace;
|
|
1558
1564
|
};
|
|
1559
1565
|
|
package/package.json
CHANGED
package/ppa.idl
CHANGED
|
@@ -51,6 +51,10 @@ dictionary PrivateAttributionConversionOptions {
|
|
|
51
51
|
unsigned long maxValue = 1;
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
+
enum PrivateAttributionLogic {
|
|
55
|
+
"last-touch",
|
|
56
|
+
};
|
|
57
|
+
|
|
54
58
|
dictionary PrivateAttributionConversionResult {
|
|
55
59
|
required Uint8Array report;
|
|
56
60
|
};
|
|
@@ -59,7 +63,3 @@ dictionary PrivateAttributionConversionResult {
|
|
|
59
63
|
partial interface PrivateAttribution {
|
|
60
64
|
Promise<PrivateAttributionConversionResult> measureConversion(PrivateAttributionConversionOptions options);
|
|
61
65
|
};
|
|
62
|
-
|
|
63
|
-
enum PrivateAttributionLogic {
|
|
64
|
-
"last-touch",
|
|
65
|
-
};
|
package/screen-capture.idl
CHANGED
package/speech-api.idl
CHANGED
|
@@ -19,7 +19,7 @@ interface SpeechRecognition : EventTarget {
|
|
|
19
19
|
undefined start(MediaStreamTrack audioTrack);
|
|
20
20
|
undefined stop();
|
|
21
21
|
undefined abort();
|
|
22
|
-
static Promise<
|
|
22
|
+
static Promise<AvailabilityStatus> availableOnDevice(DOMString lang);
|
|
23
23
|
static Promise<boolean> installOnDevice(DOMString lang);
|
|
24
24
|
|
|
25
25
|
// event methods
|
|
@@ -52,6 +52,13 @@ enum SpeechRecognitionMode {
|
|
|
52
52
|
"cloud-only", // Cloud speech recognition only.
|
|
53
53
|
};
|
|
54
54
|
|
|
55
|
+
enum AvailabilityStatus {
|
|
56
|
+
"unavailable",
|
|
57
|
+
"downloadable",
|
|
58
|
+
"downloading",
|
|
59
|
+
"available"
|
|
60
|
+
};
|
|
61
|
+
|
|
55
62
|
[Exposed=Window]
|
|
56
63
|
interface SpeechRecognitionErrorEvent : Event {
|
|
57
64
|
constructor(DOMString type, SpeechRecognitionErrorEventInit eventInitDict);
|
package/webnn.idl
CHANGED
|
@@ -51,24 +51,37 @@ interface MLContext {
|
|
|
51
51
|
|
|
52
52
|
dictionary MLOpSupportLimits {
|
|
53
53
|
MLInputOperandLayout preferredInputLayout;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
[EnforceRange] unsigned long long maxTensorByteLength;
|
|
55
|
+
MLDataTypeLimits input;
|
|
56
|
+
MLDataTypeLimits constant;
|
|
57
|
+
MLDataTypeLimits output;
|
|
57
58
|
};
|
|
58
59
|
|
|
59
|
-
|
|
60
|
-
|
|
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
|
-
|
|
65
|
-
|
|
66
|
-
|
|
77
|
+
MLTensorLimits a;
|
|
78
|
+
MLTensorLimits b;
|
|
79
|
+
MLDataTypeLimits output;
|
|
67
80
|
};
|
|
68
81
|
|
|
69
82
|
dictionary MLSingleInputSupportLimits {
|
|
70
|
-
|
|
71
|
-
|
|
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
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
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
|
-
|
|
221
|
-
|
|
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
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
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
|
-
|
|
357
|
-
|
|
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
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
470
|
-
|
|
471
|
-
|
|
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
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
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
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
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
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
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
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
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
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
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
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
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
|
-
|
|
838
|
-
|
|
839
|
-
|
|
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
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
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
|
-
|
|
1022
|
-
|
|
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
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1093
|
+
MLTensorLimits condition;
|
|
1094
|
+
MLTensorLimits trueValue;
|
|
1095
|
+
MLTensorLimits falseValue;
|
|
1096
|
+
MLDataTypeLimits output;
|
|
1084
1097
|
};
|
|
1085
1098
|
|
|
1086
1099
|
partial dictionary MLOpSupportLimits {
|
package/webrtc-stats.idl
CHANGED
|
@@ -38,6 +38,10 @@ dictionary RTCCodecStats : RTCStats {
|
|
|
38
38
|
|
|
39
39
|
dictionary RTCReceivedRtpStreamStats : RTCRtpStreamStats {
|
|
40
40
|
unsigned long long packetsReceived;
|
|
41
|
+
unsigned long long packetsReceivedWithEct1;
|
|
42
|
+
unsigned long long packetsReceivedWithCe;
|
|
43
|
+
unsigned long long packetsReportedAsLost;
|
|
44
|
+
unsigned long long packetsReportedAsLostButRecovered;
|
|
41
45
|
long long packetsLost;
|
|
42
46
|
double jitter;
|
|
43
47
|
};
|
|
@@ -107,11 +111,13 @@ dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
|
107
111
|
double totalRoundTripTime;
|
|
108
112
|
double fractionLost;
|
|
109
113
|
unsigned long long roundTripTimeMeasurements;
|
|
114
|
+
unsigned long long packetsWithBleachedEct1Marking;
|
|
110
115
|
};
|
|
111
116
|
|
|
112
117
|
dictionary RTCSentRtpStreamStats : RTCRtpStreamStats {
|
|
113
|
-
|
|
114
|
-
|
|
118
|
+
unsigned long long packetsSent;
|
|
119
|
+
unsigned long long bytesSent;
|
|
120
|
+
unsigned long long packetsSentWithEct1;
|
|
115
121
|
};
|
|
116
122
|
|
|
117
123
|
dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
|
@@ -119,6 +125,7 @@ dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
|
|
119
125
|
DOMString mediaSourceId;
|
|
120
126
|
DOMString remoteId;
|
|
121
127
|
DOMString rid;
|
|
128
|
+
unsigned long encodingIndex;
|
|
122
129
|
unsigned long long headerBytesSent;
|
|
123
130
|
unsigned long long retransmittedPacketsSent;
|
|
124
131
|
unsigned long long retransmittedBytesSent;
|
|
@@ -225,6 +232,8 @@ dictionary RTCTransportStats : RTCStats {
|
|
|
225
232
|
RTCDtlsRole dtlsRole;
|
|
226
233
|
DOMString srtpCipher;
|
|
227
234
|
unsigned long selectedCandidatePairChanges;
|
|
235
|
+
unsigned long ccfbMessagesSent;
|
|
236
|
+
unsigned long ccfbMessagesReceived;
|
|
228
237
|
};
|
|
229
238
|
|
|
230
239
|
enum RTCDtlsRole {
|
package/webrtc.idl
CHANGED
|
@@ -13,7 +13,7 @@ dictionary RTCConfiguration {
|
|
|
13
13
|
};
|
|
14
14
|
|
|
15
15
|
dictionary RTCIceServer {
|
|
16
|
-
required (
|
|
16
|
+
required (USVString or sequence<USVString>) urls;
|
|
17
17
|
DOMString username;
|
|
18
18
|
DOMString credential;
|
|
19
19
|
};
|
|
@@ -163,7 +163,7 @@ dictionary RTCLocalSessionDescriptionInit {
|
|
|
163
163
|
|
|
164
164
|
[Exposed=Window]
|
|
165
165
|
interface RTCIceCandidate {
|
|
166
|
-
constructor(optional
|
|
166
|
+
constructor(optional RTCLocalIceCandidateInit candidateInitDict = {});
|
|
167
167
|
readonly attribute DOMString candidate;
|
|
168
168
|
readonly attribute DOMString? sdpMid;
|
|
169
169
|
readonly attribute unsigned short? sdpMLineIndex;
|
|
@@ -179,7 +179,7 @@ interface RTCIceCandidate {
|
|
|
179
179
|
readonly attribute unsigned short? relatedPort;
|
|
180
180
|
readonly attribute DOMString? usernameFragment;
|
|
181
181
|
readonly attribute RTCIceServerTransportProtocol? relayProtocol;
|
|
182
|
-
readonly attribute
|
|
182
|
+
readonly attribute USVString? url;
|
|
183
183
|
RTCIceCandidateInit toJSON();
|
|
184
184
|
};
|
|
185
185
|
|
|
@@ -190,6 +190,11 @@ dictionary RTCIceCandidateInit {
|
|
|
190
190
|
DOMString? usernameFragment = null;
|
|
191
191
|
};
|
|
192
192
|
|
|
193
|
+
dictionary RTCLocalIceCandidateInit : RTCIceCandidateInit {
|
|
194
|
+
RTCIceServerTransportProtocol? relayProtocol = null;
|
|
195
|
+
USVString? url = null;
|
|
196
|
+
};
|
|
197
|
+
|
|
193
198
|
enum RTCIceProtocol {
|
|
194
199
|
"udp",
|
|
195
200
|
"tcp"
|
|
@@ -218,12 +223,12 @@ enum RTCIceServerTransportProtocol {
|
|
|
218
223
|
interface RTCPeerConnectionIceEvent : Event {
|
|
219
224
|
constructor(DOMString type, optional RTCPeerConnectionIceEventInit eventInitDict = {});
|
|
220
225
|
readonly attribute RTCIceCandidate? candidate;
|
|
221
|
-
readonly attribute
|
|
226
|
+
readonly attribute USVString? url;
|
|
222
227
|
};
|
|
223
228
|
|
|
224
229
|
dictionary RTCPeerConnectionIceEventInit : EventInit {
|
|
225
230
|
RTCIceCandidate? candidate;
|
|
226
|
-
|
|
231
|
+
USVString? url;
|
|
227
232
|
};
|
|
228
233
|
|
|
229
234
|
[Exposed=Window]
|
|
@@ -231,7 +236,7 @@ interface RTCPeerConnectionIceErrorEvent : Event {
|
|
|
231
236
|
constructor(DOMString type, RTCPeerConnectionIceErrorEventInit eventInitDict);
|
|
232
237
|
readonly attribute DOMString? address;
|
|
233
238
|
readonly attribute unsigned short? port;
|
|
234
|
-
readonly attribute
|
|
239
|
+
readonly attribute USVString url;
|
|
235
240
|
readonly attribute unsigned short errorCode;
|
|
236
241
|
readonly attribute USVString errorText;
|
|
237
242
|
};
|
|
@@ -239,7 +244,7 @@ interface RTCPeerConnectionIceErrorEvent : Event {
|
|
|
239
244
|
dictionary RTCPeerConnectionIceErrorEventInit : EventInit {
|
|
240
245
|
DOMString? address;
|
|
241
246
|
unsigned short? port;
|
|
242
|
-
|
|
247
|
+
USVString url;
|
|
243
248
|
required unsigned short errorCode;
|
|
244
249
|
USVString errorText;
|
|
245
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;
|
package/webxr-depth-sensing.idl
CHANGED
|
@@ -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 {
|