@webref/idl 3.33.1 → 3.33.3

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/cssom.idl CHANGED
@@ -98,8 +98,9 @@ interface CSSStyleRule : CSSRule {
98
98
  interface CSSImportRule : CSSRule {
99
99
  readonly attribute USVString href;
100
100
  [SameObject, PutForwards=mediaText] readonly attribute MediaList media;
101
- [SameObject] readonly attribute CSSStyleSheet styleSheet;
101
+ [SameObject] readonly attribute CSSStyleSheet? styleSheet;
102
102
  readonly attribute CSSOMString? layerName;
103
+ readonly attribute CSSOMString? supportsText;
103
104
  };
104
105
 
105
106
  [Exposed=Window]
package/fs.idl CHANGED
@@ -15,6 +15,7 @@ interface FileSystemHandle {
15
15
 
16
16
  Promise<boolean> isSameEntry(FileSystemHandle other);
17
17
  };
18
+
18
19
  dictionary FileSystemCreateWritableOptions {
19
20
  boolean keepExistingData = false;
20
21
  };
@@ -26,6 +27,7 @@ interface FileSystemFileHandle : FileSystemHandle {
26
27
  [Exposed=DedicatedWorker]
27
28
  Promise<FileSystemSyncAccessHandle> createSyncAccessHandle();
28
29
  };
30
+
29
31
  dictionary FileSystemGetFileOptions {
30
32
  boolean create = false;
31
33
  };
@@ -49,6 +51,7 @@ interface FileSystemDirectoryHandle : FileSystemHandle {
49
51
 
50
52
  Promise<sequence<USVString>?> resolve(FileSystemHandle possibleDescendant);
51
53
  };
54
+
52
55
  enum WriteCommandType {
53
56
  "write",
54
57
  "seek",
@@ -70,6 +73,7 @@ interface FileSystemWritableFileStream : WritableStream {
70
73
  Promise<undefined> seek(unsigned long long position);
71
74
  Promise<undefined> truncate(unsigned long long size);
72
75
  };
76
+
73
77
  dictionary FileSystemReadWriteOptions {
74
78
  [EnforceRange] unsigned long long at;
75
79
  };
package/html.idl CHANGED
@@ -1643,6 +1643,14 @@ dictionary ValidityStateFlags {
1643
1643
  boolean customError = false;
1644
1644
  };
1645
1645
 
1646
+ [Exposed=(Window)]
1647
+ interface VisibilityStateEntry : PerformanceEntry {
1648
+ readonly attribute DOMString name; // shadows inherited name
1649
+ readonly attribute DOMString entryType; // shadows inherited entryType
1650
+ readonly attribute DOMHighResTimeStamp startTime; // shadows inherited startTime
1651
+ readonly attribute unsigned long duration; // shadows inherited duration
1652
+ };
1653
+
1646
1654
  [Exposed=Window]
1647
1655
  interface UserActivation {
1648
1656
  readonly attribute boolean hasBeenActive;
@@ -34,6 +34,8 @@ dictionary MediaRecorderOptions {
34
34
  unsigned long videoBitsPerSecond;
35
35
  unsigned long bitsPerSecond;
36
36
  BitrateMode audioBitrateMode = "variable";
37
+ DOMHighResTimeStamp videoKeyFrameIntervalDuration;
38
+ unsigned long videoKeyFrameIntervalCount;
37
39
  };
38
40
 
39
41
  enum BitrateMode {
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.33.1",
4
+ "version": "3.33.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -36,7 +36,11 @@ interface ViewTimeline : ScrollTimeline {
36
36
  readonly attribute CSSNumericValue endOffset;
37
37
  };
38
38
 
39
+ dictionary AnimationTimeOptions {
40
+ DOMString? range;
41
+ };
42
+
39
43
  [Exposed=Window]
40
44
  partial interface AnimationTimeline {
41
- CSSNumericValue? getCurrentTime(optional CSSOMString rangeName);
45
+ CSSNumericValue? getCurrentTime(optional AnimationTimeOptions options = {});
42
46
  };
package/turtledove.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: FLEDGE (https://wicg.github.io/turtledove/)
4
+ // Source: Protected Audience (formerly FLEDGE) (https://wicg.github.io/turtledove/)
5
5
 
6
6
  [SecureContext]
7
7
  partial interface Navigator {
@@ -67,9 +67,15 @@ dictionary AuctionAdConfig {
67
67
  AbortSignal? signal;
68
68
  };
69
69
 
70
+ [Exposed=InterestGroupScriptRunnerGlobalScope]
71
+ interface InterestGroupScriptRunnerGlobalScope {
72
+ };
73
+
70
74
  [Exposed=InterestGroupBiddingScriptRunnerGlobalScope,
71
- Global=InterestGroupBiddingScriptRunnerGlobalScope]
72
- interface InterestGroupBiddingScriptRunnerGlobalScope {
75
+ Global=(InterestGroupScriptRunnerGlobalScope,
76
+ InterestGroupBiddingScriptRunnerGlobalScope)]
77
+ interface InterestGroupBiddingScriptRunnerGlobalScope
78
+ : InterestGroupScriptRunnerGlobalScope {
73
79
  boolean setBid();
74
80
  boolean setBid(GenerateBidOutput generateBidOutput);
75
81
  undefined setPriority(double priority);
@@ -77,13 +83,17 @@ interface InterestGroupBiddingScriptRunnerGlobalScope {
77
83
  };
78
84
 
79
85
  [Exposed=InterestGroupScoringScriptRunnerGlobalScope,
80
- Global=InterestGroupScoringScriptRunnerGlobalScope]
81
- interface InterestGroupScoringScriptRunnerGlobalScope {
86
+ Global=(InterestGroupScriptRunnerGlobalScope,
87
+ InterestGroupScoringScriptRunnerGlobalScope)]
88
+ interface InterestGroupScoringScriptRunnerGlobalScope
89
+ : InterestGroupScriptRunnerGlobalScope {
82
90
  };
83
91
 
84
92
  [Exposed=InterestGroupReportingScriptRunnerGlobalScope,
85
- Global=InterestGroupReportingScriptRunnerGlobalScope]
86
- interface InterestGroupReportingScriptRunnerGlobalScope {
93
+ Global=(InterestGroupScriptRunnerGlobalScope,
94
+ InterestGroupReportingScriptRunnerGlobalScope)]
95
+ interface InterestGroupReportingScriptRunnerGlobalScope
96
+ : InterestGroupScriptRunnerGlobalScope {
87
97
  undefined sendReportTo(DOMString url);
88
98
  };
89
99
 
package/webauthn.idl CHANGED
@@ -12,6 +12,7 @@ interface PublicKeyCredential : Credential {
12
12
  static Promise<boolean> isConditionalMediationAvailable();
13
13
  PublicKeyCredentialJSON toJSON();
14
14
  };
15
+
15
16
  typedef DOMString Base64URLString;
16
17
  typedef (RegistrationResponseJSON or AuthenticationResponseJSON) PublicKeyCredentialJSON;
17
18
 
@@ -48,15 +49,19 @@ dictionary AuthenticatorAssertionResponseJSON {
48
49
 
49
50
  dictionary AuthenticationExtensionsClientOutputsJSON {
50
51
  };
52
+
51
53
  partial dictionary CredentialCreationOptions {
52
54
  PublicKeyCredentialCreationOptions publicKey;
53
55
  };
56
+
54
57
  partial dictionary CredentialRequestOptions {
55
58
  PublicKeyCredentialRequestOptions publicKey;
56
59
  };
60
+
57
61
  partial interface PublicKeyCredential {
58
62
  static Promise<boolean> isUserVerifyingPlatformAuthenticatorAvailable();
59
63
  };
64
+
60
65
  partial interface PublicKeyCredential {
61
66
  static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
62
67
  };
@@ -87,6 +92,7 @@ dictionary PublicKeyCredentialDescriptorJSON {
87
92
 
88
93
  dictionary AuthenticationExtensionsClientInputsJSON {
89
94
  };
95
+
90
96
  partial interface PublicKeyCredential {
91
97
  static PublicKeyCredentialRequestOptions parseRequestOptionsFromJSON(PublicKeyCredentialRequestOptionsJSON options);
92
98
  };
@@ -99,10 +105,12 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
99
105
  DOMString userVerification = "preferred";
100
106
  AuthenticationExtensionsClientInputsJSON extensions;
101
107
  };
108
+
102
109
  [SecureContext, Exposed=Window]
103
110
  interface AuthenticatorResponse {
104
111
  [SameObject] readonly attribute ArrayBuffer clientDataJSON;
105
112
  };
113
+
106
114
  [SecureContext, Exposed=Window]
107
115
  interface AuthenticatorAttestationResponse : AuthenticatorResponse {
108
116
  [SameObject] readonly attribute ArrayBuffer attestationObject;
@@ -111,6 +119,7 @@ interface AuthenticatorAttestationResponse : AuthenticatorResponse {
111
119
  ArrayBuffer? getPublicKey();
112
120
  COSEAlgorithmIdentifier getPublicKeyAlgorithm();
113
121
  };
122
+
114
123
  [SecureContext, Exposed=Window]
115
124
  interface AuthenticatorAssertionResponse : AuthenticatorResponse {
116
125
  [SameObject] readonly attribute ArrayBuffer authenticatorData;
@@ -118,10 +127,12 @@ interface AuthenticatorAssertionResponse : AuthenticatorResponse {
118
127
  [SameObject] readonly attribute ArrayBuffer? userHandle;
119
128
  [SameObject] readonly attribute ArrayBuffer? attestationObject;
120
129
  };
130
+
121
131
  dictionary PublicKeyCredentialParameters {
122
132
  required DOMString type;
123
133
  required COSEAlgorithmIdentifier alg;
124
134
  };
135
+
125
136
  dictionary PublicKeyCredentialCreationOptions {
126
137
  required PublicKeyCredentialRpEntity rp;
127
138
  required PublicKeyCredentialUserEntity user;
@@ -136,37 +147,45 @@ dictionary PublicKeyCredentialCreationOptions {
136
147
  sequence<DOMString> attestationFormats = [];
137
148
  AuthenticationExtensionsClientInputs extensions;
138
149
  };
150
+
139
151
  dictionary PublicKeyCredentialEntity {
140
152
  required DOMString name;
141
153
  };
154
+
142
155
  dictionary PublicKeyCredentialRpEntity : PublicKeyCredentialEntity {
143
156
  DOMString id;
144
157
  };
158
+
145
159
  dictionary PublicKeyCredentialUserEntity : PublicKeyCredentialEntity {
146
160
  required BufferSource id;
147
161
  required DOMString displayName;
148
162
  };
163
+
149
164
  dictionary AuthenticatorSelectionCriteria {
150
165
  DOMString authenticatorAttachment;
151
166
  DOMString residentKey;
152
167
  boolean requireResidentKey = false;
153
168
  DOMString userVerification = "preferred";
154
169
  };
170
+
155
171
  enum AuthenticatorAttachment {
156
172
  "platform",
157
173
  "cross-platform"
158
174
  };
175
+
159
176
  enum ResidentKeyRequirement {
160
177
  "discouraged",
161
178
  "preferred",
162
179
  "required"
163
180
  };
181
+
164
182
  enum AttestationConveyancePreference {
165
183
  "none",
166
184
  "indirect",
167
185
  "direct",
168
186
  "enterprise"
169
187
  };
188
+
170
189
  dictionary PublicKeyCredentialRequestOptions {
171
190
  required BufferSource challenge;
172
191
  unsigned long timeout;
@@ -177,10 +196,13 @@ dictionary PublicKeyCredentialRequestOptions {
177
196
  sequence<DOMString> attestationFormats = [];
178
197
  AuthenticationExtensionsClientInputs extensions;
179
198
  };
199
+
180
200
  dictionary AuthenticationExtensionsClientInputs {
181
201
  };
202
+
182
203
  dictionary AuthenticationExtensionsClientOutputs {
183
204
  };
205
+
184
206
  dictionary CollectedClientData {
185
207
  required DOMString type;
186
208
  required DOMString challenge;
@@ -195,42 +217,54 @@ dictionary TokenBinding {
195
217
  };
196
218
 
197
219
  enum TokenBindingStatus { "present", "supported" };
220
+
198
221
  enum PublicKeyCredentialType {
199
222
  "public-key"
200
223
  };
224
+
201
225
  dictionary PublicKeyCredentialDescriptor {
202
226
  required DOMString type;
203
227
  required BufferSource id;
204
228
  sequence<DOMString> transports;
205
229
  };
230
+
206
231
  enum AuthenticatorTransport {
207
232
  "usb",
208
233
  "nfc",
209
234
  "ble",
235
+ "smart-card",
210
236
  "hybrid",
211
237
  "internal"
212
238
  };
239
+
213
240
  typedef long COSEAlgorithmIdentifier;
241
+
214
242
  enum UserVerificationRequirement {
215
243
  "required",
216
244
  "preferred",
217
245
  "discouraged"
218
246
  };
247
+
219
248
  partial dictionary AuthenticationExtensionsClientInputs {
220
249
  USVString appid;
221
250
  };
251
+
222
252
  partial dictionary AuthenticationExtensionsClientOutputs {
223
253
  boolean appid;
224
254
  };
255
+
225
256
  partial dictionary AuthenticationExtensionsClientInputs {
226
257
  USVString appidExclude;
227
258
  };
259
+
228
260
  partial dictionary AuthenticationExtensionsClientOutputs {
229
261
  boolean appidExclude;
230
262
  };
263
+
231
264
  partial dictionary AuthenticationExtensionsClientInputs {
232
265
  boolean credProps;
233
266
  };
267
+
234
268
  dictionary CredentialPropertiesOutput {
235
269
  boolean rk;
236
270
  };
@@ -238,6 +272,7 @@ dictionary CredentialPropertiesOutput {
238
272
  partial dictionary AuthenticationExtensionsClientOutputs {
239
273
  CredentialPropertiesOutput credProps;
240
274
  };
275
+
241
276
  dictionary AuthenticationExtensionsPRFValues {
242
277
  required BufferSource first;
243
278
  BufferSource second;
@@ -289,12 +324,14 @@ dictionary AuthenticationExtensionsLargeBlobOutputs {
289
324
  partial dictionary AuthenticationExtensionsClientInputs {
290
325
  boolean uvm;
291
326
  };
327
+
292
328
  typedef sequence<unsigned long> UvmEntry;
293
329
  typedef sequence<UvmEntry> UvmEntries;
294
330
 
295
331
  partial dictionary AuthenticationExtensionsClientOutputs {
296
332
  UvmEntries uvm;
297
333
  };
334
+
298
335
  dictionary AuthenticationExtensionsDevicePublicKeyInputs {
299
336
  DOMString attestation = "none";
300
337
  sequence<DOMString> attestationFormats = [];
@@ -3,6 +3,14 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: AV1 WebCodecs Registration (https://w3c.github.io/webcodecs/av1_codec_registration.html)
5
5
 
6
+ partial dictionary VideoEncoderConfig {
7
+ AV1EncoderConfig av1;
8
+ };
9
+
10
+ dictionary AV1EncoderConfig {
11
+ boolean forceScreenContentTools = false;
12
+ };
13
+
6
14
  partial dictionary VideoEncoderEncodeOptions {
7
15
  VideoEncoderEncodeOptionsForAv1 av1;
8
16
  };
@@ -15,3 +15,11 @@ enum AvcBitstreamFormat {
15
15
  "annexb",
16
16
  "avc",
17
17
  };
18
+
19
+ partial dictionary VideoEncoderEncodeOptions {
20
+ VideoEncoderEncodeOptionsForAvc avc;
21
+ };
22
+
23
+ dictionary VideoEncoderEncodeOptionsForAvc {
24
+ unsigned short? quantizer;
25
+ };
package/webgpu.idl CHANGED
@@ -85,7 +85,7 @@ dictionary GPURequestAdapterOptions {
85
85
 
86
86
  enum GPUPowerPreference {
87
87
  "low-power",
88
- "high-performance"
88
+ "high-performance",
89
89
  };
90
90
 
91
91
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -116,7 +116,7 @@ enum GPUFeatureName {
116
116
  "shader-f16",
117
117
  "rg11b10ufloat-renderable",
118
118
  "bgra8unorm-storage",
119
- "float32-filterable"
119
+ "float32-filterable",
120
120
  };
121
121
 
122
122
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -168,7 +168,7 @@ GPUBuffer includes GPUObjectBase;
168
168
  enum GPUBufferMapState {
169
169
  "unmapped",
170
170
  "pending",
171
- "mapped"
171
+ "mapped",
172
172
  };
173
173
 
174
174
  dictionary GPUBufferDescriptor
@@ -231,7 +231,7 @@ dictionary GPUTextureDescriptor
231
231
  enum GPUTextureDimension {
232
232
  "1d",
233
233
  "2d",
234
- "3d"
234
+ "3d",
235
235
  };
236
236
 
237
237
  typedef [EnforceRange] unsigned long GPUTextureUsageFlags;
@@ -266,13 +266,13 @@ enum GPUTextureViewDimension {
266
266
  "2d-array",
267
267
  "cube",
268
268
  "cube-array",
269
- "3d"
269
+ "3d",
270
270
  };
271
271
 
272
272
  enum GPUTextureAspect {
273
273
  "all",
274
274
  "stencil-only",
275
- "depth-only"
275
+ "depth-only",
276
276
  };
277
277
 
278
278
  enum GPUTextureFormat {
@@ -392,7 +392,7 @@ enum GPUTextureFormat {
392
392
  "astc-12x10-unorm",
393
393
  "astc-12x10-unorm-srgb",
394
394
  "astc-12x12-unorm",
395
- "astc-12x12-unorm-srgb"
395
+ "astc-12x12-unorm-srgb",
396
396
  };
397
397
 
398
398
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -402,7 +402,7 @@ GPUExternalTexture includes GPUObjectBase;
402
402
 
403
403
  dictionary GPUExternalTextureDescriptor
404
404
  : GPUObjectDescriptorBase {
405
- required HTMLVideoElement source;
405
+ required (HTMLVideoElement or VideoFrame) source;
406
406
  PredefinedColorSpace colorSpace = "srgb";
407
407
  };
408
408
 
@@ -428,17 +428,17 @@ dictionary GPUSamplerDescriptor
428
428
  enum GPUAddressMode {
429
429
  "clamp-to-edge",
430
430
  "repeat",
431
- "mirror-repeat"
431
+ "mirror-repeat",
432
432
  };
433
433
 
434
434
  enum GPUFilterMode {
435
435
  "nearest",
436
- "linear"
436
+ "linear",
437
437
  };
438
438
 
439
439
  enum GPUMipmapFilterMode {
440
440
  "nearest",
441
- "linear"
441
+ "linear",
442
442
  };
443
443
 
444
444
  enum GPUCompareFunction {
@@ -449,7 +449,7 @@ enum GPUCompareFunction {
449
449
  "greater",
450
450
  "not-equal",
451
451
  "greater-equal",
452
- "always"
452
+ "always",
453
453
  };
454
454
 
455
455
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -484,7 +484,7 @@ namespace GPUShaderStage {
484
484
  enum GPUBufferBindingType {
485
485
  "uniform",
486
486
  "storage",
487
- "read-only-storage"
487
+ "read-only-storage",
488
488
  };
489
489
 
490
490
  dictionary GPUBufferBindingLayout {
@@ -496,7 +496,7 @@ dictionary GPUBufferBindingLayout {
496
496
  enum GPUSamplerBindingType {
497
497
  "filtering",
498
498
  "non-filtering",
499
- "comparison"
499
+ "comparison",
500
500
  };
501
501
 
502
502
  dictionary GPUSamplerBindingLayout {
@@ -508,7 +508,7 @@ enum GPUTextureSampleType {
508
508
  "unfilterable-float",
509
509
  "depth",
510
510
  "sint",
511
- "uint"
511
+ "uint",
512
512
  };
513
513
 
514
514
  dictionary GPUTextureBindingLayout {
@@ -518,7 +518,7 @@ dictionary GPUTextureBindingLayout {
518
518
  };
519
519
 
520
520
  enum GPUStorageTextureAccess {
521
- "write-only"
521
+ "write-only",
522
522
  };
523
523
 
524
524
  dictionary GPUStorageTextureBindingLayout {
@@ -584,7 +584,7 @@ dictionary GPUShaderModuleCompilationHint {
584
584
  enum GPUCompilationMessageType {
585
585
  "error",
586
586
  "warning",
587
- "info"
587
+ "info",
588
588
  };
589
589
 
590
590
  [Exposed=(Window, DedicatedWorker), Serializable, SecureContext]
@@ -614,11 +614,11 @@ dictionary GPUPipelineErrorInit {
614
614
 
615
615
  enum GPUPipelineErrorReason {
616
616
  "validation",
617
- "internal"
617
+ "internal",
618
618
  };
619
619
 
620
620
  enum GPUAutoLayoutMode {
621
- "auto"
621
+ "auto",
622
622
  };
623
623
 
624
624
  dictionary GPUPipelineDescriptorBase
@@ -679,18 +679,18 @@ enum GPUPrimitiveTopology {
679
679
  "line-list",
680
680
  "line-strip",
681
681
  "triangle-list",
682
- "triangle-strip"
682
+ "triangle-strip",
683
683
  };
684
684
 
685
685
  enum GPUFrontFace {
686
686
  "ccw",
687
- "cw"
687
+ "cw",
688
688
  };
689
689
 
690
690
  enum GPUCullMode {
691
691
  "none",
692
692
  "front",
693
- "back"
693
+ "back",
694
694
  };
695
695
 
696
696
  dictionary GPUMultisampleState {
@@ -745,7 +745,7 @@ enum GPUBlendFactor {
745
745
  "one-minus-dst-alpha",
746
746
  "src-alpha-saturated",
747
747
  "constant",
748
- "one-minus-constant"
748
+ "one-minus-constant",
749
749
  };
750
750
 
751
751
  enum GPUBlendOperation {
@@ -753,7 +753,7 @@ enum GPUBlendOperation {
753
753
  "subtract",
754
754
  "reverse-subtract",
755
755
  "min",
756
- "max"
756
+ "max",
757
757
  };
758
758
 
759
759
  dictionary GPUDepthStencilState {
@@ -788,12 +788,12 @@ enum GPUStencilOperation {
788
788
  "increment-clamp",
789
789
  "decrement-clamp",
790
790
  "increment-wrap",
791
- "decrement-wrap"
791
+ "decrement-wrap",
792
792
  };
793
793
 
794
794
  enum GPUIndexFormat {
795
795
  "uint16",
796
- "uint32"
796
+ "uint32",
797
797
  };
798
798
 
799
799
  enum GPUVertexFormat {
@@ -826,12 +826,12 @@ enum GPUVertexFormat {
826
826
  "sint32",
827
827
  "sint32x2",
828
828
  "sint32x3",
829
- "sint32x4"
829
+ "sint32x4",
830
830
  };
831
831
 
832
832
  enum GPUVertexStepMode {
833
833
  "vertex",
834
- "instance"
834
+ "instance",
835
835
  };
836
836
 
837
837
  dictionary GPUVertexState
@@ -976,7 +976,7 @@ GPUComputePassEncoder includes GPUBindingCommandsMixin;
976
976
 
977
977
  enum GPUComputePassTimestampLocation {
978
978
  "beginning",
979
- "end"
979
+ "end",
980
980
  };
981
981
 
982
982
  dictionary GPUComputePassTimestampWrite {
@@ -1018,7 +1018,7 @@ GPURenderPassEncoder includes GPURenderCommandsMixin;
1018
1018
 
1019
1019
  enum GPURenderPassTimestampLocation {
1020
1020
  "beginning",
1021
- "end"
1021
+ "end",
1022
1022
  };
1023
1023
 
1024
1024
  dictionary GPURenderPassTimestampWrite {
@@ -1063,12 +1063,12 @@ dictionary GPURenderPassDepthStencilAttachment {
1063
1063
 
1064
1064
  enum GPULoadOp {
1065
1065
  "load",
1066
- "clear"
1066
+ "clear",
1067
1067
  };
1068
1068
 
1069
1069
  enum GPUStoreOp {
1070
1070
  "store",
1071
- "discard"
1071
+ "discard",
1072
1072
  };
1073
1073
 
1074
1074
  dictionary GPURenderPassLayout
@@ -1167,7 +1167,7 @@ dictionary GPUQuerySetDescriptor
1167
1167
 
1168
1168
  enum GPUQueryType {
1169
1169
  "occlusion",
1170
- "timestamp"
1170
+ "timestamp",
1171
1171
  };
1172
1172
 
1173
1173
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -1182,7 +1182,7 @@ interface GPUCanvasContext {
1182
1182
 
1183
1183
  enum GPUCanvasAlphaMode {
1184
1184
  "opaque",
1185
- "premultiplied"
1185
+ "premultiplied",
1186
1186
  };
1187
1187
 
1188
1188
  dictionary GPUCanvasConfiguration {
@@ -1196,7 +1196,7 @@ dictionary GPUCanvasConfiguration {
1196
1196
 
1197
1197
  enum GPUDeviceLostReason {
1198
1198
  "unknown",
1199
- "destroyed"
1199
+ "destroyed",
1200
1200
  };
1201
1201
 
1202
1202
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -1235,7 +1235,7 @@ interface GPUInternalError
1235
1235
  enum GPUErrorFilter {
1236
1236
  "validation",
1237
1237
  "out-of-memory",
1238
- "internal"
1238
+ "internal",
1239
1239
  };
1240
1240
 
1241
1241
  partial interface GPUDevice {
@@ -72,7 +72,8 @@ dictionary RTCEncodedVideoFrameMetadata {
72
72
  unsigned long temporalIndex;
73
73
  unsigned long synchronizationSource;
74
74
  octet payloadType;
75
- sequence<unsigned long> contributingSources;
75
+ sequence<unsigned long> contributingSources;
76
+ long long timestamp; // microseconds
76
77
  };
77
78
 
78
79
  // New interfaces to define encoded video and audio frames. Will eventually
package/webrtc-stats.idl CHANGED
@@ -94,6 +94,8 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
94
94
  boolean powerEfficientDecoder;
95
95
  unsigned long framesAssembledFromMultiplePackets;
96
96
  double totalAssemblyTime;
97
+ unsigned long long retransmittedPacketsReceived;
98
+ unsigned long long retransmittedBytesReceived;
97
99
  };
98
100
 
99
101
  dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {