@webref/idl 3.6.0 → 3.7.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/compute-pressure.idl +18 -18
- package/css-conditional.idl +1 -1
- package/html.idl +1 -0
- package/local-font-access.idl +2 -9
- package/manifest-incubations.idl +15 -0
- package/media-capabilities.idl +1 -0
- package/mediacapture-region.idl +2 -2
- package/navigation-api.idl +24 -13
- package/package.json +1 -1
- package/reporting.idl +1 -1
- package/requestidlecallback.idl +1 -1
- package/screen-capture.idl +6 -1
- package/serial.idl +1 -0
- package/web-bluetooth.idl +1 -0
- package/webcrypto-secure-curves.idl +8 -0
- package/webgpu.idl +27 -26
- package/webtransport.idl +17 -2
package/compute-pressure.idl
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
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: Compute Pressure
|
|
4
|
+
// Source: Compute Pressure Level 1 (https://wicg.github.io/compute-pressure/)
|
|
5
5
|
|
|
6
|
-
enum
|
|
6
|
+
enum PressureState { "nominal", "fair", "serious", "critical" };
|
|
7
7
|
|
|
8
|
-
enum
|
|
8
|
+
enum PressureFactor { "thermal", "power-supply" };
|
|
9
9
|
|
|
10
|
-
callback
|
|
11
|
-
sequence<
|
|
12
|
-
|
|
10
|
+
callback PressureUpdateCallback = undefined (
|
|
11
|
+
sequence<PressureRecord> changes,
|
|
12
|
+
PressureObserver observer
|
|
13
13
|
);
|
|
14
14
|
|
|
15
|
-
enum
|
|
15
|
+
enum PressureSource { "cpu" };
|
|
16
16
|
|
|
17
17
|
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
|
|
18
|
-
interface
|
|
19
|
-
constructor(
|
|
18
|
+
interface PressureObserver {
|
|
19
|
+
constructor(PressureUpdateCallback callback, optional PressureObserverOptions options = {});
|
|
20
20
|
|
|
21
|
-
undefined observe(
|
|
22
|
-
undefined unobserve(
|
|
21
|
+
undefined observe(PressureSource source);
|
|
22
|
+
undefined unobserve(PressureSource source);
|
|
23
23
|
undefined disconnect();
|
|
24
|
-
sequence<
|
|
24
|
+
sequence<PressureRecord> takeRecords();
|
|
25
25
|
|
|
26
|
-
[SameObject] static readonly attribute FrozenArray<
|
|
26
|
+
[SameObject] static readonly attribute FrozenArray<PressureSource> supportedSources;
|
|
27
27
|
|
|
28
28
|
[Exposed=Window] static Promise<PermissionState> requestPermission();
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
dictionary
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
sequence<
|
|
31
|
+
dictionary PressureRecord {
|
|
32
|
+
PressureSource source;
|
|
33
|
+
PressureState state;
|
|
34
|
+
sequence<PressureFactor> factors;
|
|
35
35
|
DOMHighResTimeStamp time;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
dictionary
|
|
38
|
+
dictionary PressureObserverOptions {
|
|
39
39
|
double frequency;
|
|
40
40
|
};
|
package/css-conditional.idl
CHANGED
package/html.idl
CHANGED
|
@@ -225,6 +225,7 @@ interface HTMLMetaElement : HTMLElement {
|
|
|
225
225
|
interface HTMLStyleElement : HTMLElement {
|
|
226
226
|
[HTMLConstructor] constructor();
|
|
227
227
|
|
|
228
|
+
attribute boolean disabled;
|
|
228
229
|
[CEReactions] attribute DOMString media;
|
|
229
230
|
[SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
|
|
230
231
|
|
package/local-font-access.idl
CHANGED
|
@@ -4,15 +4,8 @@
|
|
|
4
4
|
// Source: Local Font Access API (https://wicg.github.io/local-font-access/)
|
|
5
5
|
|
|
6
6
|
[SecureContext]
|
|
7
|
-
interface
|
|
8
|
-
|
|
9
|
-
};
|
|
10
|
-
Navigator includes NavigatorFonts;
|
|
11
|
-
|
|
12
|
-
[SecureContext,
|
|
13
|
-
Exposed=Window]
|
|
14
|
-
interface FontManager {
|
|
15
|
-
Promise<sequence<FontData>> query(optional QueryOptions options = {});
|
|
7
|
+
partial interface Window {
|
|
8
|
+
Promise<sequence<FontData>> queryLocalFonts(optional QueryOptions options = {});
|
|
16
9
|
};
|
|
17
10
|
|
|
18
11
|
dictionary QueryOptions {
|
package/manifest-incubations.idl
CHANGED
|
@@ -22,3 +22,18 @@ partial interface Window {
|
|
|
22
22
|
attribute EventHandler onappinstalled;
|
|
23
23
|
attribute EventHandler onbeforeinstallprompt;
|
|
24
24
|
};
|
|
25
|
+
|
|
26
|
+
[Exposed=Window] interface LaunchParams {
|
|
27
|
+
readonly attribute DOMString? targetURL;
|
|
28
|
+
readonly attribute FrozenArray<FileSystemHandle> files;
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
callback LaunchConsumer = any (LaunchParams params);
|
|
32
|
+
|
|
33
|
+
partial interface Window {
|
|
34
|
+
readonly attribute LaunchQueue launchQueue;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
[Exposed=Window] interface LaunchQueue {
|
|
38
|
+
undefined setConsumer(LaunchConsumer consumer);
|
|
39
|
+
};
|
package/media-capabilities.idl
CHANGED
package/mediacapture-region.idl
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Region Capture (https://w3c.github.io/mediacapture-region/)
|
|
5
5
|
|
|
6
|
-
[Exposed=(Window,Worker)]
|
|
6
|
+
[Exposed=(Window,Worker), Serializable]
|
|
7
7
|
interface CropTarget {
|
|
8
8
|
// Intentionally empty; just an opaque identifier.
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
partial interface MediaDevices {
|
|
12
12
|
Promise<CropTarget>
|
|
13
|
-
produceCropTarget(
|
|
13
|
+
produceCropTarget(Element element);
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
[Exposed = Window]
|
package/navigation-api.idl
CHANGED
|
@@ -62,29 +62,27 @@ enum NavigationHistoryBehavior {
|
|
|
62
62
|
interface NavigationCurrentEntryChangeEvent : Event {
|
|
63
63
|
constructor(DOMString type, NavigationCurrentEntryChangeEventInit eventInit);
|
|
64
64
|
|
|
65
|
-
readonly attribute
|
|
65
|
+
readonly attribute NavigationType? navigationType;
|
|
66
66
|
readonly attribute NavigationHistoryEntry from;
|
|
67
67
|
};
|
|
68
68
|
|
|
69
69
|
dictionary NavigationCurrentEntryChangeEventInit : EventInit {
|
|
70
|
-
|
|
70
|
+
NavigationType? navigationType = null;
|
|
71
71
|
required NavigationHistoryEntry destination;
|
|
72
72
|
};
|
|
73
73
|
|
|
74
74
|
[Exposed=Window]
|
|
75
75
|
interface NavigationTransition {
|
|
76
|
-
readonly attribute
|
|
76
|
+
readonly attribute NavigationType navigationType;
|
|
77
77
|
readonly attribute NavigationHistoryEntry from;
|
|
78
78
|
readonly attribute Promise<undefined> finished;
|
|
79
|
-
|
|
80
|
-
NavigationResult rollback(optional NavigationOptions options = {});
|
|
81
79
|
};
|
|
82
80
|
|
|
83
81
|
[Exposed=Window]
|
|
84
82
|
interface NavigateEvent : Event {
|
|
85
83
|
constructor(DOMString type, NavigateEventInit eventInit);
|
|
86
84
|
|
|
87
|
-
readonly attribute
|
|
85
|
+
readonly attribute NavigationType navigationType;
|
|
88
86
|
readonly attribute NavigationDestination destination;
|
|
89
87
|
readonly attribute boolean canTransition;
|
|
90
88
|
readonly attribute boolean userInitiated;
|
|
@@ -94,11 +92,13 @@ interface NavigateEvent : Event {
|
|
|
94
92
|
readonly attribute DOMString? downloadRequest;
|
|
95
93
|
readonly attribute any info;
|
|
96
94
|
|
|
97
|
-
undefined transitionWhile(Promise<undefined> newNavigationAction
|
|
95
|
+
undefined transitionWhile(Promise<undefined> newNavigationAction,
|
|
96
|
+
optional NavigationTransitionWhileOptions options = {});
|
|
97
|
+
undefined restoreScroll();
|
|
98
98
|
};
|
|
99
99
|
|
|
100
100
|
dictionary NavigateEventInit : EventInit {
|
|
101
|
-
|
|
101
|
+
NavigationType navigationType = "push";
|
|
102
102
|
required NavigationDestination destination;
|
|
103
103
|
boolean canTransition = false;
|
|
104
104
|
boolean userInitiated = false;
|
|
@@ -109,8 +109,22 @@ dictionary NavigateEventInit : EventInit {
|
|
|
109
109
|
any info;
|
|
110
110
|
};
|
|
111
111
|
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
dictionary NavigationTransitionWhileOptions {
|
|
113
|
+
NavigationFocusReset focusReset;
|
|
114
|
+
NavigationScrollRestoration scrollRestoration;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
enum NavigationFocusReset {
|
|
118
|
+
"after-transition",
|
|
119
|
+
"manual"
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
enum NavigationScrollRestoration {
|
|
123
|
+
"after-transition",
|
|
124
|
+
"manual"
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
enum NavigationType {
|
|
114
128
|
"reload",
|
|
115
129
|
"push",
|
|
116
130
|
"replace",
|
|
@@ -138,8 +152,5 @@ interface NavigationHistoryEntry : EventTarget {
|
|
|
138
152
|
|
|
139
153
|
any getState();
|
|
140
154
|
|
|
141
|
-
attribute EventHandler onnavigateto;
|
|
142
|
-
attribute EventHandler onnavigatefrom;
|
|
143
|
-
attribute EventHandler onfinish;
|
|
144
155
|
attribute EventHandler ondispose;
|
|
145
156
|
};
|
package/package.json
CHANGED
package/reporting.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: Reporting API
|
|
4
|
+
// Source: Reporting API (https://w3c.github.io/reporting/)
|
|
5
5
|
|
|
6
6
|
[Exposed=(Window,Worker)]
|
|
7
7
|
interface ReportBody {
|
package/requestidlecallback.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:
|
|
4
|
+
// Source: requestIdleCallback() (https://w3c.github.io/requestidlecallback/)
|
|
5
5
|
|
|
6
6
|
partial interface Window {
|
|
7
7
|
unsigned long requestIdleCallback(IdleRequestCallback callback, optional IdleRequestOptions options = {});
|
package/screen-capture.idl
CHANGED
|
@@ -7,9 +7,15 @@ partial interface MediaDevices {
|
|
|
7
7
|
Promise<MediaStream> getDisplayMedia(optional DisplayMediaStreamConstraints constraints = {});
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
+
enum SelfCapturePreferenceEnum {
|
|
11
|
+
"include",
|
|
12
|
+
"exclude"
|
|
13
|
+
};
|
|
14
|
+
|
|
10
15
|
dictionary DisplayMediaStreamConstraints {
|
|
11
16
|
(boolean or MediaTrackConstraints) video = true;
|
|
12
17
|
(boolean or MediaTrackConstraints) audio = false;
|
|
18
|
+
SelfCapturePreferenceEnum selfBrowserSurface;
|
|
13
19
|
};
|
|
14
20
|
|
|
15
21
|
partial dictionary MediaTrackSupportedConstraints {
|
|
@@ -44,7 +50,6 @@ partial dictionary MediaTrackCapabilities {
|
|
|
44
50
|
enum DisplayCaptureSurfaceType {
|
|
45
51
|
"monitor",
|
|
46
52
|
"window",
|
|
47
|
-
"application",
|
|
48
53
|
"browser"
|
|
49
54
|
};
|
|
50
55
|
|
package/serial.idl
CHANGED
package/web-bluetooth.idl
CHANGED
|
@@ -89,6 +89,7 @@ interface BluetoothDevice : EventTarget {
|
|
|
89
89
|
readonly attribute DOMString? name;
|
|
90
90
|
readonly attribute BluetoothRemoteGATTServer? gatt;
|
|
91
91
|
|
|
92
|
+
Promise<undefined> forget();
|
|
92
93
|
Promise<undefined> watchAdvertisements(
|
|
93
94
|
optional WatchAdvertisementsOptions options = {});
|
|
94
95
|
readonly attribute boolean watchingAdvertisements;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Secure Curves in the Web Cryptography API (https://wicg.github.io/webcrypto-secure-curves/)
|
|
5
|
+
|
|
6
|
+
dictionary Ed448Params : Algorithm {
|
|
7
|
+
BufferSource context;
|
|
8
|
+
};
|
package/webgpu.idl
CHANGED
|
@@ -96,6 +96,7 @@ enum GPUFeatureName {
|
|
|
96
96
|
"texture-compression-astc",
|
|
97
97
|
"timestamp-query",
|
|
98
98
|
"indirect-first-instance",
|
|
99
|
+
"shader-f16",
|
|
99
100
|
};
|
|
100
101
|
|
|
101
102
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -570,7 +571,7 @@ dictionary GPUProgrammableStage {
|
|
|
570
571
|
record<USVString, GPUPipelineConstantValue> constants;
|
|
571
572
|
};
|
|
572
573
|
|
|
573
|
-
typedef double GPUPipelineConstantValue; // May represent WGSL’s bool, f32, i32, u32.
|
|
574
|
+
typedef double GPUPipelineConstantValue; // May represent WGSL’s bool, f32, i32, u32, and f16 if enabled.
|
|
574
575
|
|
|
575
576
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
576
577
|
interface GPUComputePipeline {
|
|
@@ -871,7 +872,7 @@ dictionary GPUImageCopyExternalImage {
|
|
|
871
872
|
boolean flipY = false;
|
|
872
873
|
};
|
|
873
874
|
|
|
874
|
-
interface mixin
|
|
875
|
+
interface mixin GPUBindingCommandsMixin {
|
|
875
876
|
undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
|
|
876
877
|
optional sequence<GPUBufferDynamicOffset> dynamicOffsets = []);
|
|
877
878
|
|
|
@@ -890,15 +891,15 @@ interface mixin GPUDebugCommandsMixin {
|
|
|
890
891
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
891
892
|
interface GPUComputePassEncoder {
|
|
892
893
|
undefined setPipeline(GPUComputePipeline pipeline);
|
|
893
|
-
undefined
|
|
894
|
-
undefined
|
|
894
|
+
undefined dispatchWorkgroups(GPUSize32 workgroupCountX, optional GPUSize32 workgroupCountY = 1, optional GPUSize32 workgroupCountZ = 1);
|
|
895
|
+
undefined dispatchWorkgroupsIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
|
895
896
|
|
|
896
897
|
undefined end();
|
|
897
898
|
};
|
|
898
899
|
GPUComputePassEncoder includes GPUObjectBase;
|
|
899
900
|
GPUComputePassEncoder includes GPUCommandsMixin;
|
|
900
901
|
GPUComputePassEncoder includes GPUDebugCommandsMixin;
|
|
901
|
-
GPUComputePassEncoder includes
|
|
902
|
+
GPUComputePassEncoder includes GPUBindingCommandsMixin;
|
|
902
903
|
|
|
903
904
|
enum GPUComputePassTimestampLocation {
|
|
904
905
|
"beginning",
|
|
@@ -917,23 +918,6 @@ dictionary GPUComputePassDescriptor : GPUObjectDescriptorBase {
|
|
|
917
918
|
GPUComputePassTimestampWrites timestampWrites = [];
|
|
918
919
|
};
|
|
919
920
|
|
|
920
|
-
interface mixin GPURenderEncoderBase {
|
|
921
|
-
undefined setPipeline(GPURenderPipeline pipeline);
|
|
922
|
-
|
|
923
|
-
undefined setIndexBuffer(GPUBuffer buffer, GPUIndexFormat indexFormat, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
924
|
-
undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
925
|
-
|
|
926
|
-
undefined draw(GPUSize32 vertexCount, optional GPUSize32 instanceCount = 1,
|
|
927
|
-
optional GPUSize32 firstVertex = 0, optional GPUSize32 firstInstance = 0);
|
|
928
|
-
undefined drawIndexed(GPUSize32 indexCount, optional GPUSize32 instanceCount = 1,
|
|
929
|
-
optional GPUSize32 firstIndex = 0,
|
|
930
|
-
optional GPUSignedOffset32 baseVertex = 0,
|
|
931
|
-
optional GPUSize32 firstInstance = 0);
|
|
932
|
-
|
|
933
|
-
undefined drawIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
|
934
|
-
undefined drawIndexedIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
|
935
|
-
};
|
|
936
|
-
|
|
937
921
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
938
922
|
interface GPURenderPassEncoder {
|
|
939
923
|
undefined setViewport(float x, float y,
|
|
@@ -955,8 +939,8 @@ interface GPURenderPassEncoder {
|
|
|
955
939
|
GPURenderPassEncoder includes GPUObjectBase;
|
|
956
940
|
GPURenderPassEncoder includes GPUCommandsMixin;
|
|
957
941
|
GPURenderPassEncoder includes GPUDebugCommandsMixin;
|
|
958
|
-
GPURenderPassEncoder includes
|
|
959
|
-
GPURenderPassEncoder includes
|
|
942
|
+
GPURenderPassEncoder includes GPUBindingCommandsMixin;
|
|
943
|
+
GPURenderPassEncoder includes GPURenderCommandsMixin;
|
|
960
944
|
|
|
961
945
|
enum GPURenderPassTimestampLocation {
|
|
962
946
|
"beginning",
|
|
@@ -1017,6 +1001,23 @@ dictionary GPURenderPassLayout: GPUObjectDescriptorBase {
|
|
|
1017
1001
|
GPUSize32 sampleCount = 1;
|
|
1018
1002
|
};
|
|
1019
1003
|
|
|
1004
|
+
interface mixin GPURenderCommandsMixin {
|
|
1005
|
+
undefined setPipeline(GPURenderPipeline pipeline);
|
|
1006
|
+
|
|
1007
|
+
undefined setIndexBuffer(GPUBuffer buffer, GPUIndexFormat indexFormat, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
1008
|
+
undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
1009
|
+
|
|
1010
|
+
undefined draw(GPUSize32 vertexCount, optional GPUSize32 instanceCount = 1,
|
|
1011
|
+
optional GPUSize32 firstVertex = 0, optional GPUSize32 firstInstance = 0);
|
|
1012
|
+
undefined drawIndexed(GPUSize32 indexCount, optional GPUSize32 instanceCount = 1,
|
|
1013
|
+
optional GPUSize32 firstIndex = 0,
|
|
1014
|
+
optional GPUSignedOffset32 baseVertex = 0,
|
|
1015
|
+
optional GPUSize32 firstInstance = 0);
|
|
1016
|
+
|
|
1017
|
+
undefined drawIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
|
1018
|
+
undefined drawIndexedIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1020
1021
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1021
1022
|
interface GPURenderBundle {
|
|
1022
1023
|
};
|
|
@@ -1032,8 +1033,8 @@ interface GPURenderBundleEncoder {
|
|
|
1032
1033
|
GPURenderBundleEncoder includes GPUObjectBase;
|
|
1033
1034
|
GPURenderBundleEncoder includes GPUCommandsMixin;
|
|
1034
1035
|
GPURenderBundleEncoder includes GPUDebugCommandsMixin;
|
|
1035
|
-
GPURenderBundleEncoder includes
|
|
1036
|
-
GPURenderBundleEncoder includes
|
|
1036
|
+
GPURenderBundleEncoder includes GPUBindingCommandsMixin;
|
|
1037
|
+
GPURenderBundleEncoder includes GPURenderCommandsMixin;
|
|
1037
1038
|
|
|
1038
1039
|
dictionary GPURenderBundleEncoderDescriptor : GPURenderPassLayout {
|
|
1039
1040
|
boolean depthReadOnly = false;
|
package/webtransport.idl
CHANGED
|
@@ -21,6 +21,7 @@ interface WebTransport {
|
|
|
21
21
|
|
|
22
22
|
Promise<WebTransportStats> getStats();
|
|
23
23
|
readonly attribute Promise<undefined> ready;
|
|
24
|
+
readonly attribute WebTransportReliabilityMode reliability;
|
|
24
25
|
readonly attribute Promise<WebTransportCloseInfo> closed;
|
|
25
26
|
undefined close(optional WebTransportCloseInfo closeInfo = {});
|
|
26
27
|
|
|
@@ -35,13 +36,20 @@ interface WebTransport {
|
|
|
35
36
|
readonly attribute ReadableStream incomingUnidirectionalStreams;
|
|
36
37
|
};
|
|
37
38
|
|
|
39
|
+
enum WebTransportReliabilityMode {
|
|
40
|
+
"pending",
|
|
41
|
+
"reliable-only",
|
|
42
|
+
"supports-unreliable",
|
|
43
|
+
};
|
|
44
|
+
|
|
38
45
|
dictionary WebTransportHash {
|
|
39
46
|
DOMString algorithm;
|
|
40
47
|
BufferSource value;
|
|
41
48
|
};
|
|
42
49
|
|
|
43
50
|
dictionary WebTransportOptions {
|
|
44
|
-
boolean allowPooling;
|
|
51
|
+
boolean allowPooling = false;
|
|
52
|
+
boolean requireUnreliable = false;
|
|
45
53
|
sequence<WebTransportHash> serverCertificateHashes;
|
|
46
54
|
};
|
|
47
55
|
|
|
@@ -62,7 +70,14 @@ dictionary WebTransportStats {
|
|
|
62
70
|
DOMHighResTimeStamp smoothedRtt;
|
|
63
71
|
DOMHighResTimeStamp rttVariation;
|
|
64
72
|
DOMHighResTimeStamp minRtt;
|
|
65
|
-
|
|
73
|
+
WebTransportDatagramStats datagrams;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
dictionary WebTransportDatagramStats {
|
|
77
|
+
DOMHighResTimeStamp timestamp;
|
|
78
|
+
unsigned long long expiredOutgoing;
|
|
79
|
+
unsigned long long droppedIncoming;
|
|
80
|
+
unsigned long long lostOutgoing;
|
|
66
81
|
};
|
|
67
82
|
|
|
68
83
|
[Exposed=(Window,Worker), SecureContext]
|