@webref/idl 3.49.0 → 3.50.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/WebCryptoAPI.idl +1 -1
- package/css-nesting.idl +1 -1
- package/cssom.idl +1 -0
- package/handwriting-recognition.idl +100 -0
- package/intersection-observer.idl +6 -0
- package/mediacapture-streams.idl +5 -0
- package/package.json +1 -1
- package/permissions-policy.idl +1 -0
- package/shared-storage.idl +2 -2
- package/webauthn.idl +0 -11
- package/webgpu.idl +11 -0
- package/webnn.idl +2 -1
package/WebCryptoAPI.idl
CHANGED
|
@@ -68,7 +68,7 @@ interface SubtleCrypto {
|
|
|
68
68
|
sequence<KeyUsage> keyUsages );
|
|
69
69
|
Promise<ArrayBuffer> deriveBits(AlgorithmIdentifier algorithm,
|
|
70
70
|
CryptoKey baseKey,
|
|
71
|
-
unsigned long length);
|
|
71
|
+
optional unsigned long? length = null);
|
|
72
72
|
|
|
73
73
|
Promise<CryptoKey> importKey(KeyFormat format,
|
|
74
74
|
(BufferSource or JsonWebKey) keyData,
|
package/css-nesting.idl
CHANGED
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
// Source: CSS Nesting Module (https://drafts.csswg.org/css-nesting-1/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
|
-
interface
|
|
7
|
+
interface CSSNestedDeclarations : CSSRule {
|
|
8
8
|
[SameObject, PutForwards=cssText] readonly attribute CSSStyleProperties style;
|
|
9
9
|
};
|
package/cssom.idl
CHANGED
|
@@ -122,6 +122,7 @@ interface CSSPageDescriptors : CSSStyleDeclaration {
|
|
|
122
122
|
attribute [LegacyNullToEmptyString] CSSOMString margin-bottom;
|
|
123
123
|
attribute [LegacyNullToEmptyString] CSSOMString margin-left;
|
|
124
124
|
attribute [LegacyNullToEmptyString] CSSOMString size;
|
|
125
|
+
attribute [LegacyNullToEmptyString] CSSOMString orientation;
|
|
125
126
|
attribute [LegacyNullToEmptyString] CSSOMString marks;
|
|
126
127
|
attribute [LegacyNullToEmptyString] CSSOMString bleed;
|
|
127
128
|
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Handwriting Recognition API (https://wicg.github.io/handwriting-recognition/)
|
|
5
|
+
|
|
6
|
+
[SecureContext]
|
|
7
|
+
partial interface Navigator {
|
|
8
|
+
Promise<HandwritingRecognizerQueryResult?>
|
|
9
|
+
queryHandwritingRecognizer(HandwritingModelConstraint constraint);
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
dictionary HandwritingModelConstraint {
|
|
13
|
+
required sequence<DOMString> languages;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
dictionary HandwritingRecognizerQueryResult {
|
|
17
|
+
boolean textAlternatives;
|
|
18
|
+
boolean textSegmentation;
|
|
19
|
+
HandwritingHintsQueryResult hints;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
dictionary HandwritingHintsQueryResult {
|
|
23
|
+
sequence<HandwritingRecognitionType> recognitionType;
|
|
24
|
+
sequence<HandwritingInputType> inputType;
|
|
25
|
+
boolean textContext;
|
|
26
|
+
boolean alternatives;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
enum HandwritingRecognitionType{
|
|
30
|
+
"text", "per-character"
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
enum HandwritingInputType {
|
|
34
|
+
"mouse", "stylus", "touch"
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
[SecureContext]
|
|
38
|
+
partial interface Navigator {
|
|
39
|
+
Promise<HandwritingRecognizer>
|
|
40
|
+
createHandwritingRecognizer(HandwritingModelConstraint constraint);
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
[Exposed=Window, SecureContext]
|
|
44
|
+
interface HandwritingRecognizer {
|
|
45
|
+
HandwritingDrawing startDrawing(optional HandwritingHints hints = {});
|
|
46
|
+
|
|
47
|
+
undefined finish();
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
dictionary HandwritingHints {
|
|
51
|
+
DOMString recognitionType = "text";
|
|
52
|
+
DOMString inputType = "mouse";
|
|
53
|
+
DOMString textContext;
|
|
54
|
+
unsigned long alternatives = 3;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
[Exposed=Window, SecureContext]
|
|
58
|
+
interface HandwritingDrawing {
|
|
59
|
+
undefined addStroke(HandwritingStroke stroke);
|
|
60
|
+
undefined removeStroke(HandwritingStroke stroke);
|
|
61
|
+
undefined clear();
|
|
62
|
+
sequence<HandwritingStroke> getStrokes();
|
|
63
|
+
|
|
64
|
+
Promise<sequence<HandwritingPrediction>> getPrediction();
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
[SecureContext, Exposed=Window]
|
|
68
|
+
interface HandwritingStroke {
|
|
69
|
+
constructor();
|
|
70
|
+
undefined addPoint(HandwritingPoint point);
|
|
71
|
+
sequence<HandwritingPoint> getPoints();
|
|
72
|
+
undefined clear();
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
dictionary HandwritingPoint {
|
|
76
|
+
required double x;
|
|
77
|
+
required double y;
|
|
78
|
+
|
|
79
|
+
// Optional. Number of milliseconds since a reference time point for a
|
|
80
|
+
// drawing.
|
|
81
|
+
DOMHighResTimeStamp t;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
dictionary HandwritingPrediction {
|
|
85
|
+
required DOMString text;
|
|
86
|
+
sequence<HandwritingSegment> segmentationResult;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
dictionary HandwritingSegment {
|
|
90
|
+
required DOMString grapheme;
|
|
91
|
+
required unsigned long beginIndex;
|
|
92
|
+
required unsigned long endIndex;
|
|
93
|
+
required sequence<HandwritingDrawingSegment> drawingSegments;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
dictionary HandwritingDrawingSegment {
|
|
97
|
+
required unsigned long strokeIndex;
|
|
98
|
+
required unsigned long beginPointIndex;
|
|
99
|
+
required unsigned long endPointIndex;
|
|
100
|
+
};
|
|
@@ -12,6 +12,8 @@ interface IntersectionObserver {
|
|
|
12
12
|
readonly attribute DOMString rootMargin;
|
|
13
13
|
readonly attribute DOMString scrollMargin;
|
|
14
14
|
readonly attribute FrozenArray<double> thresholds;
|
|
15
|
+
readonly attribute long delay;
|
|
16
|
+
readonly attribute boolean trackVisibility;
|
|
15
17
|
undefined observe(Element target);
|
|
16
18
|
undefined unobserve(Element target);
|
|
17
19
|
undefined disconnect();
|
|
@@ -26,6 +28,7 @@ interface IntersectionObserverEntry {
|
|
|
26
28
|
readonly attribute DOMRectReadOnly boundingClientRect;
|
|
27
29
|
readonly attribute DOMRectReadOnly intersectionRect;
|
|
28
30
|
readonly attribute boolean isIntersecting;
|
|
31
|
+
readonly attribute boolean isVisible;
|
|
29
32
|
readonly attribute double intersectionRatio;
|
|
30
33
|
readonly attribute Element target;
|
|
31
34
|
};
|
|
@@ -36,6 +39,7 @@ dictionary IntersectionObserverEntryInit {
|
|
|
36
39
|
required DOMRectInit boundingClientRect;
|
|
37
40
|
required DOMRectInit intersectionRect;
|
|
38
41
|
required boolean isIntersecting;
|
|
42
|
+
required boolean isVisible;
|
|
39
43
|
required double intersectionRatio;
|
|
40
44
|
required Element target;
|
|
41
45
|
};
|
|
@@ -45,4 +49,6 @@ dictionary IntersectionObserverInit {
|
|
|
45
49
|
DOMString rootMargin = "0px";
|
|
46
50
|
DOMString scrollMargin = "0px";
|
|
47
51
|
(double or sequence<double>) threshold = 0;
|
|
52
|
+
long delay = 0;
|
|
53
|
+
boolean trackVisibility = false;
|
|
48
54
|
};
|
package/mediacapture-streams.idl
CHANGED
|
@@ -61,6 +61,7 @@ dictionary MediaTrackSupportedConstraints {
|
|
|
61
61
|
boolean channelCount = true;
|
|
62
62
|
boolean deviceId = true;
|
|
63
63
|
boolean groupId = true;
|
|
64
|
+
boolean backgroundBlur = true;
|
|
64
65
|
};
|
|
65
66
|
|
|
66
67
|
dictionary MediaTrackCapabilities {
|
|
@@ -79,6 +80,7 @@ dictionary MediaTrackCapabilities {
|
|
|
79
80
|
ULongRange channelCount;
|
|
80
81
|
DOMString deviceId;
|
|
81
82
|
DOMString groupId;
|
|
83
|
+
sequence<boolean> backgroundBlur;
|
|
82
84
|
};
|
|
83
85
|
|
|
84
86
|
dictionary MediaTrackConstraints : MediaTrackConstraintSet {
|
|
@@ -101,6 +103,7 @@ dictionary MediaTrackConstraintSet {
|
|
|
101
103
|
ConstrainULong channelCount;
|
|
102
104
|
ConstrainDOMString deviceId;
|
|
103
105
|
ConstrainDOMString groupId;
|
|
106
|
+
ConstrainBoolean backgroundBlur;
|
|
104
107
|
};
|
|
105
108
|
|
|
106
109
|
dictionary MediaTrackSettings {
|
|
@@ -119,6 +122,7 @@ dictionary MediaTrackSettings {
|
|
|
119
122
|
unsigned long channelCount;
|
|
120
123
|
DOMString deviceId;
|
|
121
124
|
DOMString groupId;
|
|
125
|
+
boolean backgroundBlur;
|
|
122
126
|
};
|
|
123
127
|
|
|
124
128
|
enum VideoFacingModeEnum {
|
|
@@ -183,6 +187,7 @@ interface InputDeviceInfo : MediaDeviceInfo {
|
|
|
183
187
|
interface DeviceChangeEvent : Event {
|
|
184
188
|
constructor(DOMString type, optional DeviceChangeEventInit eventInitDict = {});
|
|
185
189
|
[SameObject] readonly attribute FrozenArray<MediaDeviceInfo> devices;
|
|
190
|
+
[SameObject] readonly attribute FrozenArray<MediaDeviceInfo> userInsertedDevices;
|
|
186
191
|
};
|
|
187
192
|
|
|
188
193
|
dictionary DeviceChangeEventInit : EventInit {
|
package/package.json
CHANGED
package/permissions-policy.idl
CHANGED
|
@@ -21,6 +21,7 @@ partial interface HTMLIFrameElement {
|
|
|
21
21
|
|
|
22
22
|
[Exposed=Window]
|
|
23
23
|
interface PermissionsPolicyViolationReportBody : ReportBody {
|
|
24
|
+
[Default] object toJSON();
|
|
24
25
|
readonly attribute DOMString featureId;
|
|
25
26
|
readonly attribute DOMString? sourceFile;
|
|
26
27
|
readonly attribute long? lineNumber;
|
package/shared-storage.idl
CHANGED
|
@@ -8,7 +8,7 @@ typedef (USVString or FencedFrameConfig) SharedStorageResponse;
|
|
|
8
8
|
[Exposed=(Window)]
|
|
9
9
|
interface SharedStorageWorklet : Worklet {
|
|
10
10
|
Promise<SharedStorageResponse> selectURL(DOMString name,
|
|
11
|
-
|
|
11
|
+
sequence<SharedStorageUrlWithMetadata> urls,
|
|
12
12
|
optional SharedStorageRunOperationMethodOptions options = {});
|
|
13
13
|
Promise<any> run(DOMString name,
|
|
14
14
|
optional SharedStorageRunOperationMethodOptions options = {});
|
|
@@ -47,7 +47,7 @@ dictionary SharedStorageSetMethodOptions {
|
|
|
47
47
|
[Exposed=(Window)]
|
|
48
48
|
interface WindowSharedStorage : SharedStorage {
|
|
49
49
|
Promise<SharedStorageResponse> selectURL(DOMString name,
|
|
50
|
-
|
|
50
|
+
sequence<SharedStorageUrlWithMetadata> urls,
|
|
51
51
|
optional SharedStorageRunOperationMethodOptions options = {});
|
|
52
52
|
Promise<any> run(DOMString name,
|
|
53
53
|
optional SharedStorageRunOperationMethodOptions options = {});
|
package/webauthn.idl
CHANGED
|
@@ -357,17 +357,6 @@ dictionary AuthenticationExtensionsLargeBlobOutputs {
|
|
|
357
357
|
boolean written;
|
|
358
358
|
};
|
|
359
359
|
|
|
360
|
-
partial dictionary AuthenticationExtensionsClientInputs {
|
|
361
|
-
boolean uvm;
|
|
362
|
-
};
|
|
363
|
-
|
|
364
|
-
typedef sequence<unsigned long> UvmEntry;
|
|
365
|
-
typedef sequence<UvmEntry> UvmEntries;
|
|
366
|
-
|
|
367
|
-
partial dictionary AuthenticationExtensionsClientOutputs {
|
|
368
|
-
UvmEntries uvm;
|
|
369
|
-
};
|
|
370
|
-
|
|
371
360
|
dictionary AuthenticationExtensionsSupplementalPubKeysInputs {
|
|
372
361
|
required sequence<DOMString> scopes;
|
|
373
362
|
DOMString attestation = "indirect";
|
package/webgpu.idl
CHANGED
|
@@ -118,6 +118,7 @@ enum GPUFeatureName {
|
|
|
118
118
|
"bgra8unorm-storage",
|
|
119
119
|
"float32-filterable",
|
|
120
120
|
"clip-distances",
|
|
121
|
+
"dual-source-blending",
|
|
121
122
|
};
|
|
122
123
|
|
|
123
124
|
[Exposed=(Window, Worker), SecureContext]
|
|
@@ -1188,12 +1189,22 @@ enum GPUCanvasAlphaMode {
|
|
|
1188
1189
|
"premultiplied",
|
|
1189
1190
|
};
|
|
1190
1191
|
|
|
1192
|
+
enum GPUCanvasToneMappingMode {
|
|
1193
|
+
"standard",
|
|
1194
|
+
"extended",
|
|
1195
|
+
};
|
|
1196
|
+
|
|
1197
|
+
dictionary GPUCanvasToneMapping {
|
|
1198
|
+
GPUCanvasToneMappingMode mode = "standard";
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1191
1201
|
dictionary GPUCanvasConfiguration {
|
|
1192
1202
|
required GPUDevice device;
|
|
1193
1203
|
required GPUTextureFormat format;
|
|
1194
1204
|
GPUTextureUsageFlags usage = 0x10; // GPUTextureUsage.RENDER_ATTACHMENT
|
|
1195
1205
|
sequence<GPUTextureFormat> viewFormats = [];
|
|
1196
1206
|
PredefinedColorSpace colorSpace = "srgb";
|
|
1207
|
+
GPUCanvasToneMapping toneMapping = {};
|
|
1197
1208
|
GPUCanvasAlphaMode alphaMode = "opaque";
|
|
1198
1209
|
};
|
|
1199
1210
|
|