@webref/idl 3.54.0 → 3.55.0
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/digital-credentials.idl +3 -7
- package/mediaqueries-5.idl +30 -0
- package/package.json +1 -1
- package/webauthn.idl +1 -1
- package/webhid.idl +5 -5
- package/webnn.idl +1 -1
- package/webtransport.idl +2 -0
package/digital-credentials.idl
CHANGED
|
@@ -3,21 +3,17 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Digital Credentials (https://wicg.github.io/digital-credentials/)
|
|
5
5
|
|
|
6
|
-
partial interface Navigator {
|
|
7
|
-
[SecureContext, SameObject] readonly attribute CredentialsContainer identity;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
6
|
partial dictionary CredentialRequestOptions {
|
|
11
7
|
DigitalCredentialRequestOptions digital;
|
|
12
8
|
};
|
|
13
9
|
|
|
14
10
|
dictionary DigitalCredentialRequestOptions {
|
|
15
|
-
sequence<
|
|
11
|
+
sequence<DigitalCredentialsRequest> requests;
|
|
16
12
|
};
|
|
17
13
|
|
|
18
|
-
dictionary
|
|
14
|
+
dictionary DigitalCredentialsRequest {
|
|
19
15
|
required DOMString protocol;
|
|
20
|
-
required object
|
|
16
|
+
required object data;
|
|
21
17
|
};
|
|
22
18
|
|
|
23
19
|
[Exposed=Window, SecureContext]
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Media Queries Level 5 (https://drafts.csswg.org/mediaqueries-5/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window, SecureContext]
|
|
7
|
+
partial interface Navigator {
|
|
8
|
+
[SameObject] readonly attribute PreferenceManager preferences;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed=Window, SecureContext]
|
|
12
|
+
interface PreferenceManager {
|
|
13
|
+
readonly attribute PreferenceObject colorScheme;
|
|
14
|
+
readonly attribute PreferenceObject contrast;
|
|
15
|
+
readonly attribute PreferenceObject reducedMotion;
|
|
16
|
+
readonly attribute PreferenceObject reducedTransparency;
|
|
17
|
+
readonly attribute PreferenceObject reducedData;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
[Exposed=Window, SecureContext]
|
|
21
|
+
interface PreferenceObject : EventTarget {
|
|
22
|
+
readonly attribute DOMString? override;
|
|
23
|
+
readonly attribute DOMString value;
|
|
24
|
+
readonly attribute FrozenArray<DOMString> validValues;
|
|
25
|
+
|
|
26
|
+
undefined clearOverride();
|
|
27
|
+
Promise<undefined> requestOverride(DOMString? value);
|
|
28
|
+
|
|
29
|
+
attribute EventHandler onchange;
|
|
30
|
+
};
|
package/package.json
CHANGED
package/webauthn.idl
CHANGED
package/webhid.idl
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
[SameObject] readonly attribute HID hid;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
[Exposed=ServiceWorker, SecureContext]
|
|
10
|
+
[Exposed=(DedicatedWorker,ServiceWorker), SecureContext]
|
|
11
11
|
partial interface WorkerNavigator {
|
|
12
12
|
[SameObject] readonly attribute HID hid;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
-
[Exposed=(
|
|
15
|
+
[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
|
|
16
16
|
interface HID : EventTarget {
|
|
17
17
|
attribute EventHandler onconnect;
|
|
18
18
|
attribute EventHandler ondisconnect;
|
|
@@ -33,7 +33,7 @@ dictionary HIDDeviceFilter {
|
|
|
33
33
|
unsigned short usage;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
-
[Exposed=Window, SecureContext]
|
|
36
|
+
[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
|
|
37
37
|
interface HIDDevice : EventTarget {
|
|
38
38
|
attribute EventHandler oninputreport;
|
|
39
39
|
readonly attribute boolean opened;
|
|
@@ -51,7 +51,7 @@ interface HIDDevice : EventTarget {
|
|
|
51
51
|
Promise<DataView> receiveFeatureReport([EnforceRange] octet reportId);
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
-
[Exposed=Window, SecureContext]
|
|
54
|
+
[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
|
|
55
55
|
interface HIDConnectionEvent : Event {
|
|
56
56
|
constructor(DOMString type, HIDConnectionEventInit eventInitDict);
|
|
57
57
|
[SameObject] readonly attribute HIDDevice device;
|
|
@@ -61,7 +61,7 @@ dictionary HIDConnectionEventInit : EventInit {
|
|
|
61
61
|
required HIDDevice device;
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
[Exposed=Window, SecureContext]
|
|
64
|
+
[Exposed=(DedicatedWorker,ServiceWorker,Window), SecureContext]
|
|
65
65
|
interface HIDInputReportEvent : Event {
|
|
66
66
|
constructor(DOMString type, HIDInputReportEventInit eventInitDict);
|
|
67
67
|
[SameObject] readonly attribute HIDDevice device;
|
package/webnn.idl
CHANGED
|
@@ -90,7 +90,7 @@ enum MLOperandDataType {
|
|
|
90
90
|
|
|
91
91
|
dictionary MLOperandDescriptor {
|
|
92
92
|
required MLOperandDataType dataType;
|
|
93
|
-
sequence<[EnforceRange] unsigned long>
|
|
93
|
+
sequence<[EnforceRange] unsigned long> shape = [];
|
|
94
94
|
};
|
|
95
95
|
|
|
96
96
|
[SecureContext, Exposed=(Window, DedicatedWorker)]
|
package/webtransport.idl
CHANGED
|
@@ -25,6 +25,7 @@ interface WebTransport {
|
|
|
25
25
|
readonly attribute WebTransportCongestionControl congestionControl;
|
|
26
26
|
[EnforceRange] attribute unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams;
|
|
27
27
|
[EnforceRange] attribute unsigned short? anticipatedConcurrentIncomingBidirectionalStreams;
|
|
28
|
+
readonly attribute DOMString protocol;
|
|
28
29
|
|
|
29
30
|
readonly attribute Promise<WebTransportCloseInfo> closed;
|
|
30
31
|
readonly attribute Promise<undefined> draining;
|
|
@@ -64,6 +65,7 @@ dictionary WebTransportOptions {
|
|
|
64
65
|
WebTransportCongestionControl congestionControl = "default";
|
|
65
66
|
[EnforceRange] unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams = null;
|
|
66
67
|
[EnforceRange] unsigned short? anticipatedConcurrentIncomingBidirectionalStreams = null;
|
|
68
|
+
sequence<DOMString> protocols = [];
|
|
67
69
|
};
|
|
68
70
|
|
|
69
71
|
enum WebTransportCongestionControl {
|