@webref/idl 3.40.0 → 3.41.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/clipboard-apis.idl +5 -1
- package/encrypted-media.idl +17 -0
- package/html.idl +2 -0
- package/orientation-event.idl +4 -4
- package/package.json +1 -1
- package/private-network-access.idl +6 -2
- package/streams.idl +5 -1
- package/webauthn.idl +8 -7
- package/webgpu.idl +1 -3
- package/webtransport.idl +1 -0
package/clipboard-apis.idl
CHANGED
|
@@ -42,12 +42,16 @@ typedef sequence<ClipboardItem> ClipboardItems;
|
|
|
42
42
|
|
|
43
43
|
[SecureContext, Exposed=Window]
|
|
44
44
|
interface Clipboard : EventTarget {
|
|
45
|
-
Promise<ClipboardItems> read();
|
|
45
|
+
Promise<ClipboardItems> read(optional ClipboardUnsanitizedFormats formats = {});
|
|
46
46
|
Promise<DOMString> readText();
|
|
47
47
|
Promise<undefined> write(ClipboardItems data);
|
|
48
48
|
Promise<undefined> writeText(DOMString data);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
+
dictionary ClipboardUnsanitizedFormats {
|
|
52
|
+
sequence<DOMString> unsanitized;
|
|
53
|
+
};
|
|
54
|
+
|
|
51
55
|
dictionary ClipboardPermissionDescriptor : PermissionDescriptor {
|
|
52
56
|
boolean allowWithoutGesture = false;
|
|
53
57
|
};
|
package/encrypted-media.idl
CHANGED
|
@@ -43,9 +43,26 @@ enum MediaKeySessionType {
|
|
|
43
43
|
|
|
44
44
|
[Exposed=Window, SecureContext] interface MediaKeys {
|
|
45
45
|
MediaKeySession createSession (optional MediaKeySessionType sessionType = "temporary");
|
|
46
|
+
Promise<MediaKeyStatus> getStatusForPolicy (optional MediaKeysPolicy policy = {});
|
|
46
47
|
Promise<boolean> setServerCertificate (BufferSource serverCertificate);
|
|
47
48
|
};
|
|
48
49
|
|
|
50
|
+
dictionary MediaKeysPolicy {
|
|
51
|
+
HDCPVersion minHdcpVersion;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
enum HDCPVersion {
|
|
55
|
+
"1.0",
|
|
56
|
+
"1.1",
|
|
57
|
+
"1.2",
|
|
58
|
+
"1.3",
|
|
59
|
+
"1.4",
|
|
60
|
+
"2.0",
|
|
61
|
+
"2.1",
|
|
62
|
+
"2.2",
|
|
63
|
+
"2.3",
|
|
64
|
+
};
|
|
65
|
+
|
|
49
66
|
enum MediaKeySessionClosedReason {
|
|
50
67
|
"internal-error",
|
|
51
68
|
"closed-by-application",
|
package/html.idl
CHANGED
package/orientation-event.idl
CHANGED
|
@@ -29,10 +29,6 @@ partial interface Window {
|
|
|
29
29
|
[SecureContext] attribute EventHandler ondeviceorientationabsolute;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
partial interface Window {
|
|
33
|
-
[SecureContext] attribute EventHandler ondevicemotion;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
32
|
[Exposed=Window, SecureContext]
|
|
37
33
|
interface DeviceMotionEventAcceleration {
|
|
38
34
|
readonly attribute double? x;
|
|
@@ -47,6 +43,10 @@ interface DeviceMotionEventRotationRate {
|
|
|
47
43
|
readonly attribute double? gamma;
|
|
48
44
|
};
|
|
49
45
|
|
|
46
|
+
partial interface Window {
|
|
47
|
+
[SecureContext] attribute EventHandler ondevicemotion;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
50
|
[Exposed=Window, SecureContext]
|
|
51
51
|
interface DeviceMotionEvent : Event {
|
|
52
52
|
constructor(DOMString type, optional DeviceMotionEventInit eventInitDict = {});
|
package/package.json
CHANGED
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Private Network Access (https://wicg.github.io/private-network-access/)
|
|
5
5
|
|
|
6
|
+
enum IPAddressSpace { "public", "private", "local" };
|
|
7
|
+
|
|
6
8
|
dictionary PrivateNetworkAccessPermissionDescriptor
|
|
7
9
|
: PermissionDescriptor {
|
|
8
10
|
DOMString id;
|
|
9
11
|
};
|
|
10
12
|
|
|
11
13
|
partial dictionary RequestInit {
|
|
12
|
-
|
|
14
|
+
IPAddressSpace targetAddressSpace;
|
|
13
15
|
};
|
|
14
16
|
|
|
15
|
-
|
|
17
|
+
partial interface Request {
|
|
18
|
+
readonly attribute IPAddressSpace targetAddressSpace;
|
|
19
|
+
};
|
package/streams.idl
CHANGED
|
@@ -84,11 +84,15 @@ dictionary ReadableStreamReadResult {
|
|
|
84
84
|
interface ReadableStreamBYOBReader {
|
|
85
85
|
constructor(ReadableStream stream);
|
|
86
86
|
|
|
87
|
-
Promise<ReadableStreamReadResult> read(ArrayBufferView view);
|
|
87
|
+
Promise<ReadableStreamReadResult> read(ArrayBufferView view, optional ReadableStreamBYOBReaderReadOptions options = {});
|
|
88
88
|
undefined releaseLock();
|
|
89
89
|
};
|
|
90
90
|
ReadableStreamBYOBReader includes ReadableStreamGenericReader;
|
|
91
91
|
|
|
92
|
+
dictionary ReadableStreamBYOBReaderReadOptions {
|
|
93
|
+
[EnforceRange] unsigned long long min = 1;
|
|
94
|
+
};
|
|
95
|
+
|
|
92
96
|
[Exposed=*]
|
|
93
97
|
interface ReadableStreamDefaultController {
|
|
94
98
|
readonly attribute unrestricted double? desiredSize;
|
package/webauthn.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: Web Authentication: An API for accessing Public Key Credentials - Level (https://w3c.github.io/webauthn/)
|
|
4
|
+
// Source: Web Authentication: An API for accessing Public Key Credentials - Level 3 (https://w3c.github.io/webauthn/)
|
|
5
5
|
|
|
6
6
|
[SecureContext, Exposed=Window]
|
|
7
7
|
interface PublicKeyCredential : Credential {
|
|
@@ -364,19 +364,20 @@ partial dictionary AuthenticationExtensionsClientOutputs {
|
|
|
364
364
|
UvmEntries uvm;
|
|
365
365
|
};
|
|
366
366
|
|
|
367
|
-
dictionary
|
|
368
|
-
DOMString
|
|
367
|
+
dictionary AuthenticationExtensionsSupplementalPubKeysInputs {
|
|
368
|
+
required sequence<DOMString> scopes;
|
|
369
|
+
DOMString attestation = "indirect";
|
|
369
370
|
sequence<DOMString> attestationFormats = [];
|
|
370
371
|
};
|
|
371
372
|
|
|
372
373
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
373
|
-
|
|
374
|
+
AuthenticationExtensionsSupplementalPubKeysInputs supplementalPubKeys;
|
|
374
375
|
};
|
|
375
376
|
|
|
376
|
-
dictionary
|
|
377
|
-
ArrayBuffer
|
|
377
|
+
dictionary AuthenticationExtensionsSupplementalPubKeysOutputs {
|
|
378
|
+
sequence<ArrayBuffer> signatures;
|
|
378
379
|
};
|
|
379
380
|
|
|
380
381
|
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
381
|
-
|
|
382
|
+
AuthenticationExtensionsSupplementalPubKeysOutputs supplementalPubKeys;
|
|
382
383
|
};
|
package/webgpu.idl
CHANGED
|
@@ -636,7 +636,7 @@ interface mixin GPUPipelineBase {
|
|
|
636
636
|
|
|
637
637
|
dictionary GPUProgrammableStage {
|
|
638
638
|
required GPUShaderModule module;
|
|
639
|
-
|
|
639
|
+
USVString entryPoint;
|
|
640
640
|
record<USVString, GPUPipelineConstantValue> constants;
|
|
641
641
|
};
|
|
642
642
|
|
|
@@ -939,8 +939,6 @@ interface GPUCommandEncoder {
|
|
|
939
939
|
optional GPUSize64 offset = 0,
|
|
940
940
|
optional GPUSize64 size);
|
|
941
941
|
|
|
942
|
-
undefined writeTimestamp(GPUQuerySet querySet, GPUSize32 queryIndex);
|
|
943
|
-
|
|
944
942
|
undefined resolveQuerySet(
|
|
945
943
|
GPUQuerySet querySet,
|
|
946
944
|
GPUSize32 firstQuery,
|
package/webtransport.idl
CHANGED