@webref/idl 3.12.2 → 3.12.3
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 +1 -2
- package/WEBGL_multi_draw.idl +2 -2
- package/WEBGL_multi_draw_instanced_base_vertex_base_instance.idl +2 -2
- package/credential-management.idl +1 -1
- package/cssom-view.idl +2 -2
- package/dom.idl +1 -1
- package/fetch.idl +2 -0
- package/file-system-access.idl +1 -0
- package/mediacapture-streams.idl +6 -6
- package/package.json +1 -1
- package/webauthn.idl +83 -1
- package/webgpu.idl +14 -14
- package/webrtc-stats.idl +1 -0
package/CSP.idl
CHANGED
package/FedCM.idl
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
[Exposed=Window, SecureContext]
|
|
7
7
|
interface IdentityCredential : Credential {
|
|
8
|
-
readonly attribute USVString?
|
|
8
|
+
readonly attribute USVString? token;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
partial dictionary CredentialRequestOptions {
|
|
@@ -20,7 +20,6 @@ dictionary IdentityProvider {
|
|
|
20
20
|
required USVString configURL;
|
|
21
21
|
required USVString clientId;
|
|
22
22
|
USVString nonce;
|
|
23
|
-
USVString hint;
|
|
24
23
|
};
|
|
25
24
|
|
|
26
25
|
dictionary IdentityCredentialLogoutRpsRequest {
|
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/cssom-view.idl
CHANGED
|
@@ -100,7 +100,7 @@ dictionary ScrollIntoViewOptions : ScrollOptions {
|
|
|
100
100
|
ScrollLogicalPosition inline = "nearest";
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
dictionary
|
|
103
|
+
dictionary CheckVisibilityOptions {
|
|
104
104
|
boolean checkOpacity = false;
|
|
105
105
|
boolean checkVisibilityCSS = false;
|
|
106
106
|
};
|
|
@@ -109,7 +109,7 @@ partial interface Element {
|
|
|
109
109
|
DOMRectList getClientRects();
|
|
110
110
|
[NewObject] DOMRect getBoundingClientRect();
|
|
111
111
|
|
|
112
|
-
boolean
|
|
112
|
+
boolean checkVisibility(optional CheckVisibilityOptions options = {});
|
|
113
113
|
|
|
114
114
|
undefined scrollIntoView(optional (boolean or ScrollIntoViewOptions) arg = {});
|
|
115
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);
|
package/package.json
CHANGED
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);
|
|
@@ -1029,11 +1029,11 @@ interface mixin GPURenderCommandsMixin {
|
|
|
1029
1029
|
undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
1030
1030
|
|
|
1031
1031
|
undefined draw(GPUSize32 vertexCount, optional GPUSize32 instanceCount = 1,
|
|
1032
|
-
|
|
1032
|
+
optional GPUSize32 firstVertex = 0, optional GPUSize32 firstInstance = 0);
|
|
1033
1033
|
undefined drawIndexed(GPUSize32 indexCount, optional GPUSize32 instanceCount = 1,
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1034
|
+
optional GPUSize32 firstIndex = 0,
|
|
1035
|
+
optional GPUSignedOffset32 baseVertex = 0,
|
|
1036
|
+
optional GPUSize32 firstInstance = 0);
|
|
1037
1037
|
|
|
1038
1038
|
undefined drawIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
|
1039
1039
|
undefined drawIndexedIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
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;
|