@webref/idl 3.12.1 → 3.12.4
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 +1 -0
- package/FedCM.idl +13 -20
- package/WEBGL_multi_draw.idl +2 -2
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +2 -2
- package/cookie-store.idl +2 -2
- package/credential-management.idl +1 -1
- package/cssom-view.idl +2 -3
- package/dom.idl +1 -1
- package/fetch.idl +2 -0
- package/file-system-access.idl +1 -0
- package/mediacapture-streams.idl +6 -6
- package/mediastream-recording.idl +0 -10
- package/package.json +1 -1
- package/pointerevents.idl +4 -4
- package/screen-capture.idl +6 -0
- package/web-animations.idl +0 -3
- package/webauthn.idl +83 -1
- package/webgpu.idl +15 -14
- package/webhid.idl +6 -1
- package/webnn.idl +1 -2
- package/webrtc-encoded-transform.idl +2 -2
- package/webrtc-stats.idl +1 -0
package/CSP.idl
CHANGED
package/FedCM.idl
CHANGED
|
@@ -4,37 +4,30 @@
|
|
|
4
4
|
// Source: Federated Credential Management API (https://fedidcg.github.io/FedCM/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window, SecureContext]
|
|
7
|
-
|
|
8
|
-
|
|
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? token;
|
|
15
9
|
};
|
|
16
10
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
USVString idToken;
|
|
11
|
+
partial dictionary CredentialRequestOptions {
|
|
12
|
+
IdentityCredentialRequestOptions identity;
|
|
20
13
|
};
|
|
21
14
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
Promise<undefined> revoke(USVString hint);
|
|
15
|
+
dictionary IdentityCredentialRequestOptions {
|
|
16
|
+
sequence<IdentityProvider> providers;
|
|
25
17
|
};
|
|
26
18
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
19
|
+
dictionary IdentityProvider {
|
|
20
|
+
required USVString configURL;
|
|
21
|
+
required USVString clientId;
|
|
22
|
+
USVString nonce;
|
|
30
23
|
};
|
|
31
24
|
|
|
32
|
-
dictionary
|
|
25
|
+
dictionary IdentityCredentialLogoutRpsRequest {
|
|
33
26
|
required USVString url;
|
|
34
27
|
required USVString accountId;
|
|
35
28
|
};
|
|
36
29
|
|
|
37
30
|
[Exposed=Window, SecureContext]
|
|
38
|
-
partial interface
|
|
39
|
-
static Promise<undefined> logoutRPs(sequence<
|
|
31
|
+
partial interface IdentityCredential {
|
|
32
|
+
static Promise<undefined> logoutRPs(sequence<IdentityCredentialLogoutRpsRequest> logoutRequests);
|
|
40
33
|
};
|
package/WEBGL_multi_draw.idl
CHANGED
|
@@ -12,7 +12,7 @@ interface WEBGL_multi_draw {
|
|
|
12
12
|
GLsizei drawcount);
|
|
13
13
|
undefined multiDrawElementsWEBGL(
|
|
14
14
|
GLenum mode,
|
|
15
|
-
([AllowShared] Int32Array or sequence<
|
|
15
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
|
|
16
16
|
GLenum type,
|
|
17
17
|
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, GLuint offsetsOffset,
|
|
18
18
|
GLsizei drawcount);
|
|
@@ -24,7 +24,7 @@ interface WEBGL_multi_draw {
|
|
|
24
24
|
GLsizei drawcount);
|
|
25
25
|
undefined multiDrawElementsInstancedWEBGL(
|
|
26
26
|
GLenum mode,
|
|
27
|
-
([AllowShared] Int32Array or sequence<
|
|
27
|
+
([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
|
|
28
28
|
GLenum type,
|
|
29
29
|
([AllowShared] Int32Array or sequence<GLsizei>) offsetsList, GLuint offsetsOffset,
|
|
30
30
|
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
|
|
@@ -11,7 +11,7 @@ interface WEBGL_multi_draw_instanced_base_vertex_base_instance {
|
|
|
11
11
|
([AllowShared] Int32Array or sequence<GLsizei>) countsList, GLuint countsOffset,
|
|
12
12
|
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
|
|
13
13
|
([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, GLuint baseInstancesOffset,
|
|
14
|
-
GLsizei
|
|
14
|
+
GLsizei drawcount
|
|
15
15
|
);
|
|
16
16
|
undefined multiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(
|
|
17
17
|
GLenum mode,
|
|
@@ -21,6 +21,6 @@ interface WEBGL_multi_draw_instanced_base_vertex_base_instance {
|
|
|
21
21
|
([AllowShared] Int32Array or sequence<GLsizei>) instanceCountsList, GLuint instanceCountsOffset,
|
|
22
22
|
([AllowShared] Int32Array or sequence<GLint>) baseVerticesList, GLuint baseVerticesOffset,
|
|
23
23
|
([AllowShared] Uint32Array or sequence<GLuint>) baseInstancesList, GLuint baseInstancesOffset,
|
|
24
|
-
GLsizei
|
|
24
|
+
GLsizei drawcount
|
|
25
25
|
);
|
|
26
26
|
};
|
package/cookie-store.idl
CHANGED
|
@@ -36,7 +36,7 @@ enum CookieSameSite {
|
|
|
36
36
|
dictionary CookieInit {
|
|
37
37
|
required USVString name;
|
|
38
38
|
required USVString value;
|
|
39
|
-
|
|
39
|
+
EpochTimeStamp? expires = null;
|
|
40
40
|
USVString? domain = null;
|
|
41
41
|
USVString path = "/";
|
|
42
42
|
CookieSameSite sameSite = "strict";
|
|
@@ -53,7 +53,7 @@ dictionary CookieListItem {
|
|
|
53
53
|
USVString value;
|
|
54
54
|
USVString? domain;
|
|
55
55
|
USVString path;
|
|
56
|
-
|
|
56
|
+
EpochTimeStamp? expires;
|
|
57
57
|
boolean secure;
|
|
58
58
|
CookieSameSite sameSite;
|
|
59
59
|
};
|
package/cssom-view.idl
CHANGED
|
@@ -100,8 +100,7 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
|
|
|
100
100
|
ScrollLogicalPosition inline = "nearest";
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
dictionary
|
|
104
|
-
boolean checkInert = false;
|
|
103
|
+
dictionary CheckVisibilityOptions {
|
|
105
104
|
boolean checkOpacity = false;
|
|
106
105
|
boolean checkVisibilityCSS = false;
|
|
107
106
|
};
|
|
@@ -110,7 +109,7 @@ partial interface Element {
|
|
|
110
109
|
DOMRectList getClientRects();
|
|
111
110
|
[NewObject] DOMRect getBoundingClientRect();
|
|
112
111
|
|
|
113
|
-
boolean
|
|
112
|
+
boolean checkVisibility(optional CheckVisibilityOptions options = {});
|
|
114
113
|
|
|
115
114
|
undefined scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
|
|
116
115
|
undefined scroll(optional ScrollToOptions options = {});
|
package/dom.idl
CHANGED
package/fetch.idl
CHANGED
|
@@ -69,6 +69,7 @@ dictionary RequestInit {
|
|
|
69
69
|
DOMString integrity;
|
|
70
70
|
boolean keepalive;
|
|
71
71
|
AbortSignal? signal;
|
|
72
|
+
RequestDuplex duplex;
|
|
72
73
|
any window; // can only be set to null
|
|
73
74
|
};
|
|
74
75
|
|
|
@@ -77,6 +78,7 @@ enum RequestMode { "navigate", "same-origin", "no-cors", "cors" };
|
|
|
77
78
|
enum RequestCredentials { "omit", "same-origin", "include" };
|
|
78
79
|
enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
|
|
79
80
|
enum RequestRedirect { "follow", "error", "manual" };
|
|
81
|
+
enum RequestDuplex { "half" };
|
|
80
82
|
|
|
81
83
|
[Exposed=(Window,Worker)]interface Response {
|
|
82
84
|
constructor(optional BodyInit? body = null, optional ResponseInit init = {});
|
package/file-system-access.idl
CHANGED
package/mediacapture-streams.idl
CHANGED
|
@@ -179,12 +179,6 @@ interface InputDeviceInfo : MediaDeviceInfo {
|
|
|
179
179
|
MediaTrackCapabilities getCapabilities();
|
|
180
180
|
};
|
|
181
181
|
|
|
182
|
-
partial interface Navigator {
|
|
183
|
-
[SecureContext] undefined getUserMedia(MediaStreamConstraints constraints,
|
|
184
|
-
NavigatorUserMediaSuccessCallback successCallback,
|
|
185
|
-
NavigatorUserMediaErrorCallback errorCallback);
|
|
186
|
-
};
|
|
187
|
-
|
|
188
182
|
partial interface MediaDevices {
|
|
189
183
|
MediaTrackSupportedConstraints getSupportedConstraints();
|
|
190
184
|
Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints = {});
|
|
@@ -195,6 +189,12 @@ dictionary MediaStreamConstraints {
|
|
|
195
189
|
(boolean or MediaTrackConstraints) audio = false;
|
|
196
190
|
};
|
|
197
191
|
|
|
192
|
+
partial interface Navigator {
|
|
193
|
+
[SecureContext] undefined getUserMedia(MediaStreamConstraints constraints,
|
|
194
|
+
NavigatorUserMediaSuccessCallback successCallback,
|
|
195
|
+
NavigatorUserMediaErrorCallback errorCallback);
|
|
196
|
+
};
|
|
197
|
+
|
|
198
198
|
callback NavigatorUserMediaSuccessCallback = undefined (MediaStream stream);
|
|
199
199
|
|
|
200
200
|
callback NavigatorUserMediaErrorCallback = undefined (DOMException error);
|
|
@@ -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
|
-
};
|
package/package.json
CHANGED
package/pointerevents.idl
CHANGED
|
@@ -46,17 +46,17 @@ partial interface Element {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
partial interface mixin GlobalEventHandlers {
|
|
49
|
-
attribute EventHandler
|
|
50
|
-
attribute EventHandler
|
|
49
|
+
attribute EventHandler onpointerover;
|
|
50
|
+
attribute EventHandler onpointerenter;
|
|
51
51
|
attribute EventHandler onpointerdown;
|
|
52
52
|
attribute EventHandler onpointermove;
|
|
53
53
|
[SecureContext] attribute EventHandler onpointerrawupdate;
|
|
54
54
|
attribute EventHandler onpointerup;
|
|
55
55
|
attribute EventHandler onpointercancel;
|
|
56
|
-
attribute EventHandler onpointerover;
|
|
57
56
|
attribute EventHandler onpointerout;
|
|
58
|
-
attribute EventHandler onpointerenter;
|
|
59
57
|
attribute EventHandler onpointerleave;
|
|
58
|
+
attribute EventHandler ongotpointercapture;
|
|
59
|
+
attribute EventHandler onlostpointercapture;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
partial interface Navigator {
|
package/screen-capture.idl
CHANGED
|
@@ -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-animations.idl
CHANGED
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface AnimationTimeline {
|
|
8
8
|
readonly attribute double? currentTime;
|
|
9
|
-
readonly attribute TimelinePhase phase;
|
|
10
9
|
};
|
|
11
10
|
|
|
12
11
|
dictionary DocumentTimelineOptions {
|
|
@@ -48,8 +47,6 @@ enum AnimationPlayState { "idle", "running", "paused", "finished" };
|
|
|
48
47
|
|
|
49
48
|
enum AnimationReplaceState { "active", "removed", "persisted" };
|
|
50
49
|
|
|
51
|
-
enum TimelinePhase { "inactive", "before", "active", "after" };
|
|
52
|
-
|
|
53
50
|
[Exposed=Window]
|
|
54
51
|
interface AnimationEffect {
|
|
55
52
|
EffectTiming getTiming();
|
package/webauthn.idl
CHANGED
|
@@ -9,6 +9,45 @@ interface PublicKeyCredential : Credential {
|
|
|
9
9
|
[SameObject] readonly attribute AuthenticatorResponse response;
|
|
10
10
|
[SameObject] readonly attribute DOMString? authenticatorAttachment;
|
|
11
11
|
AuthenticationExtensionsClientOutputs getClientExtensionResults();
|
|
12
|
+
static Promise<boolean> isConditionalMediationAvailable();
|
|
13
|
+
PublicKeyCredentialJSON toJSON();
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
typedef DOMString Base64URLString;
|
|
17
|
+
typedef (RegistrationResponseJSON or AuthenticationResponseJSON) PublicKeyCredentialJSON;
|
|
18
|
+
|
|
19
|
+
dictionary RegistrationResponseJSON {
|
|
20
|
+
Base64URLString id;
|
|
21
|
+
Base64URLString rawId;
|
|
22
|
+
AuthenticatorAttestationResponseJSON response;
|
|
23
|
+
DOMString? authenticatorAttachment;
|
|
24
|
+
AuthenticationExtensionsClientOutputsJSON clientExtensionResults;
|
|
25
|
+
DOMString type;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
dictionary AuthenticatorAttestationResponseJSON {
|
|
29
|
+
Base64URLString clientDataJSON;
|
|
30
|
+
Base64URLString attestationObject;
|
|
31
|
+
sequence<DOMString> transports;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
dictionary AuthenticationResponseJSON {
|
|
35
|
+
Base64URLString id;
|
|
36
|
+
Base64URLString rawId;
|
|
37
|
+
AuthenticatorAssertionResponseJSON response;
|
|
38
|
+
DOMString? authenticatorAttachment;
|
|
39
|
+
AuthenticationExtensionsClientOutputsJSON clientExtensionResults;
|
|
40
|
+
DOMString type;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
dictionary AuthenticatorAssertionResponseJSON {
|
|
44
|
+
Base64URLString clientDataJSON;
|
|
45
|
+
Base64URLString authenticatorData;
|
|
46
|
+
Base64URLString signature;
|
|
47
|
+
Base64URLString? userHandle;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
dictionary AuthenticationExtensionsClientOutputsJSON {
|
|
12
51
|
};
|
|
13
52
|
|
|
14
53
|
partial dictionary CredentialCreationOptions {
|
|
@@ -23,6 +62,50 @@ partial interface PublicKeyCredential {
|
|
|
23
62
|
static Promise<boolean> isUserVerifyingPlatformAuthenticatorAvailable();
|
|
24
63
|
};
|
|
25
64
|
|
|
65
|
+
partial interface PublicKeyCredential {
|
|
66
|
+
static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
dictionary PublicKeyCredentialCreationOptionsJSON {
|
|
70
|
+
required PublicKeyCredentialRpEntity rp;
|
|
71
|
+
required PublicKeyCredentialUserEntityJSON user;
|
|
72
|
+
required Base64URLString challenge;
|
|
73
|
+
required sequence<PublicKeyCredentialParameters> pubKeyCredParams;
|
|
74
|
+
unsigned long timeout;
|
|
75
|
+
sequence<PublicKeyCredentialDescriptorJSON> excludeCredentials = [];
|
|
76
|
+
AuthenticatorSelectionCriteria authenticatorSelection;
|
|
77
|
+
DOMString attestation = "none";
|
|
78
|
+
AuthenticationExtensionsClientInputsJSON extensions;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
dictionary PublicKeyCredentialUserEntityJSON {
|
|
82
|
+
required Base64URLString id;
|
|
83
|
+
required DOMString name;
|
|
84
|
+
required DOMString displayName;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
dictionary PublicKeyCredentialDescriptorJSON {
|
|
88
|
+
required Base64URLString id;
|
|
89
|
+
required DOMString type;
|
|
90
|
+
sequence<DOMString> transports;
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
dictionary AuthenticationExtensionsClientInputsJSON {
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
partial interface PublicKeyCredential {
|
|
97
|
+
static PublicKeyCredentialRequestOptions parseRequestOptionsFromJSON(PublicKeyCredentialRequestOptionsJSON options);
|
|
98
|
+
};
|
|
99
|
+
|
|
100
|
+
dictionary PublicKeyCredentialRequestOptionsJSON {
|
|
101
|
+
required Base64URLString challenge;
|
|
102
|
+
unsigned long timeout;
|
|
103
|
+
DOMString rpId;
|
|
104
|
+
sequence<PublicKeyCredentialDescriptorJSON> allowCredentials = [];
|
|
105
|
+
DOMString userVerification = "preferred";
|
|
106
|
+
AuthenticationExtensionsClientInputsJSON extensions;
|
|
107
|
+
};
|
|
108
|
+
|
|
26
109
|
[SecureContext, Exposed=Window]
|
|
27
110
|
interface AuthenticatorResponse {
|
|
28
111
|
[SameObject] readonly attribute ArrayBuffer clientDataJSON;
|
|
@@ -121,7 +204,6 @@ dictionary CollectedClientData {
|
|
|
121
204
|
required DOMString challenge;
|
|
122
205
|
required DOMString origin;
|
|
123
206
|
boolean crossOrigin;
|
|
124
|
-
|
|
125
207
|
};
|
|
126
208
|
|
|
127
209
|
dictionary TokenBinding {
|
package/webgpu.idl
CHANGED
|
@@ -50,10 +50,10 @@ interface GPUSupportedFeatures {
|
|
|
50
50
|
|
|
51
51
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
52
52
|
interface GPUAdapterInfo {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
readonly attribute DOMString vendor;
|
|
54
|
+
readonly attribute DOMString architecture;
|
|
55
|
+
readonly attribute DOMString device;
|
|
56
|
+
readonly attribute DOMString description;
|
|
57
57
|
};
|
|
58
58
|
|
|
59
59
|
interface mixin NavigatorGPU {
|
|
@@ -894,12 +894,12 @@ dictionary GPUImageCopyExternalImage {
|
|
|
894
894
|
|
|
895
895
|
interface mixin GPUBindingCommandsMixin {
|
|
896
896
|
undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
|
|
897
|
-
|
|
897
|
+
optional sequence<GPUBufferDynamicOffset> dynamicOffsets = []);
|
|
898
898
|
|
|
899
899
|
undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
900
|
+
Uint32Array dynamicOffsetsData,
|
|
901
|
+
GPUSize64 dynamicOffsetsDataStart,
|
|
902
|
+
GPUSize32 dynamicOffsetsDataLength);
|
|
903
903
|
};
|
|
904
904
|
|
|
905
905
|
interface mixin GPUDebugCommandsMixin {
|
|
@@ -941,8 +941,8 @@ dictionary GPUComputePassDescriptor : GPUObjectDescriptorBase {
|
|
|
941
941
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
942
942
|
interface GPURenderPassEncoder {
|
|
943
943
|
undefined setViewport(float x, float y,
|
|
944
|
-
|
|
945
|
-
|
|
944
|
+
float width, float height,
|
|
945
|
+
float minDepth, float maxDepth);
|
|
946
946
|
|
|
947
947
|
undefined setScissorRect(GPUIntegerCoordinate x, GPUIntegerCoordinate y,
|
|
948
948
|
GPUIntegerCoordinate width, GPUIntegerCoordinate height);
|
|
@@ -980,6 +980,7 @@ dictionary GPURenderPassDescriptor : GPUObjectDescriptorBase {
|
|
|
980
980
|
GPURenderPassDepthStencilAttachment depthStencilAttachment;
|
|
981
981
|
GPUQuerySet occlusionQuerySet;
|
|
982
982
|
GPURenderPassTimestampWrites timestampWrites = [];
|
|
983
|
+
GPUSize64 maxDrawCount = 50000000;
|
|
983
984
|
};
|
|
984
985
|
|
|
985
986
|
dictionary GPURenderPassColorAttachment {
|
|
@@ -1028,11 +1029,11 @@ interface mixin GPURenderCommandsMixin {
|
|
|
1028
1029
|
undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
1029
1030
|
|
|
1030
1031
|
undefined draw(GPUSize32 vertexCount, optional GPUSize32 instanceCount = 1,
|
|
1031
|
-
|
|
1032
|
+
optional GPUSize32 firstVertex = 0, optional GPUSize32 firstInstance = 0);
|
|
1032
1033
|
undefined drawIndexed(GPUSize32 indexCount, optional GPUSize32 instanceCount = 1,
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1034
|
+
optional GPUSize32 firstIndex = 0,
|
|
1035
|
+
optional GPUSignedOffset32 baseVertex = 0,
|
|
1036
|
+
optional GPUSize32 firstInstance = 0);
|
|
1036
1037
|
|
|
1037
1038
|
undefined drawIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
|
1038
1039
|
undefined drawIndexedIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
package/webhid.idl
CHANGED
|
@@ -7,7 +7,12 @@
|
|
|
7
7
|
[SameObject] readonly attribute HID hid;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
[Exposed=
|
|
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
|
|
92
|
+
required GPUBuffer resource;
|
|
94
93
|
unsigned long long offset = 0;
|
|
95
94
|
unsigned long long size;
|
|
96
95
|
};
|
|
@@ -86,7 +86,7 @@ dictionary RTCEncodedVideoFrameMetadata {
|
|
|
86
86
|
[Exposed=(Window,DedicatedWorker)]
|
|
87
87
|
interface RTCEncodedVideoFrame {
|
|
88
88
|
readonly attribute RTCEncodedVideoFrameType type;
|
|
89
|
-
readonly attribute unsigned long
|
|
89
|
+
readonly attribute unsigned long timestamp; // RTP timestamp.
|
|
90
90
|
attribute ArrayBuffer data;
|
|
91
91
|
RTCEncodedVideoFrameMetadata getMetadata();
|
|
92
92
|
};
|
|
@@ -99,7 +99,7 @@ dictionary RTCEncodedAudioFrameMetadata {
|
|
|
99
99
|
|
|
100
100
|
[Exposed=(Window,DedicatedWorker)]
|
|
101
101
|
interface RTCEncodedAudioFrame {
|
|
102
|
-
readonly attribute unsigned long
|
|
102
|
+
readonly attribute unsigned long timestamp; // RTP timestamp.
|
|
103
103
|
attribute ArrayBuffer data;
|
|
104
104
|
RTCEncodedAudioFrameMetadata getMetadata();
|
|
105
105
|
};
|
package/webrtc-stats.idl
CHANGED
|
@@ -72,6 +72,7 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
|
72
72
|
double jitterBufferDelay;
|
|
73
73
|
double jitterBufferTargetDelay;
|
|
74
74
|
unsigned long long jitterBufferEmittedCount;
|
|
75
|
+
double jitterBufferMinimumDelay;
|
|
75
76
|
unsigned long long totalSamplesReceived;
|
|
76
77
|
unsigned long long concealedSamples;
|
|
77
78
|
unsigned long long silentConcealedSamples;
|