@webref/idl 3.73.0 → 3.73.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/cssom.idl +1 -1
- package/package.json +1 -1
- package/text-detection-api.idl +11 -0
- package/uievents.idl +18 -18
- package/webtransport.idl +5 -3
package/cssom.idl
CHANGED
package/package.json
CHANGED
package/text-detection-api.idl
CHANGED
|
@@ -3,11 +3,22 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Accelerated Text Detection in Images (https://wicg.github.io/shape-detection-api/text.html)
|
|
5
5
|
|
|
6
|
+
dictionary TextDetectorOptions {
|
|
7
|
+
required sequence<DOMString> languages;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
dictionary TextDetectorCreateOptions {
|
|
11
|
+
AbortSignal signal;
|
|
12
|
+
sequence<DOMString> languages;
|
|
13
|
+
};
|
|
14
|
+
|
|
6
15
|
[
|
|
7
16
|
Exposed=(Window,Worker),
|
|
8
17
|
SecureContext
|
|
9
18
|
] interface TextDetector {
|
|
10
19
|
constructor();
|
|
20
|
+
static Promise<Availability> availability(TextDetectorOptions options);
|
|
21
|
+
static Promise<TextDetector> create(optional TextDetectorCreateOptions options = {});
|
|
11
22
|
Promise<sequence<DetectedText>> detect(ImageBitmapSource image);
|
|
12
23
|
};
|
|
13
24
|
|
package/uievents.idl
CHANGED
|
@@ -25,24 +25,6 @@ dictionary FocusEventInit : UIEventInit {
|
|
|
25
25
|
EventTarget? relatedTarget = null;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
dictionary EventModifierInit : UIEventInit {
|
|
29
|
-
boolean ctrlKey = false;
|
|
30
|
-
boolean shiftKey = false;
|
|
31
|
-
boolean altKey = false;
|
|
32
|
-
boolean metaKey = false;
|
|
33
|
-
|
|
34
|
-
boolean modifierAltGraph = false;
|
|
35
|
-
boolean modifierCapsLock = false;
|
|
36
|
-
boolean modifierFn = false;
|
|
37
|
-
boolean modifierFnLock = false;
|
|
38
|
-
boolean modifierHyper = false;
|
|
39
|
-
boolean modifierNumLock = false;
|
|
40
|
-
boolean modifierScrollLock = false;
|
|
41
|
-
boolean modifierSuper = false;
|
|
42
|
-
boolean modifierSymbol = false;
|
|
43
|
-
boolean modifierSymbolLock = false;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
28
|
[Exposed=Window]
|
|
47
29
|
interface InputEvent : UIEvent {
|
|
48
30
|
constructor(DOMString type, optional InputEventInit eventInitDict = {});
|
|
@@ -89,6 +71,24 @@ dictionary KeyboardEventInit : EventModifierInit {
|
|
|
89
71
|
boolean isComposing = false;
|
|
90
72
|
};
|
|
91
73
|
|
|
74
|
+
dictionary EventModifierInit : UIEventInit {
|
|
75
|
+
boolean ctrlKey = false;
|
|
76
|
+
boolean shiftKey = false;
|
|
77
|
+
boolean altKey = false;
|
|
78
|
+
boolean metaKey = false;
|
|
79
|
+
|
|
80
|
+
boolean modifierAltGraph = false;
|
|
81
|
+
boolean modifierCapsLock = false;
|
|
82
|
+
boolean modifierFn = false;
|
|
83
|
+
boolean modifierFnLock = false;
|
|
84
|
+
boolean modifierHyper = false;
|
|
85
|
+
boolean modifierNumLock = false;
|
|
86
|
+
boolean modifierScrollLock = false;
|
|
87
|
+
boolean modifierSuper = false;
|
|
88
|
+
boolean modifierSymbol = false;
|
|
89
|
+
boolean modifierSymbolLock = false;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
92
|
[Exposed=Window]
|
|
93
93
|
interface CompositionEvent : UIEvent {
|
|
94
94
|
constructor(DOMString type, optional CompositionEventInit eventInitDict = {});
|
package/webtransport.idl
CHANGED
|
@@ -27,12 +27,13 @@ interface WebTransport {
|
|
|
27
27
|
constructor(USVString url, optional WebTransportOptions options = {});
|
|
28
28
|
|
|
29
29
|
Promise<WebTransportConnectionStats> getStats();
|
|
30
|
-
[NewObject] Promise<
|
|
30
|
+
[NewObject] Promise<Uint8Array> exportKeyingMaterial(BufferSource label, optional BufferSource context);
|
|
31
31
|
readonly attribute Promise<undefined> ready;
|
|
32
32
|
readonly attribute WebTransportReliabilityMode reliability;
|
|
33
33
|
readonly attribute WebTransportCongestionControl congestionControl;
|
|
34
|
-
[EnforceRange]
|
|
35
|
-
[EnforceRange]
|
|
34
|
+
attribute [EnforceRange] unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams;
|
|
35
|
+
attribute [EnforceRange] unsigned short? anticipatedConcurrentIncomingBidirectionalStreams;
|
|
36
|
+
[SameObject] readonly attribute Headers? responseHeaders;
|
|
36
37
|
readonly attribute DOMString protocol;
|
|
37
38
|
|
|
38
39
|
readonly attribute Promise<WebTransportCloseInfo> closed;
|
|
@@ -69,6 +70,7 @@ dictionary WebTransportHash {
|
|
|
69
70
|
dictionary WebTransportOptions {
|
|
70
71
|
boolean allowPooling = false;
|
|
71
72
|
boolean requireUnreliable = false;
|
|
73
|
+
HeadersInit headers = {};
|
|
72
74
|
sequence<WebTransportHash> serverCertificateHashes = [];
|
|
73
75
|
WebTransportCongestionControl congestionControl = "default";
|
|
74
76
|
[EnforceRange] unsigned short? anticipatedConcurrentIncomingUnidirectionalStreams = null;
|