@webref/idl 3.13.2 → 3.15.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/css-contain.idl +13 -0
- package/html.idl +1 -8
- package/media-capabilities.idl +11 -11
- package/mediacapture-viewport.idl +6 -1
- package/package.json +1 -1
- package/resource-timing.idl +6 -0
- package/screen-capture.idl +2 -2
- package/secure-payment-confirmation.idl +3 -3
- package/serial.idl +1 -1
- package/wai-aria.idl +49 -49
- package/webcodecs.idl +1 -2
- package/webgpu.idl +27 -10
- package/webnn.idl +8 -21
- package/webtransport.idl +8 -0
- package/webxr.idl +6 -5
package/css-contain.idl
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Containment Module Level 2 (https://drafts.csswg.org/css-contain-2/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface ContentVisibilityAutoStateChangedEvent : Event {
|
|
8
|
+
constructor(DOMString type, optional ContentVisibilityAutoStateChangedEventInit eventInitDict = {});
|
|
9
|
+
readonly attribute boolean skipped;
|
|
10
|
+
};
|
|
11
|
+
dictionary ContentVisibilityAutoStateChangedEventInit : EventInit {
|
|
12
|
+
boolean skipped = false;
|
|
13
|
+
};
|
package/html.idl
CHANGED
|
@@ -1364,14 +1364,7 @@ interface mixin CanvasShadowStyles {
|
|
|
1364
1364
|
|
|
1365
1365
|
interface mixin CanvasFilters {
|
|
1366
1366
|
// filters
|
|
1367
|
-
attribute
|
|
1368
|
-
};
|
|
1369
|
-
|
|
1370
|
-
typedef record<DOMString, any> CanvasFilterInput;
|
|
1371
|
-
|
|
1372
|
-
[Exposed=(Window,Worker,PaintWorklet)]
|
|
1373
|
-
interface CanvasFilter {
|
|
1374
|
-
constructor(optional (CanvasFilterInput or sequence<CanvasFilterInput>) filters);
|
|
1367
|
+
attribute DOMString filter; // (default "none")
|
|
1375
1368
|
};
|
|
1376
1369
|
|
|
1377
1370
|
interface mixin CanvasRect {
|
package/media-capabilities.idl
CHANGED
|
@@ -69,19 +69,19 @@ dictionary AudioConfiguration {
|
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
dictionary MediaCapabilitiesKeySystemConfiguration {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
72
|
+
required DOMString keySystem;
|
|
73
|
+
DOMString initDataType = "";
|
|
74
|
+
MediaKeysRequirement distinctiveIdentifier = "optional";
|
|
75
|
+
MediaKeysRequirement persistentState = "optional";
|
|
76
|
+
sequence<DOMString> sessionTypes;
|
|
77
|
+
KeySystemTrackConfiguration audio;
|
|
78
|
+
KeySystemTrackConfiguration video;
|
|
79
|
+
};
|
|
80
80
|
|
|
81
81
|
dictionary KeySystemTrackConfiguration {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
82
|
+
DOMString robustness = "";
|
|
83
|
+
DOMString? encryptionScheme = null;
|
|
84
|
+
};
|
|
85
85
|
|
|
86
86
|
dictionary MediaCapabilitiesInfo {
|
|
87
87
|
required boolean supported;
|
|
@@ -5,5 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
partial interface MediaDevices {
|
|
7
7
|
Promise<MediaStream> getViewportMedia(
|
|
8
|
-
optional
|
|
8
|
+
optional ViewportMediaStreamConstraints constraints = {});
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
dictionary ViewportMediaStreamConstraints {
|
|
12
|
+
(boolean or MediaTrackConstraints) video = true;
|
|
13
|
+
(boolean or MediaTrackConstraints) audio = false;
|
|
9
14
|
};
|
package/package.json
CHANGED
package/resource-timing.idl
CHANGED
|
@@ -22,9 +22,15 @@ interface PerformanceResourceTiming : PerformanceEntry {
|
|
|
22
22
|
readonly attribute unsigned long long transferSize;
|
|
23
23
|
readonly attribute unsigned long long encodedBodySize;
|
|
24
24
|
readonly attribute unsigned long long decodedBodySize;
|
|
25
|
+
readonly attribute RenderBlockingStatusType renderBlockingStatus;
|
|
25
26
|
[Default] object toJSON();
|
|
26
27
|
};
|
|
27
28
|
|
|
29
|
+
enum RenderBlockingStatusType {
|
|
30
|
+
"blocking",
|
|
31
|
+
"non-blocking"
|
|
32
|
+
};
|
|
33
|
+
|
|
28
34
|
partial interface Performance {
|
|
29
35
|
undefined clearResourceTimings ();
|
|
30
36
|
undefined setResourceTimingBufferSize (unsigned long maxSize);
|
package/screen-capture.idl
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Source: Screen Capture (https://w3c.github.io/mediacapture-screen-share/)
|
|
5
5
|
|
|
6
6
|
partial interface MediaDevices {
|
|
7
|
-
Promise<MediaStream> getDisplayMedia(optional
|
|
7
|
+
Promise<MediaStream> getDisplayMedia(optional DisplayMediaStreamOptions options = {});
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
enum SelfCapturePreferenceEnum {
|
|
@@ -22,7 +22,7 @@ enum SurfaceSwitchingPreferenceEnum {
|
|
|
22
22
|
"exclude"
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
dictionary
|
|
25
|
+
dictionary DisplayMediaStreamOptions {
|
|
26
26
|
(boolean or MediaTrackConstraints) video = true;
|
|
27
27
|
(boolean or MediaTrackConstraints) audio = false;
|
|
28
28
|
SelfCapturePreferenceEnum selfBrowserSurface;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
dictionary SecurePaymentConfirmationRequest {
|
|
7
7
|
required BufferSource challenge;
|
|
8
8
|
required USVString rpId;
|
|
9
|
-
required
|
|
9
|
+
required sequence<BufferSource> credentialIds;
|
|
10
10
|
required PaymentCredentialInstrument instrument;
|
|
11
11
|
unsigned long timeout;
|
|
12
12
|
DOMString payeeName;
|
|
@@ -22,7 +22,7 @@ dictionary AuthenticationExtensionsPaymentInputs {
|
|
|
22
22
|
boolean isPayment;
|
|
23
23
|
|
|
24
24
|
// Only used for authentication.
|
|
25
|
-
USVString
|
|
25
|
+
USVString rpId;
|
|
26
26
|
USVString topOrigin;
|
|
27
27
|
DOMString payeeName;
|
|
28
28
|
USVString payeeOrigin;
|
|
@@ -35,7 +35,7 @@ dictionary CollectedClientPaymentData : CollectedClientData {
|
|
|
35
35
|
};
|
|
36
36
|
|
|
37
37
|
dictionary CollectedClientAdditionalPaymentData {
|
|
38
|
-
required USVString
|
|
38
|
+
required USVString rpId;
|
|
39
39
|
required USVString topOrigin;
|
|
40
40
|
DOMString payeeName;
|
|
41
41
|
USVString payeeOrigin;
|
package/serial.idl
CHANGED
|
@@ -52,7 +52,7 @@ dictionary SerialPortInfo {
|
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
dictionary SerialOptions {
|
|
55
|
-
|
|
55
|
+
[EnforceRange] required unsigned long baudRate;
|
|
56
56
|
[EnforceRange] octet dataBits = 8;
|
|
57
57
|
[EnforceRange] octet stopBits = 1;
|
|
58
58
|
ParityType parity = "none";
|
package/wai-aria.idl
CHANGED
|
@@ -4,56 +4,56 @@
|
|
|
4
4
|
// Source: Accessible Rich Internet Applications (WAI-ARIA) 1.3 (https://w3c.github.io/aria/)
|
|
5
5
|
|
|
6
6
|
interface mixin ARIAMixin {
|
|
7
|
-
attribute DOMString? role;
|
|
8
|
-
attribute Element? ariaActiveDescendantElement;
|
|
9
|
-
attribute DOMString? ariaAtomic;
|
|
10
|
-
attribute DOMString? ariaAutoComplete;
|
|
11
|
-
attribute DOMString? ariaBusy;
|
|
12
|
-
attribute DOMString? ariaChecked;
|
|
13
|
-
attribute DOMString? ariaColCount;
|
|
14
|
-
attribute DOMString? ariaColIndex;
|
|
15
|
-
attribute DOMString? ariaColIndexText;
|
|
16
|
-
attribute DOMString? ariaColSpan;
|
|
17
|
-
attribute FrozenArray<Element>? ariaControlsElements;
|
|
18
|
-
attribute DOMString? ariaCurrent;
|
|
19
|
-
attribute FrozenArray<Element>? ariaDescribedByElements;
|
|
20
|
-
attribute DOMString? ariaDescription;
|
|
21
|
-
attribute FrozenArray<Element>? ariaDetailsElements;
|
|
22
|
-
attribute DOMString? ariaDisabled;
|
|
23
|
-
attribute Element? ariaErrorMessageElement;
|
|
24
|
-
attribute DOMString? ariaExpanded;
|
|
25
|
-
attribute FrozenArray<Element>? ariaFlowToElements;
|
|
26
|
-
attribute DOMString? ariaHasPopup;
|
|
27
|
-
attribute DOMString? ariaHidden;
|
|
28
|
-
attribute DOMString? ariaInvalid;
|
|
29
|
-
attribute DOMString? ariaKeyShortcuts;
|
|
30
|
-
attribute DOMString? ariaLabel;
|
|
31
|
-
attribute FrozenArray<Element>? ariaLabelledByElements;
|
|
32
|
-
attribute DOMString? ariaLevel;
|
|
33
|
-
attribute DOMString? ariaLive;
|
|
34
|
-
attribute DOMString? ariaModal;
|
|
35
|
-
attribute DOMString? ariaMultiLine;
|
|
36
|
-
attribute DOMString? ariaMultiSelectable;
|
|
37
|
-
attribute DOMString? ariaOrientation;
|
|
38
|
-
attribute FrozenArray<Element>? ariaOwnsElements;
|
|
39
|
-
attribute DOMString? ariaPlaceholder;
|
|
40
|
-
attribute DOMString? ariaPosInSet;
|
|
41
|
-
attribute DOMString? ariaPressed;
|
|
42
|
-
attribute DOMString? ariaReadOnly;
|
|
7
|
+
[CEReactions] attribute DOMString? role;
|
|
8
|
+
[CEReactions] attribute Element? ariaActiveDescendantElement;
|
|
9
|
+
[CEReactions] attribute DOMString? ariaAtomic;
|
|
10
|
+
[CEReactions] attribute DOMString? ariaAutoComplete;
|
|
11
|
+
[CEReactions] attribute DOMString? ariaBusy;
|
|
12
|
+
[CEReactions] attribute DOMString? ariaChecked;
|
|
13
|
+
[CEReactions] attribute DOMString? ariaColCount;
|
|
14
|
+
[CEReactions] attribute DOMString? ariaColIndex;
|
|
15
|
+
[CEReactions] attribute DOMString? ariaColIndexText;
|
|
16
|
+
[CEReactions] attribute DOMString? ariaColSpan;
|
|
17
|
+
[CEReactions] attribute FrozenArray<Element>? ariaControlsElements;
|
|
18
|
+
[CEReactions] attribute DOMString? ariaCurrent;
|
|
19
|
+
[CEReactions] attribute FrozenArray<Element>? ariaDescribedByElements;
|
|
20
|
+
[CEReactions] attribute DOMString? ariaDescription;
|
|
21
|
+
[CEReactions] attribute FrozenArray<Element>? ariaDetailsElements;
|
|
22
|
+
[CEReactions] attribute DOMString? ariaDisabled;
|
|
23
|
+
[CEReactions] attribute Element? ariaErrorMessageElement;
|
|
24
|
+
[CEReactions] attribute DOMString? ariaExpanded;
|
|
25
|
+
[CEReactions] attribute FrozenArray<Element>? ariaFlowToElements;
|
|
26
|
+
[CEReactions] attribute DOMString? ariaHasPopup;
|
|
27
|
+
[CEReactions] attribute DOMString? ariaHidden;
|
|
28
|
+
[CEReactions] attribute DOMString? ariaInvalid;
|
|
29
|
+
[CEReactions] attribute DOMString? ariaKeyShortcuts;
|
|
30
|
+
[CEReactions] attribute DOMString? ariaLabel;
|
|
31
|
+
[CEReactions] attribute FrozenArray<Element>? ariaLabelledByElements;
|
|
32
|
+
[CEReactions] attribute DOMString? ariaLevel;
|
|
33
|
+
[CEReactions] attribute DOMString? ariaLive;
|
|
34
|
+
[CEReactions] attribute DOMString? ariaModal;
|
|
35
|
+
[CEReactions] attribute DOMString? ariaMultiLine;
|
|
36
|
+
[CEReactions] attribute DOMString? ariaMultiSelectable;
|
|
37
|
+
[CEReactions] attribute DOMString? ariaOrientation;
|
|
38
|
+
[CEReactions] attribute FrozenArray<Element>? ariaOwnsElements;
|
|
39
|
+
[CEReactions] attribute DOMString? ariaPlaceholder;
|
|
40
|
+
[CEReactions] attribute DOMString? ariaPosInSet;
|
|
41
|
+
[CEReactions] attribute DOMString? ariaPressed;
|
|
42
|
+
[CEReactions] attribute DOMString? ariaReadOnly;
|
|
43
43
|
|
|
44
|
-
attribute DOMString? ariaRequired;
|
|
45
|
-
attribute DOMString? ariaRoleDescription;
|
|
46
|
-
attribute DOMString? ariaRowCount;
|
|
47
|
-
attribute DOMString? ariaRowIndex;
|
|
48
|
-
attribute DOMString? ariaRowIndexText;
|
|
49
|
-
attribute DOMString? ariaRowSpan;
|
|
50
|
-
attribute DOMString? ariaSelected;
|
|
51
|
-
attribute DOMString? ariaSetSize;
|
|
52
|
-
attribute DOMString? ariaSort;
|
|
53
|
-
attribute DOMString? ariaValueMax;
|
|
54
|
-
attribute DOMString? ariaValueMin;
|
|
55
|
-
attribute DOMString? ariaValueNow;
|
|
56
|
-
attribute DOMString? ariaValueText;
|
|
44
|
+
[CEReactions] attribute DOMString? ariaRequired;
|
|
45
|
+
[CEReactions] attribute DOMString? ariaRoleDescription;
|
|
46
|
+
[CEReactions] attribute DOMString? ariaRowCount;
|
|
47
|
+
[CEReactions] attribute DOMString? ariaRowIndex;
|
|
48
|
+
[CEReactions] attribute DOMString? ariaRowIndexText;
|
|
49
|
+
[CEReactions] attribute DOMString? ariaRowSpan;
|
|
50
|
+
[CEReactions] attribute DOMString? ariaSelected;
|
|
51
|
+
[CEReactions] attribute DOMString? ariaSetSize;
|
|
52
|
+
[CEReactions] attribute DOMString? ariaSort;
|
|
53
|
+
[CEReactions] attribute DOMString? ariaValueMax;
|
|
54
|
+
[CEReactions] attribute DOMString? ariaValueMin;
|
|
55
|
+
[CEReactions] attribute DOMString? ariaValueNow;
|
|
56
|
+
[CEReactions] attribute DOMString? ariaValueText;
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
Element includes ARIAMixin;
|
package/webcodecs.idl
CHANGED
|
@@ -473,10 +473,9 @@ interface ImageTrackList {
|
|
|
473
473
|
};
|
|
474
474
|
|
|
475
475
|
[Exposed=(Window,DedicatedWorker)]
|
|
476
|
-
interface ImageTrack
|
|
476
|
+
interface ImageTrack {
|
|
477
477
|
readonly attribute boolean animated;
|
|
478
478
|
readonly attribute unsigned long frameCount;
|
|
479
479
|
readonly attribute unrestricted float repetitionCount;
|
|
480
|
-
attribute EventHandler onchange;
|
|
481
480
|
attribute boolean selected;
|
|
482
481
|
};
|
package/webgpu.idl
CHANGED
|
@@ -18,6 +18,7 @@ interface GPUSupportedLimits {
|
|
|
18
18
|
readonly attribute unsigned long maxTextureDimension3D;
|
|
19
19
|
readonly attribute unsigned long maxTextureArrayLayers;
|
|
20
20
|
readonly attribute unsigned long maxBindGroups;
|
|
21
|
+
readonly attribute unsigned long maxBindingsPerBindGroup;
|
|
21
22
|
readonly attribute unsigned long maxDynamicUniformBuffersPerPipelineLayout;
|
|
22
23
|
readonly attribute unsigned long maxDynamicStorageBuffersPerPipelineLayout;
|
|
23
24
|
readonly attribute unsigned long maxSampledTexturesPerShaderStage;
|
|
@@ -30,11 +31,13 @@ interface GPUSupportedLimits {
|
|
|
30
31
|
readonly attribute unsigned long minUniformBufferOffsetAlignment;
|
|
31
32
|
readonly attribute unsigned long minStorageBufferOffsetAlignment;
|
|
32
33
|
readonly attribute unsigned long maxVertexBuffers;
|
|
34
|
+
readonly attribute unsigned long long maxBufferSize;
|
|
33
35
|
readonly attribute unsigned long maxVertexAttributes;
|
|
34
36
|
readonly attribute unsigned long maxVertexBufferArrayStride;
|
|
35
37
|
readonly attribute unsigned long maxInterStageShaderComponents;
|
|
36
38
|
readonly attribute unsigned long maxInterStageShaderVariables;
|
|
37
39
|
readonly attribute unsigned long maxColorAttachments;
|
|
40
|
+
readonly attribute unsigned long maxColorAttachmentBytesPerPixel;
|
|
38
41
|
readonly attribute unsigned long maxComputeWorkgroupStorageSize;
|
|
39
42
|
readonly attribute unsigned long maxComputeInvocationsPerWorkgroup;
|
|
40
43
|
readonly attribute unsigned long maxComputeWorkgroupSizeX;
|
|
@@ -140,17 +143,25 @@ GPUDevice includes GPUObjectBase;
|
|
|
140
143
|
|
|
141
144
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
142
145
|
interface GPUBuffer {
|
|
146
|
+
readonly attribute GPUSize64 size;
|
|
147
|
+
readonly attribute GPUBufferUsageFlags usage;
|
|
148
|
+
|
|
149
|
+
readonly attribute GPUBufferMapState mapState;
|
|
150
|
+
|
|
143
151
|
Promise<undefined> mapAsync(GPUMapModeFlags mode, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
144
152
|
ArrayBuffer getMappedRange(optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
145
153
|
undefined unmap();
|
|
146
154
|
|
|
147
155
|
undefined destroy();
|
|
148
|
-
|
|
149
|
-
readonly attribute GPUSize64 size;
|
|
150
|
-
readonly attribute GPUBufferUsageFlags usage;
|
|
151
156
|
};
|
|
152
157
|
GPUBuffer includes GPUObjectBase;
|
|
153
158
|
|
|
159
|
+
enum GPUBufferMapState {
|
|
160
|
+
"unmapped",
|
|
161
|
+
"pending",
|
|
162
|
+
"mapped"
|
|
163
|
+
};
|
|
164
|
+
|
|
154
165
|
dictionary GPUBufferDescriptor : GPUObjectDescriptorBase {
|
|
155
166
|
required GPUSize64 size;
|
|
156
167
|
required GPUBufferUsageFlags usage;
|
|
@@ -1149,26 +1160,32 @@ partial interface GPUDevice {
|
|
|
1149
1160
|
readonly attribute Promise<GPUDeviceLostInfo> lost;
|
|
1150
1161
|
};
|
|
1151
1162
|
|
|
1152
|
-
enum GPUErrorFilter {
|
|
1153
|
-
"out-of-memory",
|
|
1154
|
-
"validation"
|
|
1155
|
-
};
|
|
1156
|
-
|
|
1157
1163
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1158
1164
|
interface GPUError {
|
|
1159
1165
|
readonly attribute DOMString message;
|
|
1160
1166
|
};
|
|
1161
1167
|
|
|
1168
|
+
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1169
|
+
interface GPUValidationError : GPUError {
|
|
1170
|
+
constructor(DOMString message);
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1162
1173
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1163
1174
|
interface GPUOutOfMemoryError : GPUError {
|
|
1164
1175
|
constructor(DOMString message);
|
|
1165
1176
|
};
|
|
1166
1177
|
|
|
1167
1178
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1168
|
-
interface
|
|
1179
|
+
interface GPUInternalError : GPUError {
|
|
1169
1180
|
constructor(DOMString message);
|
|
1170
1181
|
};
|
|
1171
1182
|
|
|
1183
|
+
enum GPUErrorFilter {
|
|
1184
|
+
"validation",
|
|
1185
|
+
"out-of-memory",
|
|
1186
|
+
"internal"
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1172
1189
|
partial interface GPUDevice {
|
|
1173
1190
|
undefined pushErrorScope(GPUErrorFilter filter);
|
|
1174
1191
|
Promise<GPUError?> popErrorScope();
|
|
@@ -1180,7 +1197,7 @@ interface GPUUncapturedErrorEvent : Event {
|
|
|
1180
1197
|
DOMString type,
|
|
1181
1198
|
GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict
|
|
1182
1199
|
);
|
|
1183
|
-
readonly attribute GPUError error;
|
|
1200
|
+
[SameObject] readonly attribute GPUError error;
|
|
1184
1201
|
};
|
|
1185
1202
|
|
|
1186
1203
|
dictionary GPUUncapturedErrorEventInit : EventInit {
|
package/webnn.idl
CHANGED
|
@@ -31,26 +31,20 @@ interface ML {
|
|
|
31
31
|
MLContext createContext(GPUDevice gpuDevice);
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
required ArrayBufferView resource;
|
|
36
|
-
required sequence<long> dimensions;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
typedef record<DOMString, (ArrayBufferView or MLArrayInput)> MLNamedArrayInputs;
|
|
40
|
-
typedef record<DOMString, ArrayBufferView> MLNamedArrayOutputs;
|
|
34
|
+
typedef record<DOMString, ArrayBufferView> MLNamedArrayBufferViews;
|
|
41
35
|
|
|
42
36
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
43
37
|
interface MLContext {};
|
|
44
38
|
|
|
45
39
|
partial interface MLContext {
|
|
46
40
|
[Exposed=(DedicatedWorker)]
|
|
47
|
-
undefined compute(
|
|
41
|
+
undefined compute(
|
|
42
|
+
MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
|
|
48
43
|
};
|
|
49
44
|
|
|
50
45
|
partial interface MLContext {
|
|
51
|
-
Promise<undefined> computeAsync(
|
|
52
|
-
|
|
53
|
-
MLNamedArrayOutputs outputs);
|
|
46
|
+
Promise<undefined> computeAsync(
|
|
47
|
+
MLGraph graph, MLNamedArrayBufferViews inputs, MLNamedArrayBufferViews outputs);
|
|
54
48
|
};
|
|
55
49
|
|
|
56
50
|
partial interface MLContext {
|
|
@@ -76,8 +70,7 @@ dictionary MLOperandDescriptor {
|
|
|
76
70
|
required MLOperandType type;
|
|
77
71
|
|
|
78
72
|
// The dimensions field is only required for tensor operands.
|
|
79
|
-
|
|
80
|
-
sequence<long> dimensions;
|
|
73
|
+
sequence<unsigned long> dimensions;
|
|
81
74
|
};
|
|
82
75
|
|
|
83
76
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
@@ -484,13 +477,7 @@ interface MLGraph {};
|
|
|
484
477
|
|
|
485
478
|
typedef (GPUBuffer or GPUTexture) MLGPUResource;
|
|
486
479
|
|
|
487
|
-
|
|
488
|
-
required MLGPUResource resource;
|
|
489
|
-
required sequence<long> dimensions;
|
|
490
|
-
};
|
|
491
|
-
|
|
492
|
-
typedef record<DOMString, (MLGPUResource or MLGPUInput)> MLNamedGPUInputs;
|
|
493
|
-
typedef record<DOMString, MLGPUResource> MLNamedGPUOutputs;
|
|
480
|
+
typedef record<DOMString, MLGPUResource> MLNamedGPUResources;
|
|
494
481
|
|
|
495
482
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
|
496
483
|
interface MLCommandEncoder {};
|
|
@@ -500,7 +487,7 @@ partial interface MLCommandEncoder {
|
|
|
500
487
|
};
|
|
501
488
|
|
|
502
489
|
partial interface MLCommandEncoder {
|
|
503
|
-
undefined dispatch(MLGraph graph,
|
|
490
|
+
undefined dispatch(MLGraph graph, MLNamedGPUResources inputs, MLNamedGPUResources outputs);
|
|
504
491
|
};
|
|
505
492
|
|
|
506
493
|
partial interface MLCommandEncoder {
|
package/webtransport.idl
CHANGED
|
@@ -22,6 +22,7 @@ interface WebTransport {
|
|
|
22
22
|
Promise<WebTransportStats> getStats();
|
|
23
23
|
readonly attribute Promise<undefined> ready;
|
|
24
24
|
readonly attribute WebTransportReliabilityMode reliability;
|
|
25
|
+
readonly attribute WebTransportCongestionControl congestionControl;
|
|
25
26
|
readonly attribute Promise<WebTransportCloseInfo> closed;
|
|
26
27
|
undefined close(optional WebTransportCloseInfo closeInfo = {});
|
|
27
28
|
|
|
@@ -51,6 +52,13 @@ dictionary WebTransportOptions {
|
|
|
51
52
|
boolean allowPooling = false;
|
|
52
53
|
boolean requireUnreliable = false;
|
|
53
54
|
sequence<WebTransportHash> serverCertificateHashes;
|
|
55
|
+
WebTransportCongestionControl congestionControl = "default";
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
enum WebTransportCongestionControl {
|
|
59
|
+
"default",
|
|
60
|
+
"throughput",
|
|
61
|
+
"low-latency",
|
|
54
62
|
};
|
|
55
63
|
|
|
56
64
|
dictionary WebTransportCloseInfo {
|
package/webxr.idl
CHANGED
|
@@ -23,8 +23,8 @@ enum XRSessionMode {
|
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
dictionary XRSessionInit {
|
|
26
|
-
sequence<
|
|
27
|
-
sequence<
|
|
26
|
+
sequence<DOMString> requiredFeatures;
|
|
27
|
+
sequence<DOMString> optionalFeatures;
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
enum XRVisibilityState {
|
|
@@ -40,6 +40,7 @@ enum XRVisibilityState {
|
|
|
40
40
|
readonly attribute Float32Array? supportedFrameRates;
|
|
41
41
|
[SameObject] readonly attribute XRRenderState renderState;
|
|
42
42
|
[SameObject] readonly attribute XRInputSourceArray inputSources;
|
|
43
|
+
readonly attribute FrozenArray<DOMString> enabledFeatures;
|
|
43
44
|
|
|
44
45
|
// Methods
|
|
45
46
|
undefined updateRenderState(optional XRRenderStateInit state = {});
|
|
@@ -283,11 +284,11 @@ dictionary XRSessionSupportedPermissionDescriptor: PermissionDescriptor {
|
|
|
283
284
|
|
|
284
285
|
dictionary XRPermissionDescriptor: PermissionDescriptor {
|
|
285
286
|
XRSessionMode mode;
|
|
286
|
-
sequence<
|
|
287
|
-
sequence<
|
|
287
|
+
sequence<DOMString> requiredFeatures;
|
|
288
|
+
sequence<DOMString> optionalFeatures;
|
|
288
289
|
};
|
|
289
290
|
|
|
290
291
|
[Exposed=Window]
|
|
291
292
|
interface XRPermissionStatus: PermissionStatus {
|
|
292
|
-
attribute FrozenArray<
|
|
293
|
+
attribute FrozenArray<DOMString> granted;
|
|
293
294
|
};
|