@webref/idl 3.11.1 → 3.12.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.
- package/attribution-reporting-api.idl +12 -0
- package/compute-pressure.idl +1 -1
- package/console.idl +1 -1
- package/event-timing.idl +1 -1
- package/html.idl +2 -1
- package/mediacapture-region.idl +1 -6
- package/navigation-api.idl +7 -5
- package/package.json +1 -1
- package/visual-viewport.idl +1 -1
- package/web-share.idl +0 -1
- package/webgpu.idl +55 -46
- package/webrtc-stats.idl +10 -129
- package/conversion-measurement-api.idl +0 -12
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/)
|
|
5
|
+
|
|
6
|
+
interface mixin HTMLAttributionSrcElementUtils {
|
|
7
|
+
[CEReactions] attribute USVString attributionSrc;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
HTMLAnchorElement includes HTMLAttributionSrcElementUtils;
|
|
11
|
+
HTMLImageElement includes HTMLAttributionSrcElementUtils;
|
|
12
|
+
HTMLScriptElement includes HTMLAttributionSrcElementUtils;
|
package/compute-pressure.idl
CHANGED
package/console.idl
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Console Standard (https://console.spec.whatwg.org/)
|
|
5
5
|
|
|
6
|
-
[Exposed
|
|
6
|
+
[Exposed=*]
|
|
7
7
|
namespace console { // but see namespace object requirements below
|
|
8
8
|
// Logging
|
|
9
9
|
undefined assert(optional boolean condition = false, any... data);
|
package/event-timing.idl
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// GENERATED CONTENT - DO NOT EDIT
|
|
2
2
|
// Content was automatically extracted by Reffy into webref
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
|
-
// Source: Event Timing API (https://w3c.github.io/event-timing
|
|
4
|
+
// Source: Event Timing API (https://w3c.github.io/event-timing)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface PerformanceEventTiming : PerformanceEntry {
|
package/html.idl
CHANGED
|
@@ -1858,7 +1858,7 @@ dictionary ErrorEventInit : EventInit {
|
|
|
1858
1858
|
USVString filename = "";
|
|
1859
1859
|
unsigned long lineno = 0;
|
|
1860
1860
|
unsigned long colno = 0;
|
|
1861
|
-
any error
|
|
1861
|
+
any error;
|
|
1862
1862
|
};
|
|
1863
1863
|
|
|
1864
1864
|
[Exposed=*]
|
|
@@ -1889,6 +1889,7 @@ typedef OnBeforeUnloadEventHandlerNonNull? OnBeforeUnloadEventHandler;
|
|
|
1889
1889
|
interface mixin GlobalEventHandlers {
|
|
1890
1890
|
attribute EventHandler onabort;
|
|
1891
1891
|
attribute EventHandler onauxclick;
|
|
1892
|
+
attribute EventHandler onbeforeinput;
|
|
1892
1893
|
attribute EventHandler onbeforematch;
|
|
1893
1894
|
attribute EventHandler onblur;
|
|
1894
1895
|
attribute EventHandler oncancel;
|
package/mediacapture-region.idl
CHANGED
|
@@ -5,12 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
[Exposed=(Window,Worker), Serializable]
|
|
7
7
|
interface CropTarget {
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
partial interface MediaDevices {
|
|
12
|
-
Promise<CropTarget>
|
|
13
|
-
produceCropTarget(Element element);
|
|
8
|
+
[SecureContext] static Promise<CropTarget> fromElement(Element element);
|
|
14
9
|
};
|
|
15
10
|
|
|
16
11
|
[Exposed = Window]
|
package/navigation-api.idl
CHANGED
|
@@ -84,7 +84,7 @@ interface NavigateEvent : Event {
|
|
|
84
84
|
|
|
85
85
|
readonly attribute NavigationType navigationType;
|
|
86
86
|
readonly attribute NavigationDestination destination;
|
|
87
|
-
readonly attribute boolean
|
|
87
|
+
readonly attribute boolean canIntercept;
|
|
88
88
|
readonly attribute boolean userInitiated;
|
|
89
89
|
readonly attribute boolean hashChange;
|
|
90
90
|
readonly attribute AbortSignal signal;
|
|
@@ -92,15 +92,14 @@ interface NavigateEvent : Event {
|
|
|
92
92
|
readonly attribute DOMString? downloadRequest;
|
|
93
93
|
readonly attribute any info;
|
|
94
94
|
|
|
95
|
-
undefined
|
|
96
|
-
optional NavigationTransitionWhileOptions options = {});
|
|
95
|
+
undefined intercept(optional NavigationInterceptOptions options = {});
|
|
97
96
|
undefined restoreScroll();
|
|
98
97
|
};
|
|
99
98
|
|
|
100
99
|
dictionary NavigateEventInit : EventInit {
|
|
101
100
|
NavigationType navigationType = "push";
|
|
102
101
|
required NavigationDestination destination;
|
|
103
|
-
boolean
|
|
102
|
+
boolean canIntercept = false;
|
|
104
103
|
boolean userInitiated = false;
|
|
105
104
|
boolean hashChange = false;
|
|
106
105
|
required AbortSignal signal;
|
|
@@ -109,7 +108,8 @@ dictionary NavigateEventInit : EventInit {
|
|
|
109
108
|
any info;
|
|
110
109
|
};
|
|
111
110
|
|
|
112
|
-
dictionary
|
|
111
|
+
dictionary NavigationInterceptOptions {
|
|
112
|
+
NavigationInterceptHandler handler;
|
|
113
113
|
NavigationFocusReset focusReset;
|
|
114
114
|
NavigationScrollRestoration scrollRestoration;
|
|
115
115
|
};
|
|
@@ -124,6 +124,8 @@ enum NavigationScrollRestoration {
|
|
|
124
124
|
"manual"
|
|
125
125
|
};
|
|
126
126
|
|
|
127
|
+
callback NavigationInterceptHandler = Promise<undefined> ();
|
|
128
|
+
|
|
127
129
|
enum NavigationType {
|
|
128
130
|
"reload",
|
|
129
131
|
"push",
|
package/package.json
CHANGED
package/visual-viewport.idl
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Source: Visual Viewport API (https://wicg.github.io/visual-viewport/)
|
|
5
5
|
|
|
6
6
|
partial interface Window {
|
|
7
|
-
[SameObject, Replaceable] readonly attribute VisualViewport visualViewport;
|
|
7
|
+
[SameObject, Replaceable] readonly attribute VisualViewport? visualViewport;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
[Exposed=Window]
|
package/web-share.idl
CHANGED
package/webgpu.idl
CHANGED
|
@@ -33,6 +33,8 @@ interface GPUSupportedLimits {
|
|
|
33
33
|
readonly attribute unsigned long maxVertexAttributes;
|
|
34
34
|
readonly attribute unsigned long maxVertexBufferArrayStride;
|
|
35
35
|
readonly attribute unsigned long maxInterStageShaderComponents;
|
|
36
|
+
readonly attribute unsigned long maxInterStageShaderVariables;
|
|
37
|
+
readonly attribute unsigned long maxColorAttachments;
|
|
36
38
|
readonly attribute unsigned long maxComputeWorkgroupStorageSize;
|
|
37
39
|
readonly attribute unsigned long maxComputeInvocationsPerWorkgroup;
|
|
38
40
|
readonly attribute unsigned long maxComputeWorkgroupSizeX;
|
|
@@ -54,10 +56,6 @@ interface GPUAdapterInfo {
|
|
|
54
56
|
readonly attribute DOMString description;
|
|
55
57
|
};
|
|
56
58
|
|
|
57
|
-
enum GPUPredefinedColorSpace {
|
|
58
|
-
"srgb",
|
|
59
|
-
};
|
|
60
|
-
|
|
61
59
|
interface mixin NavigatorGPU {
|
|
62
60
|
[SameObject, SecureContext] readonly attribute GPU gpu;
|
|
63
61
|
};
|
|
@@ -77,7 +75,7 @@ dictionary GPURequestAdapterOptions {
|
|
|
77
75
|
|
|
78
76
|
enum GPUPowerPreference {
|
|
79
77
|
"low-power",
|
|
80
|
-
"high-performance"
|
|
78
|
+
"high-performance"
|
|
81
79
|
};
|
|
82
80
|
|
|
83
81
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -98,7 +96,6 @@ dictionary GPUDeviceDescriptor : GPUObjectDescriptorBase {
|
|
|
98
96
|
|
|
99
97
|
enum GPUFeatureName {
|
|
100
98
|
"depth-clip-control",
|
|
101
|
-
"depth24unorm-stencil8",
|
|
102
99
|
"depth32float-stencil8",
|
|
103
100
|
"texture-compression-bc",
|
|
104
101
|
"texture-compression-etc2",
|
|
@@ -106,7 +103,7 @@ enum GPUFeatureName {
|
|
|
106
103
|
"timestamp-query",
|
|
107
104
|
"indirect-first-instance",
|
|
108
105
|
"shader-f16",
|
|
109
|
-
"bgra8unorm-storage"
|
|
106
|
+
"bgra8unorm-storage"
|
|
110
107
|
};
|
|
111
108
|
|
|
112
109
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -147,6 +144,9 @@ interface GPUBuffer {
|
|
|
147
144
|
undefined unmap();
|
|
148
145
|
|
|
149
146
|
undefined destroy();
|
|
147
|
+
|
|
148
|
+
readonly attribute GPUSize64 size;
|
|
149
|
+
readonly attribute GPUBufferUsageFlags usage;
|
|
150
150
|
};
|
|
151
151
|
GPUBuffer includes GPUObjectBase;
|
|
152
152
|
|
|
@@ -183,6 +183,15 @@ interface GPUTexture {
|
|
|
183
183
|
GPUTextureView createView(optional GPUTextureViewDescriptor descriptor = {});
|
|
184
184
|
|
|
185
185
|
undefined destroy();
|
|
186
|
+
|
|
187
|
+
readonly attribute GPUIntegerCoordinate width;
|
|
188
|
+
readonly attribute GPUIntegerCoordinate height;
|
|
189
|
+
readonly attribute GPUIntegerCoordinate depthOrArrayLayers;
|
|
190
|
+
readonly attribute GPUIntegerCoordinate mipLevelCount;
|
|
191
|
+
readonly attribute GPUSize32 sampleCount;
|
|
192
|
+
readonly attribute GPUTextureDimension dimension;
|
|
193
|
+
readonly attribute GPUTextureFormat format;
|
|
194
|
+
readonly attribute GPUTextureUsageFlags usage;
|
|
186
195
|
};
|
|
187
196
|
GPUTexture includes GPUObjectBase;
|
|
188
197
|
|
|
@@ -199,7 +208,7 @@ dictionary GPUTextureDescriptor : GPUObjectDescriptorBase {
|
|
|
199
208
|
enum GPUTextureDimension {
|
|
200
209
|
"1d",
|
|
201
210
|
"2d",
|
|
202
|
-
"3d"
|
|
211
|
+
"3d"
|
|
203
212
|
};
|
|
204
213
|
|
|
205
214
|
typedef [EnforceRange] unsigned long GPUTextureUsageFlags;
|
|
@@ -233,13 +242,13 @@ enum GPUTextureViewDimension {
|
|
|
233
242
|
"2d-array",
|
|
234
243
|
"cube",
|
|
235
244
|
"cube-array",
|
|
236
|
-
"3d"
|
|
245
|
+
"3d"
|
|
237
246
|
};
|
|
238
247
|
|
|
239
248
|
enum GPUTextureAspect {
|
|
240
249
|
"all",
|
|
241
250
|
"stencil-only",
|
|
242
|
-
"depth-only"
|
|
251
|
+
"depth-only"
|
|
243
252
|
};
|
|
244
253
|
|
|
245
254
|
enum GPUTextureFormat {
|
|
@@ -297,9 +306,6 @@ enum GPUTextureFormat {
|
|
|
297
306
|
"depth24plus-stencil8",
|
|
298
307
|
"depth32float",
|
|
299
308
|
|
|
300
|
-
// "depth24unorm-stencil8" feature
|
|
301
|
-
"depth24unorm-stencil8",
|
|
302
|
-
|
|
303
309
|
// "depth32float-stencil8" feature
|
|
304
310
|
"depth32float-stencil8",
|
|
305
311
|
|
|
@@ -362,7 +368,7 @@ enum GPUTextureFormat {
|
|
|
362
368
|
"astc-12x10-unorm",
|
|
363
369
|
"astc-12x10-unorm-srgb",
|
|
364
370
|
"astc-12x12-unorm",
|
|
365
|
-
"astc-12x12-unorm-srgb"
|
|
371
|
+
"astc-12x12-unorm-srgb"
|
|
366
372
|
};
|
|
367
373
|
|
|
368
374
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -373,7 +379,7 @@ GPUExternalTexture includes GPUObjectBase;
|
|
|
373
379
|
|
|
374
380
|
dictionary GPUExternalTextureDescriptor : GPUObjectDescriptorBase {
|
|
375
381
|
required HTMLVideoElement source;
|
|
376
|
-
|
|
382
|
+
PredefinedColorSpace colorSpace = "srgb";
|
|
377
383
|
};
|
|
378
384
|
|
|
379
385
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -397,17 +403,17 @@ dictionary GPUSamplerDescriptor : GPUObjectDescriptorBase {
|
|
|
397
403
|
enum GPUAddressMode {
|
|
398
404
|
"clamp-to-edge",
|
|
399
405
|
"repeat",
|
|
400
|
-
"mirror-repeat"
|
|
406
|
+
"mirror-repeat"
|
|
401
407
|
};
|
|
402
408
|
|
|
403
409
|
enum GPUFilterMode {
|
|
404
410
|
"nearest",
|
|
405
|
-
"linear"
|
|
411
|
+
"linear"
|
|
406
412
|
};
|
|
407
413
|
|
|
408
414
|
enum GPUMipmapFilterMode {
|
|
409
415
|
"nearest",
|
|
410
|
-
"linear"
|
|
416
|
+
"linear"
|
|
411
417
|
};
|
|
412
418
|
|
|
413
419
|
enum GPUCompareFunction {
|
|
@@ -418,7 +424,7 @@ enum GPUCompareFunction {
|
|
|
418
424
|
"greater",
|
|
419
425
|
"not-equal",
|
|
420
426
|
"greater-equal",
|
|
421
|
-
"always"
|
|
427
|
+
"always"
|
|
422
428
|
};
|
|
423
429
|
|
|
424
430
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -452,7 +458,7 @@ namespace GPUShaderStage {
|
|
|
452
458
|
enum GPUBufferBindingType {
|
|
453
459
|
"uniform",
|
|
454
460
|
"storage",
|
|
455
|
-
"read-only-storage"
|
|
461
|
+
"read-only-storage"
|
|
456
462
|
};
|
|
457
463
|
|
|
458
464
|
dictionary GPUBufferBindingLayout {
|
|
@@ -464,7 +470,7 @@ dictionary GPUBufferBindingLayout {
|
|
|
464
470
|
enum GPUSamplerBindingType {
|
|
465
471
|
"filtering",
|
|
466
472
|
"non-filtering",
|
|
467
|
-
"comparison"
|
|
473
|
+
"comparison"
|
|
468
474
|
};
|
|
469
475
|
|
|
470
476
|
dictionary GPUSamplerBindingLayout {
|
|
@@ -476,7 +482,7 @@ enum GPUTextureSampleType {
|
|
|
476
482
|
"unfilterable-float",
|
|
477
483
|
"depth",
|
|
478
484
|
"sint",
|
|
479
|
-
"uint"
|
|
485
|
+
"uint"
|
|
480
486
|
};
|
|
481
487
|
|
|
482
488
|
dictionary GPUTextureBindingLayout {
|
|
@@ -486,7 +492,7 @@ dictionary GPUTextureBindingLayout {
|
|
|
486
492
|
};
|
|
487
493
|
|
|
488
494
|
enum GPUStorageTextureAccess {
|
|
489
|
-
"write-only"
|
|
495
|
+
"write-only"
|
|
490
496
|
};
|
|
491
497
|
|
|
492
498
|
dictionary GPUStorageTextureBindingLayout {
|
|
@@ -549,7 +555,7 @@ dictionary GPUShaderModuleCompilationHint {
|
|
|
549
555
|
enum GPUCompilationMessageType {
|
|
550
556
|
"error",
|
|
551
557
|
"warning",
|
|
552
|
-
"info"
|
|
558
|
+
"info"
|
|
553
559
|
};
|
|
554
560
|
|
|
555
561
|
[Exposed=(Window, DedicatedWorker), Serializable, SecureContext]
|
|
@@ -568,7 +574,7 @@ interface GPUCompilationInfo {
|
|
|
568
574
|
};
|
|
569
575
|
|
|
570
576
|
enum GPUAutoLayoutMode {
|
|
571
|
-
"auto"
|
|
577
|
+
"auto"
|
|
572
578
|
};
|
|
573
579
|
|
|
574
580
|
dictionary GPUPipelineDescriptorBase : GPUObjectDescriptorBase {
|
|
@@ -626,18 +632,18 @@ enum GPUPrimitiveTopology {
|
|
|
626
632
|
"line-list",
|
|
627
633
|
"line-strip",
|
|
628
634
|
"triangle-list",
|
|
629
|
-
"triangle-strip"
|
|
635
|
+
"triangle-strip"
|
|
630
636
|
};
|
|
631
637
|
|
|
632
638
|
enum GPUFrontFace {
|
|
633
639
|
"ccw",
|
|
634
|
-
"cw"
|
|
640
|
+
"cw"
|
|
635
641
|
};
|
|
636
642
|
|
|
637
643
|
enum GPUCullMode {
|
|
638
644
|
"none",
|
|
639
645
|
"front",
|
|
640
|
-
"back"
|
|
646
|
+
"back"
|
|
641
647
|
};
|
|
642
648
|
|
|
643
649
|
dictionary GPUMultisampleState {
|
|
@@ -691,7 +697,7 @@ enum GPUBlendFactor {
|
|
|
691
697
|
"one-minus-dst-alpha",
|
|
692
698
|
"src-alpha-saturated",
|
|
693
699
|
"constant",
|
|
694
|
-
"one-minus-constant"
|
|
700
|
+
"one-minus-constant"
|
|
695
701
|
};
|
|
696
702
|
|
|
697
703
|
enum GPUBlendOperation {
|
|
@@ -699,7 +705,7 @@ enum GPUBlendOperation {
|
|
|
699
705
|
"subtract",
|
|
700
706
|
"reverse-subtract",
|
|
701
707
|
"min",
|
|
702
|
-
"max"
|
|
708
|
+
"max"
|
|
703
709
|
};
|
|
704
710
|
|
|
705
711
|
dictionary GPUDepthStencilState {
|
|
@@ -734,12 +740,12 @@ enum GPUStencilOperation {
|
|
|
734
740
|
"increment-clamp",
|
|
735
741
|
"decrement-clamp",
|
|
736
742
|
"increment-wrap",
|
|
737
|
-
"decrement-wrap"
|
|
743
|
+
"decrement-wrap"
|
|
738
744
|
};
|
|
739
745
|
|
|
740
746
|
enum GPUIndexFormat {
|
|
741
747
|
"uint16",
|
|
742
|
-
"uint32"
|
|
748
|
+
"uint32"
|
|
743
749
|
};
|
|
744
750
|
|
|
745
751
|
enum GPUVertexFormat {
|
|
@@ -772,12 +778,12 @@ enum GPUVertexFormat {
|
|
|
772
778
|
"sint32",
|
|
773
779
|
"sint32x2",
|
|
774
780
|
"sint32x3",
|
|
775
|
-
"sint32x4"
|
|
781
|
+
"sint32x4"
|
|
776
782
|
};
|
|
777
783
|
|
|
778
784
|
enum GPUVertexStepMode {
|
|
779
785
|
"vertex",
|
|
780
|
-
"instance"
|
|
786
|
+
"instance"
|
|
781
787
|
};
|
|
782
788
|
|
|
783
789
|
dictionary GPUVertexState : GPUProgrammableStage {
|
|
@@ -876,7 +882,7 @@ dictionary GPUImageCopyTexture {
|
|
|
876
882
|
};
|
|
877
883
|
|
|
878
884
|
dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture {
|
|
879
|
-
|
|
885
|
+
PredefinedColorSpace colorSpace = "srgb";
|
|
880
886
|
boolean premultipliedAlpha = false;
|
|
881
887
|
};
|
|
882
888
|
|
|
@@ -917,7 +923,7 @@ GPUComputePassEncoder includes GPUBindingCommandsMixin;
|
|
|
917
923
|
|
|
918
924
|
enum GPUComputePassTimestampLocation {
|
|
919
925
|
"beginning",
|
|
920
|
-
"end"
|
|
926
|
+
"end"
|
|
921
927
|
};
|
|
922
928
|
|
|
923
929
|
dictionary GPUComputePassTimestampWrite {
|
|
@@ -958,7 +964,7 @@ GPURenderPassEncoder includes GPURenderCommandsMixin;
|
|
|
958
964
|
|
|
959
965
|
enum GPURenderPassTimestampLocation {
|
|
960
966
|
"beginning",
|
|
961
|
-
"end"
|
|
967
|
+
"end"
|
|
962
968
|
};
|
|
963
969
|
|
|
964
970
|
dictionary GPURenderPassTimestampWrite {
|
|
@@ -1001,12 +1007,12 @@ dictionary GPURenderPassDepthStencilAttachment {
|
|
|
1001
1007
|
|
|
1002
1008
|
enum GPULoadOp {
|
|
1003
1009
|
"load",
|
|
1004
|
-
"clear"
|
|
1010
|
+
"clear"
|
|
1005
1011
|
};
|
|
1006
1012
|
|
|
1007
1013
|
enum GPUStoreOp {
|
|
1008
1014
|
"store",
|
|
1009
|
-
"discard"
|
|
1015
|
+
"discard"
|
|
1010
1016
|
};
|
|
1011
1017
|
|
|
1012
1018
|
dictionary GPURenderPassLayout: GPUObjectDescriptorBase {
|
|
@@ -1087,6 +1093,9 @@ GPUQueue includes GPUObjectBase;
|
|
|
1087
1093
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1088
1094
|
interface GPUQuerySet {
|
|
1089
1095
|
undefined destroy();
|
|
1096
|
+
|
|
1097
|
+
readonly attribute GPUQueryType type;
|
|
1098
|
+
readonly attribute GPUSize32 count;
|
|
1090
1099
|
};
|
|
1091
1100
|
GPUQuerySet includes GPUObjectBase;
|
|
1092
1101
|
|
|
@@ -1097,7 +1106,7 @@ dictionary GPUQuerySetDescriptor : GPUObjectDescriptorBase {
|
|
|
1097
1106
|
|
|
1098
1107
|
enum GPUQueryType {
|
|
1099
1108
|
"occlusion",
|
|
1100
|
-
"timestamp"
|
|
1109
|
+
"timestamp"
|
|
1101
1110
|
};
|
|
1102
1111
|
|
|
1103
1112
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -1110,9 +1119,9 @@ interface GPUCanvasContext {
|
|
|
1110
1119
|
GPUTexture getCurrentTexture();
|
|
1111
1120
|
};
|
|
1112
1121
|
|
|
1113
|
-
enum
|
|
1122
|
+
enum GPUCanvasAlphaMode {
|
|
1114
1123
|
"opaque",
|
|
1115
|
-
"premultiplied"
|
|
1124
|
+
"premultiplied"
|
|
1116
1125
|
};
|
|
1117
1126
|
|
|
1118
1127
|
dictionary GPUCanvasConfiguration {
|
|
@@ -1120,12 +1129,12 @@ dictionary GPUCanvasConfiguration {
|
|
|
1120
1129
|
required GPUTextureFormat format;
|
|
1121
1130
|
GPUTextureUsageFlags usage = 0x10; // GPUTextureUsage.RENDER_ATTACHMENT
|
|
1122
1131
|
sequence<GPUTextureFormat> viewFormats = [];
|
|
1123
|
-
|
|
1124
|
-
|
|
1132
|
+
PredefinedColorSpace colorSpace = "srgb";
|
|
1133
|
+
GPUCanvasAlphaMode alphaMode = "opaque";
|
|
1125
1134
|
};
|
|
1126
1135
|
|
|
1127
1136
|
enum GPUDeviceLostReason {
|
|
1128
|
-
"destroyed"
|
|
1137
|
+
"destroyed"
|
|
1129
1138
|
};
|
|
1130
1139
|
|
|
1131
1140
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -1140,7 +1149,7 @@ partial interface GPUDevice {
|
|
|
1140
1149
|
|
|
1141
1150
|
enum GPUErrorFilter {
|
|
1142
1151
|
"out-of-memory",
|
|
1143
|
-
"validation"
|
|
1152
|
+
"validation"
|
|
1144
1153
|
};
|
|
1145
1154
|
|
|
1146
1155
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
package/webrtc-stats.idl
CHANGED
|
@@ -10,21 +10,15 @@ enum RTCStatsType {
|
|
|
10
10
|
"remote-inbound-rtp",
|
|
11
11
|
"remote-outbound-rtp",
|
|
12
12
|
"media-source",
|
|
13
|
-
"csrc",
|
|
14
13
|
"peer-connection",
|
|
15
14
|
"data-channel",
|
|
16
15
|
"stream",
|
|
17
16
|
"track",
|
|
18
|
-
"transceiver",
|
|
19
|
-
"sender",
|
|
20
|
-
"receiver",
|
|
21
17
|
"transport",
|
|
22
|
-
"sctp-transport",
|
|
23
18
|
"candidate-pair",
|
|
24
19
|
"local-candidate",
|
|
25
20
|
"remote-candidate",
|
|
26
|
-
"certificate"
|
|
27
|
-
"ice-server"
|
|
21
|
+
"certificate"
|
|
28
22
|
};
|
|
29
23
|
|
|
30
24
|
dictionary RTCRtpStreamStats : RTCStats {
|
|
@@ -36,7 +30,6 @@ dictionary RTCRtpStreamStats : RTCStats {
|
|
|
36
30
|
|
|
37
31
|
dictionary RTCCodecStats : RTCStats {
|
|
38
32
|
required unsigned long payloadType;
|
|
39
|
-
RTCCodecType codecType;
|
|
40
33
|
required DOMString transportId;
|
|
41
34
|
required DOMString mimeType;
|
|
42
35
|
unsigned long clockRate;
|
|
@@ -44,66 +37,42 @@ dictionary RTCCodecStats : RTCStats {
|
|
|
44
37
|
DOMString sdpFmtpLine;
|
|
45
38
|
};
|
|
46
39
|
|
|
47
|
-
enum RTCCodecType {
|
|
48
|
-
"encode",
|
|
49
|
-
"decode",
|
|
50
|
-
};
|
|
51
|
-
|
|
52
40
|
dictionary RTCReceivedRtpStreamStats : RTCRtpStreamStats {
|
|
53
41
|
unsigned long long packetsReceived;
|
|
54
42
|
long long packetsLost;
|
|
55
43
|
double jitter;
|
|
56
|
-
unsigned long long packetsDiscarded;
|
|
57
|
-
unsigned long long packetsRepaired;
|
|
58
|
-
unsigned long long burstPacketsLost;
|
|
59
|
-
unsigned long long burstPacketsDiscarded;
|
|
60
|
-
unsigned long burstLossCount;
|
|
61
|
-
unsigned long burstDiscardCount;
|
|
62
|
-
double burstLossRate;
|
|
63
|
-
double burstDiscardRate;
|
|
64
|
-
double gapLossRate;
|
|
65
|
-
double gapDiscardRate;
|
|
66
44
|
unsigned long framesDropped;
|
|
67
|
-
unsigned long partialFramesLost;
|
|
68
|
-
unsigned long fullFramesLost;
|
|
69
|
-
|
|
70
45
|
};
|
|
71
46
|
|
|
72
47
|
dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
73
|
-
required DOMString
|
|
48
|
+
required DOMString trackIdentifier;
|
|
49
|
+
required DOMString kind;
|
|
50
|
+
DOMString mid;
|
|
74
51
|
DOMString remoteId;
|
|
75
52
|
unsigned long framesDecoded;
|
|
76
53
|
unsigned long keyFramesDecoded;
|
|
77
54
|
unsigned long frameWidth;
|
|
78
55
|
unsigned long frameHeight;
|
|
79
|
-
unsigned long frameBitDepth;
|
|
80
56
|
double framesPerSecond;
|
|
81
57
|
unsigned long long qpSum;
|
|
82
58
|
double totalDecodeTime;
|
|
83
59
|
double totalInterFrameDelay;
|
|
84
60
|
double totalSquaredInterFrameDelay;
|
|
85
|
-
boolean voiceActivityFlag;
|
|
86
61
|
DOMHighResTimeStamp lastPacketReceivedTimestamp;
|
|
87
|
-
double averageRtcpInterval;
|
|
88
62
|
unsigned long long headerBytesReceived;
|
|
63
|
+
unsigned long long packetsDiscarded;
|
|
89
64
|
unsigned long long fecPacketsReceived;
|
|
90
65
|
unsigned long long fecPacketsDiscarded;
|
|
91
66
|
unsigned long long bytesReceived;
|
|
92
|
-
unsigned long long packetsFailedDecryption;
|
|
93
|
-
unsigned long long packetsDuplicated;
|
|
94
|
-
record<USVString, unsigned long long> perDscpPacketsReceived;
|
|
95
67
|
unsigned long nackCount;
|
|
96
68
|
unsigned long firCount;
|
|
97
69
|
unsigned long pliCount;
|
|
98
|
-
unsigned long sliCount;
|
|
99
70
|
double totalProcessingDelay;
|
|
100
71
|
DOMHighResTimeStamp estimatedPlayoutTimestamp;
|
|
101
72
|
double jitterBufferDelay;
|
|
73
|
+
double jitterBufferTargetDelay;
|
|
102
74
|
unsigned long long jitterBufferEmittedCount;
|
|
103
75
|
unsigned long long totalSamplesReceived;
|
|
104
|
-
unsigned long long totalSamplesDecoded;
|
|
105
|
-
unsigned long long samplesDecodedWithSilk;
|
|
106
|
-
unsigned long long samplesDecodedWithCelt;
|
|
107
76
|
unsigned long long concealedSamples;
|
|
108
77
|
unsigned long long silentConcealedSamples;
|
|
109
78
|
unsigned long long concealmentEvents;
|
|
@@ -121,7 +90,6 @@ dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
|
121
90
|
double roundTripTime;
|
|
122
91
|
double totalRoundTripTime;
|
|
123
92
|
double fractionLost;
|
|
124
|
-
unsigned long long reportsReceived;
|
|
125
93
|
unsigned long long roundTripTimeMeasurements;
|
|
126
94
|
};
|
|
127
95
|
|
|
@@ -131,45 +99,31 @@ dictionary RTCSentRtpStreamStats : RTCRtpStreamStats {
|
|
|
131
99
|
};
|
|
132
100
|
|
|
133
101
|
dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
|
134
|
-
|
|
102
|
+
DOMString mid;
|
|
135
103
|
DOMString mediaSourceId;
|
|
136
|
-
DOMString senderId;
|
|
137
104
|
DOMString remoteId;
|
|
138
105
|
DOMString rid;
|
|
139
|
-
DOMHighResTimeStamp lastPacketSentTimestamp;
|
|
140
106
|
unsigned long long headerBytesSent;
|
|
141
|
-
unsigned long packetsDiscardedOnSend;
|
|
142
|
-
unsigned long long bytesDiscardedOnSend;
|
|
143
|
-
unsigned long fecPacketsSent;
|
|
144
107
|
unsigned long long retransmittedPacketsSent;
|
|
145
108
|
unsigned long long retransmittedBytesSent;
|
|
146
109
|
double targetBitrate;
|
|
147
110
|
unsigned long long totalEncodedBytesTarget;
|
|
148
111
|
unsigned long frameWidth;
|
|
149
112
|
unsigned long frameHeight;
|
|
150
|
-
unsigned long frameBitDepth;
|
|
151
113
|
double framesPerSecond;
|
|
152
114
|
unsigned long framesSent;
|
|
153
115
|
unsigned long hugeFramesSent;
|
|
154
116
|
unsigned long framesEncoded;
|
|
155
117
|
unsigned long keyFramesEncoded;
|
|
156
|
-
unsigned long framesDiscardedOnSend;
|
|
157
118
|
unsigned long long qpSum;
|
|
158
|
-
unsigned long long totalSamplesSent;
|
|
159
|
-
unsigned long long samplesEncodedWithSilk;
|
|
160
|
-
unsigned long long samplesEncodedWithCelt;
|
|
161
|
-
boolean voiceActivityFlag;
|
|
162
119
|
double totalEncodeTime;
|
|
163
120
|
double totalPacketSendDelay;
|
|
164
|
-
double averageRtcpInterval;
|
|
165
121
|
RTCQualityLimitationReason qualityLimitationReason;
|
|
166
122
|
record<DOMString, double> qualityLimitationDurations;
|
|
167
123
|
unsigned long qualityLimitationResolutionChanges;
|
|
168
|
-
record<USVString, unsigned long long> perDscpPacketsSent;
|
|
169
124
|
unsigned long nackCount;
|
|
170
125
|
unsigned long firCount;
|
|
171
126
|
unsigned long pliCount;
|
|
172
|
-
unsigned long sliCount;
|
|
173
127
|
DOMString encoderImplementation;
|
|
174
128
|
};
|
|
175
129
|
|
|
@@ -192,7 +146,6 @@ dictionary RTCRemoteOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
|
|
192
146
|
dictionary RTCMediaSourceStats : RTCStats {
|
|
193
147
|
required DOMString trackIdentifier;
|
|
194
148
|
required DOMString kind;
|
|
195
|
-
boolean relayedSource;
|
|
196
149
|
};
|
|
197
150
|
|
|
198
151
|
dictionary RTCAudioSourceStats : RTCMediaSourceStats {
|
|
@@ -206,55 +159,13 @@ dictionary RTCAudioSourceStats : RTCMediaSourceStats {
|
|
|
206
159
|
dictionary RTCVideoSourceStats : RTCMediaSourceStats {
|
|
207
160
|
unsigned long width;
|
|
208
161
|
unsigned long height;
|
|
209
|
-
unsigned long bitDepth;
|
|
210
162
|
unsigned long frames;
|
|
211
163
|
double framesPerSecond;
|
|
212
164
|
};
|
|
213
165
|
|
|
214
|
-
dictionary RTCRtpContributingSourceStats : RTCStats {
|
|
215
|
-
required unsigned long contributorSsrc;
|
|
216
|
-
required DOMString inboundRtpStreamId;
|
|
217
|
-
unsigned long packetsContributedTo;
|
|
218
|
-
double audioLevel;
|
|
219
|
-
};
|
|
220
|
-
|
|
221
166
|
dictionary RTCPeerConnectionStats : RTCStats {
|
|
222
167
|
unsigned long dataChannelsOpened;
|
|
223
168
|
unsigned long dataChannelsClosed;
|
|
224
|
-
unsigned long dataChannelsRequested;
|
|
225
|
-
unsigned long dataChannelsAccepted;
|
|
226
|
-
};
|
|
227
|
-
|
|
228
|
-
dictionary RTCRtpTransceiverStats : RTCStats {
|
|
229
|
-
required DOMString senderId;
|
|
230
|
-
required DOMString receiverId;
|
|
231
|
-
DOMString mid;
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
dictionary RTCMediaHandlerStats : RTCStats {
|
|
235
|
-
DOMString trackIdentifier;
|
|
236
|
-
boolean ended;
|
|
237
|
-
required DOMString kind;
|
|
238
|
-
};
|
|
239
|
-
|
|
240
|
-
dictionary RTCVideoHandlerStats : RTCMediaHandlerStats {
|
|
241
|
-
};
|
|
242
|
-
|
|
243
|
-
dictionary RTCVideoSenderStats : RTCVideoHandlerStats {
|
|
244
|
-
DOMString mediaSourceId;
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
dictionary RTCVideoReceiverStats : RTCVideoHandlerStats {
|
|
248
|
-
};
|
|
249
|
-
|
|
250
|
-
dictionary RTCAudioHandlerStats : RTCMediaHandlerStats {
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
dictionary RTCAudioSenderStats : RTCAudioHandlerStats {
|
|
254
|
-
DOMString mediaSourceId;
|
|
255
|
-
};
|
|
256
|
-
|
|
257
|
-
dictionary RTCAudioReceiverStats : RTCAudioHandlerStats {
|
|
258
169
|
};
|
|
259
170
|
|
|
260
171
|
dictionary RTCDataChannelStats : RTCStats {
|
|
@@ -273,7 +184,6 @@ dictionary RTCTransportStats : RTCStats {
|
|
|
273
184
|
unsigned long long packetsReceived;
|
|
274
185
|
unsigned long long bytesSent;
|
|
275
186
|
unsigned long long bytesReceived;
|
|
276
|
-
DOMString rtcpTransportStatsId;
|
|
277
187
|
RTCIceRole iceRole;
|
|
278
188
|
DOMString iceLocalUsernameFragment;
|
|
279
189
|
required RTCDtlsTransportState dtlsState;
|
|
@@ -285,23 +195,13 @@ dictionary RTCTransportStats : RTCStats {
|
|
|
285
195
|
DOMString dtlsCipher;
|
|
286
196
|
RTCDtlsRole dtlsRole;
|
|
287
197
|
DOMString srtpCipher;
|
|
288
|
-
DOMString tlsGroup;
|
|
289
198
|
unsigned long selectedCandidatePairChanges;
|
|
290
199
|
};
|
|
291
200
|
|
|
292
201
|
enum RTCDtlsRole {
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
};
|
|
297
|
-
|
|
298
|
-
dictionary RTCSctpTransportStats : RTCStats {
|
|
299
|
-
DOMString transportId;
|
|
300
|
-
double smoothedRoundTripTime;
|
|
301
|
-
unsigned long congestionWindow;
|
|
302
|
-
unsigned long receiverWindow;
|
|
303
|
-
unsigned long mtu;
|
|
304
|
-
unsigned long unackData;
|
|
202
|
+
"client",
|
|
203
|
+
"server",
|
|
204
|
+
"unknown",
|
|
305
205
|
};
|
|
306
206
|
|
|
307
207
|
dictionary RTCIceCandidateStats : RTCStats {
|
|
@@ -327,27 +227,17 @@ dictionary RTCIceCandidatePairStats : RTCStats {
|
|
|
327
227
|
unsigned long long bytesReceived;
|
|
328
228
|
DOMHighResTimeStamp lastPacketSentTimestamp;
|
|
329
229
|
DOMHighResTimeStamp lastPacketReceivedTimestamp;
|
|
330
|
-
DOMHighResTimeStamp firstRequestTimestamp;
|
|
331
|
-
DOMHighResTimeStamp lastRequestTimestamp;
|
|
332
|
-
DOMHighResTimeStamp lastResponseTimestamp;
|
|
333
230
|
double totalRoundTripTime;
|
|
334
231
|
double currentRoundTripTime;
|
|
335
232
|
double availableOutgoingBitrate;
|
|
336
233
|
double availableIncomingBitrate;
|
|
337
|
-
unsigned long circuitBreakerTriggerCount;
|
|
338
234
|
unsigned long long requestsReceived;
|
|
339
235
|
unsigned long long requestsSent;
|
|
340
236
|
unsigned long long responsesReceived;
|
|
341
237
|
unsigned long long responsesSent;
|
|
342
|
-
unsigned long long retransmissionsReceived;
|
|
343
|
-
unsigned long long retransmissionsSent;
|
|
344
238
|
unsigned long long consentRequestsSent;
|
|
345
|
-
DOMHighResTimeStamp consentExpiredTimestamp;
|
|
346
239
|
unsigned long packetsDiscardedOnSend;
|
|
347
240
|
unsigned long long bytesDiscardedOnSend;
|
|
348
|
-
unsigned long long requestBytesSent;
|
|
349
|
-
unsigned long long consentRequestBytesSent;
|
|
350
|
-
unsigned long long responseBytesSent;
|
|
351
241
|
};
|
|
352
242
|
|
|
353
243
|
enum RTCStatsIceCandidatePairState {
|
|
@@ -364,12 +254,3 @@ dictionary RTCCertificateStats : RTCStats {
|
|
|
364
254
|
required DOMString base64Certificate;
|
|
365
255
|
DOMString issuerCertificateId;
|
|
366
256
|
};
|
|
367
|
-
|
|
368
|
-
dictionary RTCIceServerStats : RTCStats {
|
|
369
|
-
required DOMString url;
|
|
370
|
-
long port;
|
|
371
|
-
DOMString relayProtocol;
|
|
372
|
-
unsigned long totalRequestsSent;
|
|
373
|
-
unsigned long totalResponsesReceived;
|
|
374
|
-
double totalRoundTripTime;
|
|
375
|
-
};
|
|
@@ -1,12 +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: Attribution Reporting (https://wicg.github.io/conversion-measurement-api/)
|
|
5
|
-
|
|
6
|
-
partial interface HTMLAnchorElement {
|
|
7
|
-
[CEReactions] attribute USVString attributionSrc;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
partial interface HTMLImageElement {
|
|
11
|
-
[CEReactions] attribute USVString attributionSrc;
|
|
12
|
-
};
|