@webref/idl 3.11.2 → 3.12.2

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/FedCM.idl CHANGED
@@ -4,37 +4,31 @@
4
4
  // Source: Federated Credential Management API (https://fedidcg.github.io/FedCM/)
5
5
 
6
6
  [Exposed=Window, SecureContext]
7
- dictionary FederatedAccountLoginRequest {
8
- AbortSignal signal;
9
- USVString nonce;
10
- };
11
-
12
- [Exposed=Window, SecureContext]
13
- partial interface FederatedCredential {
14
- Promise<FederatedTokens> login(optional FederatedAccountLoginRequest request = {});
7
+ interface IdentityCredential : Credential {
8
+ readonly attribute USVString? idToken;
15
9
  };
16
10
 
17
- [Exposed=Window, SecureContext]
18
- dictionary FederatedTokens {
19
- USVString idToken;
11
+ partial dictionary CredentialRequestOptions {
12
+ IdentityCredentialRequestOptions identity;
20
13
  };
21
14
 
22
- [Exposed=Window, SecureContext]
23
- partial interface FederatedCredential {
24
- Promise<undefined> revoke(USVString hint);
15
+ dictionary IdentityCredentialRequestOptions {
16
+ sequence<IdentityProvider> providers;
25
17
  };
26
18
 
27
- [Exposed=Window, SecureContext]
28
- partial interface FederatedCredential {
29
- Promise<undefined> logout();
19
+ dictionary IdentityProvider {
20
+ required USVString configURL;
21
+ required USVString clientId;
22
+ USVString nonce;
23
+ USVString hint;
30
24
  };
31
25
 
32
- dictionary FederatedCredentialLogoutRpsRequest {
26
+ dictionary IdentityCredentialLogoutRpsRequest {
33
27
  required USVString url;
34
28
  required USVString accountId;
35
29
  };
36
30
 
37
31
  [Exposed=Window, SecureContext]
38
- partial interface FederatedCredential {
39
- static Promise<undefined> logoutRPs(sequence<FederatedCredentialLogoutRpsRequest> logoutRequests);
32
+ partial interface IdentityCredential {
33
+ static Promise<undefined> logoutRPs(sequence<IdentityCredentialLogoutRpsRequest> logoutRequests);
40
34
  };
@@ -3,10 +3,10 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/)
5
5
 
6
- partial interface HTMLAnchorElement {
6
+ interface mixin HTMLAttributionSrcElementUtils {
7
7
  [CEReactions] attribute USVString attributionSrc;
8
8
  };
9
9
 
10
- partial interface HTMLImageElement {
11
- [CEReactions] attribute USVString attributionSrc;
12
- };
10
+ HTMLAnchorElement includes HTMLAttributionSrcElementUtils;
11
+ HTMLImageElement includes HTMLAttributionSrcElementUtils;
12
+ HTMLScriptElement includes HTMLAttributionSrcElementUtils;
@@ -36,5 +36,5 @@ dictionary PressureRecord {
36
36
  };
37
37
 
38
38
  dictionary PressureObserverOptions {
39
- double frequency;
39
+ double samplerate;
40
40
  };
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=(Window,Worker,Worklet)]
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/cssom-view.idl CHANGED
@@ -101,7 +101,6 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
101
101
  };
102
102
 
103
103
  dictionary IsVisibleOptions {
104
- boolean checkInert = false;
105
104
  boolean checkOpacity = false;
106
105
  boolean checkVisibilityCSS = false;
107
106
  };
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 = null;
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;
@@ -5,12 +5,7 @@
5
5
 
6
6
  [Exposed=(Window,Worker), Serializable]
7
7
  interface CropTarget {
8
- // Intentionally empty; just an opaque identifier.
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]
@@ -58,13 +58,3 @@ dictionary BlobEventInit {
58
58
  required Blob data;
59
59
  DOMHighResTimeStamp timecode;
60
60
  };
61
-
62
- dictionary MediaRecorderErrorEventInit : EventInit {
63
- required DOMException error;
64
- };
65
-
66
- [Exposed=Window]
67
- interface MediaRecorderErrorEvent : Event {
68
- constructor(DOMString type, MediaRecorderErrorEventInit eventInitDict);
69
- [SameObject] readonly attribute DOMException error;
70
- };
@@ -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 canTransition;
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 transitionWhile(Promise<undefined> newNavigationAction,
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 canTransition = false;
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 NavigationTransitionWhileOptions {
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.11.2",
4
+ "version": "3.12.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -17,11 +17,17 @@ enum SystemAudioPreferenceEnum {
17
17
  "exclude"
18
18
  };
19
19
 
20
+ enum SurfaceSwitchingPreferenceEnum {
21
+ "include",
22
+ "exclude"
23
+ };
24
+
20
25
  dictionary DisplayMediaStreamConstraints {
21
26
  (boolean or MediaTrackConstraints) video = true;
22
27
  (boolean or MediaTrackConstraints) audio = false;
23
28
  SelfCapturePreferenceEnum selfBrowserSurface;
24
29
  SystemAudioPreferenceEnum systemAudio;
30
+ SurfaceSwitchingPreferenceEnum surfaceSwitching;
25
31
  };
26
32
 
27
33
  partial dictionary MediaTrackSupportedConstraints {
package/web-share.idl CHANGED
@@ -5,7 +5,6 @@
5
5
 
6
6
  partial interface Navigator {
7
7
  [SecureContext] Promise<undefined> share(optional ShareData data = {});
8
-
9
8
  [SecureContext] boolean canShare(optional ShareData data = {});
10
9
  };
11
10
 
package/webgpu.idl CHANGED
@@ -34,6 +34,7 @@ interface GPUSupportedLimits {
34
34
  readonly attribute unsigned long maxVertexBufferArrayStride;
35
35
  readonly attribute unsigned long maxInterStageShaderComponents;
36
36
  readonly attribute unsigned long maxInterStageShaderVariables;
37
+ readonly attribute unsigned long maxColorAttachments;
37
38
  readonly attribute unsigned long maxComputeWorkgroupStorageSize;
38
39
  readonly attribute unsigned long maxComputeInvocationsPerWorkgroup;
39
40
  readonly attribute unsigned long maxComputeWorkgroupSizeX;
@@ -55,10 +56,6 @@ interface GPUAdapterInfo {
55
56
  readonly attribute DOMString description;
56
57
  };
57
58
 
58
- enum GPUPredefinedColorSpace {
59
- "srgb"
60
- };
61
-
62
59
  interface mixin NavigatorGPU {
63
60
  [SameObject, SecureContext] readonly attribute GPU gpu;
64
61
  };
@@ -99,7 +96,6 @@ dictionary GPUDeviceDescriptor : GPUObjectDescriptorBase {
99
96
 
100
97
  enum GPUFeatureName {
101
98
  "depth-clip-control",
102
- "depth24unorm-stencil8",
103
99
  "depth32float-stencil8",
104
100
  "texture-compression-bc",
105
101
  "texture-compression-etc2",
@@ -148,6 +144,9 @@ interface GPUBuffer {
148
144
  undefined unmap();
149
145
 
150
146
  undefined destroy();
147
+
148
+ readonly attribute GPUSize64 size;
149
+ readonly attribute GPUBufferUsageFlags usage;
151
150
  };
152
151
  GPUBuffer includes GPUObjectBase;
153
152
 
@@ -184,6 +183,15 @@ interface GPUTexture {
184
183
  GPUTextureView createView(optional GPUTextureViewDescriptor descriptor = {});
185
184
 
186
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;
187
195
  };
188
196
  GPUTexture includes GPUObjectBase;
189
197
 
@@ -298,9 +306,6 @@ enum GPUTextureFormat {
298
306
  "depth24plus-stencil8",
299
307
  "depth32float",
300
308
 
301
- // "depth24unorm-stencil8" feature
302
- "depth24unorm-stencil8",
303
-
304
309
  // "depth32float-stencil8" feature
305
310
  "depth32float-stencil8",
306
311
 
@@ -374,7 +379,7 @@ GPUExternalTexture includes GPUObjectBase;
374
379
 
375
380
  dictionary GPUExternalTextureDescriptor : GPUObjectDescriptorBase {
376
381
  required HTMLVideoElement source;
377
- GPUPredefinedColorSpace colorSpace = "srgb";
382
+ PredefinedColorSpace colorSpace = "srgb";
378
383
  };
379
384
 
380
385
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -877,7 +882,7 @@ dictionary GPUImageCopyTexture {
877
882
  };
878
883
 
879
884
  dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture {
880
- GPUPredefinedColorSpace colorSpace = "srgb";
885
+ PredefinedColorSpace colorSpace = "srgb";
881
886
  boolean premultipliedAlpha = false;
882
887
  };
883
888
 
@@ -975,6 +980,7 @@ dictionary GPURenderPassDescriptor : GPUObjectDescriptorBase {
975
980
  GPURenderPassDepthStencilAttachment depthStencilAttachment;
976
981
  GPUQuerySet occlusionQuerySet;
977
982
  GPURenderPassTimestampWrites timestampWrites = [];
983
+ GPUSize64 maxDrawCount = 50000000;
978
984
  };
979
985
 
980
986
  dictionary GPURenderPassColorAttachment {
@@ -1088,6 +1094,9 @@ GPUQueue includes GPUObjectBase;
1088
1094
  [Exposed=(Window, DedicatedWorker), SecureContext]
1089
1095
  interface GPUQuerySet {
1090
1096
  undefined destroy();
1097
+
1098
+ readonly attribute GPUQueryType type;
1099
+ readonly attribute GPUSize32 count;
1091
1100
  };
1092
1101
  GPUQuerySet includes GPUObjectBase;
1093
1102
 
@@ -1121,7 +1130,7 @@ dictionary GPUCanvasConfiguration {
1121
1130
  required GPUTextureFormat format;
1122
1131
  GPUTextureUsageFlags usage = 0x10; // GPUTextureUsage.RENDER_ATTACHMENT
1123
1132
  sequence<GPUTextureFormat> viewFormats = [];
1124
- GPUPredefinedColorSpace colorSpace = "srgb";
1133
+ PredefinedColorSpace colorSpace = "srgb";
1125
1134
  GPUCanvasAlphaMode alphaMode = "opaque";
1126
1135
  };
1127
1136
 
package/webhid.idl CHANGED
@@ -7,7 +7,12 @@
7
7
  [SameObject] readonly attribute HID hid;
8
8
  };
9
9
 
10
- [Exposed=Window, SecureContext]
10
+ [Exposed=ServiceWorker, SecureContext]
11
+ partial interface WorkerNavigator {
12
+ [SameObject] readonly attribute HID hid;
13
+ };
14
+
15
+ [Exposed=(Window,ServiceWorker), SecureContext]
11
16
  interface HID : EventTarget {
12
17
  attribute EventHandler onconnect;
13
18
  attribute EventHandler ondisconnect;
package/webnn.idl CHANGED
@@ -29,7 +29,6 @@ dictionary MLContextOptions {
29
29
  interface ML {
30
30
  MLContext createContext(optional MLContextOptions options = {});
31
31
  MLContext createContext(GPUDevice gpuDevice);
32
- MLContext createContext(WebGLRenderingContext glContext);
33
32
  };
34
33
 
35
34
  dictionary MLArrayInput {
@@ -90,7 +89,7 @@ interface MLOperator {};
90
89
  typedef record<DOMString, MLOperand> MLNamedOperands;
91
90
 
92
91
  dictionary MLBufferResourceView {
93
- required (WebGLBuffer or GPUBuffer) resource;
92
+ required GPUBuffer resource;
94
93
  unsigned long long offset = 0;
95
94
  unsigned long long size;
96
95
  };
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 receiverId;
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
- unsigned long rtxSsrc;
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
- "client",
294
- "server",
295
- "unknown",
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
- };