@webref/idl 3.12.0 → 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/console.idl +1 -1
- package/html.idl +1 -0
- package/navigation-api.idl +7 -5
- package/package.json +1 -1
- package/webrtc-stats.idl +10 -129
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/html.idl
CHANGED
|
@@ -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/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/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
|
-
};
|