@webref/idl 3.43.2 → 3.44.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/CSP.idl +12 -12
- package/digital-identities.idl +27 -0
- package/gamepad.idl +3 -3
- package/html.idl +17 -0
- package/longtasks.idl +3 -1
- package/mediasession.idl +13 -3
- package/package.json +1 -1
- package/service-workers.idl +35 -1
- package/trusted-types.idl +0 -3
- package/turtledove.idl +2 -0
- package/uievents.idl +10 -0
- package/wai-aria.idl +0 -1
- package/webgl1.idl +3 -0
- package/webnn.idl +35 -74
- package/webtransport.idl +5 -0
package/CSP.idl
CHANGED
|
@@ -41,16 +41,16 @@ interface SecurityPolicyViolationEvent : Event {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
dictionary SecurityPolicyViolationEventInit : EventInit {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
44
|
+
USVString documentURI = "";
|
|
45
|
+
USVString referrer = "";
|
|
46
|
+
USVString blockedURI = "";
|
|
47
|
+
DOMString violatedDirective = "";
|
|
48
|
+
DOMString effectiveDirective = "";
|
|
49
|
+
DOMString originalPolicy = "";
|
|
50
|
+
USVString sourceFile = "";
|
|
51
|
+
DOMString sample = "";
|
|
52
|
+
SecurityPolicyViolationEventDisposition disposition = "enforce";
|
|
53
|
+
unsigned short statusCode = 0;
|
|
54
|
+
unsigned long lineNumber = 0;
|
|
55
|
+
unsigned long columnNumber = 0;
|
|
56
56
|
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Digital Credentials (https://wicg.github.io/digital-identities/)
|
|
5
|
+
|
|
6
|
+
partial interface Navigator {
|
|
7
|
+
[SecureContext, SameObject] readonly attribute CredentialsContainer identity;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
partial dictionary CredentialRequestOptions {
|
|
11
|
+
DigitalCredentialRequestOptions digital;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
dictionary DigitalCredentialRequestOptions {
|
|
15
|
+
sequence<IdentityRequestProvider> providers;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
dictionary IdentityRequestProvider {
|
|
19
|
+
required DOMString protocol;
|
|
20
|
+
required DOMString request;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
[Exposed=Window, SecureContext]
|
|
24
|
+
interface DigitalCredential : Credential {
|
|
25
|
+
readonly attribute DOMString protocol;
|
|
26
|
+
readonly attribute DOMString data;
|
|
27
|
+
};
|
package/gamepad.idl
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Gamepad (https://w3c.github.io/gamepad/)
|
|
5
5
|
|
|
6
|
-
[Exposed=Window
|
|
6
|
+
[Exposed=Window]
|
|
7
7
|
interface Gamepad {
|
|
8
8
|
readonly attribute DOMString id;
|
|
9
9
|
readonly attribute long index;
|
|
@@ -15,7 +15,7 @@ interface Gamepad {
|
|
|
15
15
|
[SameObject] readonly attribute GamepadHapticActuator vibrationActuator;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
[Exposed=Window
|
|
18
|
+
[Exposed=Window]
|
|
19
19
|
interface GamepadButton {
|
|
20
20
|
readonly attribute boolean pressed;
|
|
21
21
|
readonly attribute boolean touched;
|
|
@@ -59,7 +59,7 @@ partial interface Navigator {
|
|
|
59
59
|
sequence<Gamepad?> getGamepads();
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
[Exposed=Window
|
|
62
|
+
[Exposed=Window]
|
|
63
63
|
|
|
64
64
|
interface GamepadEvent: Event {
|
|
65
65
|
constructor(DOMString type, GamepadEventInit eventInitDict);
|
package/html.idl
CHANGED
|
@@ -2087,6 +2087,23 @@ interface BeforeUnloadEvent : Event {
|
|
|
2087
2087
|
attribute DOMString returnValue;
|
|
2088
2088
|
};
|
|
2089
2089
|
|
|
2090
|
+
[Exposed=Window]
|
|
2091
|
+
interface NotRestoredReasonDetails {
|
|
2092
|
+
readonly attribute DOMString reason;
|
|
2093
|
+
[Default] object toJSON();
|
|
2094
|
+
};
|
|
2095
|
+
|
|
2096
|
+
[Exposed=Window]
|
|
2097
|
+
interface NotRestoredReasons {
|
|
2098
|
+
readonly attribute DOMString? src;
|
|
2099
|
+
readonly attribute DOMString? id;
|
|
2100
|
+
readonly attribute DOMString? name;
|
|
2101
|
+
readonly attribute DOMString? url;
|
|
2102
|
+
readonly attribute FrozenArray<NotRestoredReasonDetails>? reasons;
|
|
2103
|
+
readonly attribute FrozenArray<NotRestoredReasons>? children;
|
|
2104
|
+
[Default] object toJSON();
|
|
2105
|
+
};
|
|
2106
|
+
|
|
2090
2107
|
[Exposed=*]
|
|
2091
2108
|
interface ErrorEvent : Event {
|
|
2092
2109
|
constructor(DOMString type, optional ErrorEventInit eventInitDict = {});
|
package/longtasks.idl
CHANGED
|
@@ -70,7 +70,9 @@ interface PerformanceScriptTiming : PerformanceEntry {
|
|
|
70
70
|
readonly attribute ScriptInvokerType invokerType;
|
|
71
71
|
readonly attribute DOMString invoker;
|
|
72
72
|
readonly attribute DOMHighResTimeStamp executionStart;
|
|
73
|
-
readonly attribute DOMString
|
|
73
|
+
readonly attribute DOMString sourceURL;
|
|
74
|
+
readonly attribute DOMString sourceFunctionName;
|
|
75
|
+
readonly attribute long long sourceCharPosition;
|
|
74
76
|
readonly attribute DOMHighResTimeStamp pauseDuration;
|
|
75
77
|
readonly attribute DOMHighResTimeStamp forcedStyleAndLayoutDuration;
|
|
76
78
|
readonly attribute Window? window;
|
package/mediasession.idl
CHANGED
|
@@ -44,9 +44,9 @@ interface MediaSession {
|
|
|
44
44
|
|
|
45
45
|
undefined setPositionState(optional MediaPositionState state = {});
|
|
46
46
|
|
|
47
|
-
undefined setMicrophoneActive(boolean active);
|
|
47
|
+
Promise<undefined> setMicrophoneActive(boolean active);
|
|
48
48
|
|
|
49
|
-
undefined setCameraActive(boolean active);
|
|
49
|
+
Promise<undefined> setCameraActive(boolean active);
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
[Exposed=Window]
|
|
@@ -79,7 +79,17 @@ dictionary MediaPositionState {
|
|
|
79
79
|
|
|
80
80
|
dictionary MediaSessionActionDetails {
|
|
81
81
|
required MediaSessionAction action;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
dictionary MediaSessionSeekActionDetails : MediaSessionActionDetails {
|
|
82
85
|
double seekOffset;
|
|
83
|
-
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
dictionary MediaSessionSeekToActionDetails : MediaSessionActionDetails {
|
|
89
|
+
required double seekTime;
|
|
84
90
|
boolean fastSeek;
|
|
85
91
|
};
|
|
92
|
+
|
|
93
|
+
dictionary MediaSessionCaptureActionDetails : MediaSessionActionDetails {
|
|
94
|
+
boolean isActivating;
|
|
95
|
+
};
|
package/package.json
CHANGED
package/service-workers.idl
CHANGED
|
@@ -92,7 +92,7 @@ dictionary NavigationPreloadState {
|
|
|
92
92
|
ByteString headerValue;
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
[Global=(Worker,ServiceWorker), Exposed=ServiceWorker]
|
|
95
|
+
[Global=(Worker,ServiceWorker), Exposed=ServiceWorker, SecureContext]
|
|
96
96
|
interface ServiceWorkerGlobalScope : WorkerGlobalScope {
|
|
97
97
|
[SameObject] readonly attribute Clients clients;
|
|
98
98
|
[SameObject] readonly attribute ServiceWorkerRegistration registration;
|
|
@@ -165,6 +165,40 @@ dictionary ExtendableEventInit : EventInit {
|
|
|
165
165
|
// Defined for the forward compatibility across the derived events
|
|
166
166
|
};
|
|
167
167
|
|
|
168
|
+
[Exposed=ServiceWorker]
|
|
169
|
+
interface InstallEvent : ExtendableEvent {
|
|
170
|
+
Promise<undefined> addRoutes((RouterRule or sequence<RouterRule>) rules);
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
dictionary RouterRule {
|
|
174
|
+
required RouterCondition condition;
|
|
175
|
+
required RouterSource source;
|
|
176
|
+
};
|
|
177
|
+
|
|
178
|
+
dictionary RouterCondition {
|
|
179
|
+
URLPatternCompatible urlPattern;
|
|
180
|
+
ByteString requestMethod;
|
|
181
|
+
RequestMode requestMode;
|
|
182
|
+
RequestDestination requestDestination;
|
|
183
|
+
RunningStatus runningStatus;
|
|
184
|
+
|
|
185
|
+
sequence<RouterCondition> _or;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
typedef (RouterSourceDict or RouterSourceEnum) RouterSource;
|
|
189
|
+
|
|
190
|
+
dictionary RouterSourceDict {
|
|
191
|
+
DOMString cacheName;
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
enum RunningStatus { "running", "not-running" };
|
|
195
|
+
enum RouterSourceEnum {
|
|
196
|
+
"cache",
|
|
197
|
+
"fetch-event",
|
|
198
|
+
"network",
|
|
199
|
+
"race-network-and-fetch-handler"
|
|
200
|
+
};
|
|
201
|
+
|
|
168
202
|
[Exposed=ServiceWorker]
|
|
169
203
|
interface FetchEvent : ExtendableEvent {
|
|
170
204
|
constructor(DOMString type, FetchEventInit eventInitDict);
|
package/trusted-types.idl
CHANGED
|
@@ -7,21 +7,18 @@
|
|
|
7
7
|
interface TrustedHTML {
|
|
8
8
|
stringifier;
|
|
9
9
|
DOMString toJSON();
|
|
10
|
-
static TrustedHTML fromLiteral(object templateStringsArray);
|
|
11
10
|
};
|
|
12
11
|
|
|
13
12
|
[Exposed=(Window,Worker)]
|
|
14
13
|
interface TrustedScript {
|
|
15
14
|
stringifier;
|
|
16
15
|
DOMString toJSON();
|
|
17
|
-
static TrustedScript fromLiteral(object templateStringsArray);
|
|
18
16
|
};
|
|
19
17
|
|
|
20
18
|
[Exposed=(Window,Worker)]
|
|
21
19
|
interface TrustedScriptURL {
|
|
22
20
|
stringifier;
|
|
23
21
|
USVString toJSON();
|
|
24
|
-
static TrustedScriptURL fromLiteral(object templateStringsArray);
|
|
25
22
|
};
|
|
26
23
|
|
|
27
24
|
[Exposed=(Window,Worker)] interface TrustedTypePolicyFactory {
|
package/turtledove.idl
CHANGED
|
@@ -197,6 +197,7 @@ dictionary BiddingBrowserSignals {
|
|
|
197
197
|
sequence<PreviousWin> prevWinsMs;
|
|
198
198
|
object wasmHelper;
|
|
199
199
|
unsigned long dataVersion;
|
|
200
|
+
boolean forDebuggingOnlyInCooldownOrLockout = false;
|
|
200
201
|
};
|
|
201
202
|
|
|
202
203
|
dictionary ScoringBrowserSignals {
|
|
@@ -208,6 +209,7 @@ dictionary ScoringBrowserSignals {
|
|
|
208
209
|
|
|
209
210
|
unsigned long dataVersion;
|
|
210
211
|
sequence<USVString> adComponents;
|
|
212
|
+
boolean forDebuggingOnlyInCooldownOrLockout = false;
|
|
211
213
|
};
|
|
212
214
|
|
|
213
215
|
dictionary ReportingBrowserSignals {
|
package/uievents.idl
CHANGED
|
@@ -226,6 +226,16 @@ partial dictionary KeyboardEventInit {
|
|
|
226
226
|
unsigned long keyCode = 0;
|
|
227
227
|
};
|
|
228
228
|
|
|
229
|
+
[Exposed=Window]
|
|
230
|
+
interface TextEvent : UIEvent {
|
|
231
|
+
readonly attribute DOMString data;
|
|
232
|
+
undefined initTextEvent(DOMString type,
|
|
233
|
+
optional boolean bubbles = false,
|
|
234
|
+
optional boolean cancelable = false,
|
|
235
|
+
optional Window? view = null,
|
|
236
|
+
optional DOMString data = "undefined");
|
|
237
|
+
};
|
|
238
|
+
|
|
229
239
|
[Exposed=Window]
|
|
230
240
|
interface MutationEvent : Event {
|
|
231
241
|
// attrChangeType
|
package/wai-aria.idl
CHANGED
package/webgl1.idl
CHANGED
|
@@ -518,6 +518,9 @@ interface mixin WebGLRenderingContextBase
|
|
|
518
518
|
readonly attribute GLsizei drawingBufferWidth;
|
|
519
519
|
readonly attribute GLsizei drawingBufferHeight;
|
|
520
520
|
readonly attribute GLenum drawingBufferFormat;
|
|
521
|
+
|
|
522
|
+
/* Upon context creation, drawingBufferColorSpace and unpackColorSpace both
|
|
523
|
+
default to the value "srgb". */
|
|
521
524
|
attribute PredefinedColorSpace drawingBufferColorSpace;
|
|
522
525
|
attribute PredefinedColorSpace unpackColorSpace;
|
|
523
526
|
|
package/webnn.idl
CHANGED
|
@@ -29,34 +29,17 @@ dictionary MLContextOptions {
|
|
|
29
29
|
interface ML {
|
|
30
30
|
Promise<MLContext> createContext(optional MLContextOptions options = {});
|
|
31
31
|
Promise<MLContext> createContext(GPUDevice gpuDevice);
|
|
32
|
-
|
|
33
|
-
[Exposed=(DedicatedWorker)]
|
|
34
|
-
MLContext createContextSync(optional MLContextOptions options = {});
|
|
35
|
-
[Exposed=(DedicatedWorker)]
|
|
36
|
-
MLContext createContextSync(GPUDevice gpuDevice);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
40
|
-
interface MLActivation {
|
|
41
32
|
};
|
|
42
33
|
|
|
43
34
|
typedef record<DOMString, ArrayBufferView> MLNamedArrayBufferViews;
|
|
44
35
|
|
|
45
|
-
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
46
|
-
interface MLContext {};
|
|
47
|
-
|
|
48
|
-
partial interface MLContext {
|
|
49
|
-
[Exposed=(DedicatedWorker)]
|
|
50
|
-
undefined computeSync(
|
|
51
|
-
MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
|
|
52
|
-
};
|
|
53
|
-
|
|
54
36
|
dictionary MLComputeResult {
|
|
55
37
|
MLNamedArrayBufferViews inputs;
|
|
56
38
|
MLNamedArrayBufferViews outputs;
|
|
57
39
|
};
|
|
58
40
|
|
|
59
|
-
|
|
41
|
+
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
42
|
+
interface MLContext {
|
|
60
43
|
Promise<MLComputeResult> compute(
|
|
61
44
|
MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
|
|
62
45
|
};
|
|
@@ -64,15 +47,41 @@ partial interface MLContext {
|
|
|
64
47
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
65
48
|
interface MLGraph {};
|
|
66
49
|
|
|
67
|
-
|
|
50
|
+
enum MLInputOperandLayout {
|
|
51
|
+
"nchw",
|
|
52
|
+
"nhwc"
|
|
53
|
+
};
|
|
68
54
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
55
|
+
enum MLOperandDataType {
|
|
56
|
+
"float32",
|
|
57
|
+
"float16",
|
|
58
|
+
"int32",
|
|
59
|
+
"uint32",
|
|
60
|
+
"int64",
|
|
61
|
+
"uint64",
|
|
62
|
+
"int8",
|
|
63
|
+
"uint8"
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
dictionary MLOperandDescriptor {
|
|
67
|
+
// The operand type.
|
|
68
|
+
required MLOperandDataType dataType;
|
|
69
|
+
|
|
70
|
+
// The dimensions field is empty for scalar operands,
|
|
71
|
+
// and non-empty for tensor operands.
|
|
72
|
+
sequence<unsigned long> dimensions = [];
|
|
73
73
|
};
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
76
|
+
interface MLOperand {
|
|
77
|
+
MLOperandDataType dataType();
|
|
78
|
+
sequence<unsigned long> shape();
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
82
|
+
interface MLActivation {};
|
|
83
|
+
|
|
84
|
+
typedef record<DOMString, MLOperand> MLNamedOperands;
|
|
76
85
|
|
|
77
86
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
78
87
|
interface MLGraphBuilder {
|
|
@@ -83,17 +92,13 @@ interface MLGraphBuilder {
|
|
|
83
92
|
MLOperand input(DOMString name, MLOperandDescriptor descriptor);
|
|
84
93
|
|
|
85
94
|
// Create an operand for a graph constant.
|
|
86
|
-
MLOperand constant(MLOperandDescriptor descriptor,
|
|
95
|
+
MLOperand constant(MLOperandDescriptor descriptor, ArrayBufferView bufferView);
|
|
87
96
|
|
|
88
97
|
// Create a single-value operand from the specified number of the specified type.
|
|
89
98
|
MLOperand constant(double value, optional MLOperandDataType type = "float32");
|
|
90
99
|
|
|
91
100
|
// Compile the graph up to the specified output operands asynchronously.
|
|
92
101
|
Promise<MLGraph> build(MLNamedOperands outputs);
|
|
93
|
-
|
|
94
|
-
// Compile the graph up to the specified output operands synchronously.
|
|
95
|
-
[Exposed=(DedicatedWorker)]
|
|
96
|
-
MLGraph buildSync(MLNamedOperands outputs);
|
|
97
102
|
};
|
|
98
103
|
|
|
99
104
|
dictionary MLArgMinMaxOptions {
|
|
@@ -145,17 +150,10 @@ enum MLConv2dFilterOperandLayout {
|
|
|
145
150
|
"ihwo"
|
|
146
151
|
};
|
|
147
152
|
|
|
148
|
-
enum MLAutoPad {
|
|
149
|
-
"explicit",
|
|
150
|
-
"same-upper",
|
|
151
|
-
"same-lower"
|
|
152
|
-
};
|
|
153
|
-
|
|
154
153
|
dictionary MLConv2dOptions {
|
|
155
154
|
sequence<unsigned long> padding;
|
|
156
155
|
sequence<unsigned long> strides;
|
|
157
156
|
sequence<unsigned long> dilations;
|
|
158
|
-
MLAutoPad autoPad = "explicit";
|
|
159
157
|
unsigned long groups = 1;
|
|
160
158
|
MLInputOperandLayout inputLayout = "nchw";
|
|
161
159
|
MLConv2dFilterOperandLayout filterLayout = "oihw";
|
|
@@ -179,7 +177,6 @@ dictionary MLConvTranspose2dOptions {
|
|
|
179
177
|
sequence<unsigned long> dilations;
|
|
180
178
|
sequence<unsigned long> outputPadding;
|
|
181
179
|
sequence<unsigned long> outputSizes;
|
|
182
|
-
MLAutoPad autoPad = "explicit";
|
|
183
180
|
unsigned long groups = 1;
|
|
184
181
|
MLInputOperandLayout inputLayout = "nchw";
|
|
185
182
|
MLConvTranspose2dFilterOperandLayout filterLayout = "iohw";
|
|
@@ -429,7 +426,6 @@ dictionary MLPool2dOptions {
|
|
|
429
426
|
sequence<unsigned long> padding;
|
|
430
427
|
sequence<unsigned long> strides;
|
|
431
428
|
sequence<unsigned long> dilations;
|
|
432
|
-
MLAutoPad autoPad = "explicit";
|
|
433
429
|
MLInputOperandLayout layout = "nchw";
|
|
434
430
|
MLRoundingType roundingType = "floor";
|
|
435
431
|
sequence<unsigned long> outputSizes;
|
|
@@ -551,38 +547,3 @@ partial interface MLGraphBuilder {
|
|
|
551
547
|
partial interface MLGraphBuilder {
|
|
552
548
|
MLOperand where(MLOperand condition, MLOperand input, MLOperand other);
|
|
553
549
|
};
|
|
554
|
-
|
|
555
|
-
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
556
|
-
interface MLOperand {};
|
|
557
|
-
|
|
558
|
-
partial interface MLOperand {
|
|
559
|
-
MLOperandDataType dataType();
|
|
560
|
-
};
|
|
561
|
-
|
|
562
|
-
partial interface MLOperand {
|
|
563
|
-
sequence<unsigned long> shape();
|
|
564
|
-
};
|
|
565
|
-
|
|
566
|
-
enum MLInputOperandLayout {
|
|
567
|
-
"nchw",
|
|
568
|
-
"nhwc"
|
|
569
|
-
};
|
|
570
|
-
|
|
571
|
-
enum MLOperandDataType {
|
|
572
|
-
"float32",
|
|
573
|
-
"float16",
|
|
574
|
-
"int32",
|
|
575
|
-
"uint32",
|
|
576
|
-
"int64",
|
|
577
|
-
"uint64",
|
|
578
|
-
"int8",
|
|
579
|
-
"uint8"
|
|
580
|
-
};
|
|
581
|
-
|
|
582
|
-
dictionary MLOperandDescriptor {
|
|
583
|
-
// The operand type.
|
|
584
|
-
required MLOperandDataType dataType;
|
|
585
|
-
|
|
586
|
-
// The dimensions field is only required for tensor operands.
|
|
587
|
-
sequence<unsigned long> dimensions = [];
|
|
588
|
-
};
|
package/webtransport.idl
CHANGED
|
@@ -23,6 +23,9 @@ interface WebTransport {
|
|
|
23
23
|
readonly attribute Promise<undefined> ready;
|
|
24
24
|
readonly attribute WebTransportReliabilityMode reliability;
|
|
25
25
|
readonly attribute WebTransportCongestionControl congestionControl;
|
|
26
|
+
[EnforceRange] attribute unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams;
|
|
27
|
+
[EnforceRange] attribute unsigned short? anticipatedConcurrentIncomingBidirectionalStreams;
|
|
28
|
+
|
|
26
29
|
readonly attribute Promise<WebTransportCloseInfo> closed;
|
|
27
30
|
readonly attribute Promise<undefined> draining;
|
|
28
31
|
undefined close(optional WebTransportCloseInfo closeInfo = {});
|
|
@@ -59,6 +62,8 @@ dictionary WebTransportOptions {
|
|
|
59
62
|
boolean requireUnreliable = false;
|
|
60
63
|
sequence<WebTransportHash> serverCertificateHashes;
|
|
61
64
|
WebTransportCongestionControl congestionControl = "default";
|
|
65
|
+
[EnforceRange] unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams = null;
|
|
66
|
+
[EnforceRange] unsigned short? anticipatedConcurrentIncomingBidirectionalStreams = null;
|
|
62
67
|
};
|
|
63
68
|
|
|
64
69
|
enum WebTransportCongestionControl {
|