@webref/idl 3.48.1 → 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-contain-3.idl → css-conditional-5.idl} +1 -1
- package/css-nesting.idl +1 -1
- package/cssom.idl +1 -0
- package/geolocation.idl +1 -1
- 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/pointerlock.idl +6 -2
- package/shared-storage.idl +2 -2
- package/turtledove.idl +5 -0
- package/webauthn.idl +0 -11
- package/webgpu.idl +15 -0
- package/webnn.idl +2 -1
- package/webrtc.idl +1 -4
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,
|
|
@@ -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: CSS
|
|
4
|
+
// Source: CSS Conditional Rules Module Level 5 (https://drafts.csswg.org/css-conditional-5/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface CSSContainerRule : CSSConditionRule {
|
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
|
};
|
package/geolocation.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: Geolocation
|
|
4
|
+
// Source: Geolocation (https://w3c.github.io/geolocation/)
|
|
5
5
|
|
|
6
6
|
partial interface Navigator {
|
|
7
7
|
[SameObject] readonly attribute Geolocation geolocation;
|
|
@@ -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/pointerlock.idl
CHANGED
|
@@ -3,8 +3,12 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Pointer Lock 2.0 (https://w3c.github.io/pointerlock/)
|
|
5
5
|
|
|
6
|
+
dictionary PointerLockOptions {
|
|
7
|
+
boolean unadjustedMovement = false;
|
|
8
|
+
};
|
|
9
|
+
|
|
6
10
|
partial interface Element {
|
|
7
|
-
undefined requestPointerLock();
|
|
11
|
+
Promise<undefined> requestPointerLock(optional PointerLockOptions options = {});
|
|
8
12
|
};
|
|
9
13
|
|
|
10
14
|
partial interface Document {
|
|
@@ -14,7 +18,7 @@ partial interface Document {
|
|
|
14
18
|
};
|
|
15
19
|
|
|
16
20
|
partial interface mixin DocumentOrShadowRoot {
|
|
17
|
-
readonly attribute Element
|
|
21
|
+
readonly attribute Element? pointerLockElement;
|
|
18
22
|
};
|
|
19
23
|
|
|
20
24
|
partial interface MouseEvent {
|
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/turtledove.idl
CHANGED
|
@@ -100,6 +100,11 @@ dictionary AuctionAdConfig {
|
|
|
100
100
|
Promise<boolean> resolveToConfig;
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
+
[SecureContext]
|
|
104
|
+
partial interface Navigator {
|
|
105
|
+
boolean canLoadAdAuctionFencedFrame();
|
|
106
|
+
};
|
|
107
|
+
|
|
103
108
|
[SecureContext]
|
|
104
109
|
partial interface Navigator {
|
|
105
110
|
Promise<DOMString> createAuctionNonce();
|
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]
|
|
@@ -751,6 +752,10 @@ enum GPUBlendFactor {
|
|
|
751
752
|
"src-alpha-saturated",
|
|
752
753
|
"constant",
|
|
753
754
|
"one-minus-constant",
|
|
755
|
+
"src1",
|
|
756
|
+
"one-minus-src1",
|
|
757
|
+
"src1-alpha",
|
|
758
|
+
"one-minus-src1-alpha",
|
|
754
759
|
};
|
|
755
760
|
|
|
756
761
|
enum GPUBlendOperation {
|
|
@@ -1184,12 +1189,22 @@ enum GPUCanvasAlphaMode {
|
|
|
1184
1189
|
"premultiplied",
|
|
1185
1190
|
};
|
|
1186
1191
|
|
|
1192
|
+
enum GPUCanvasToneMappingMode {
|
|
1193
|
+
"standard",
|
|
1194
|
+
"extended",
|
|
1195
|
+
};
|
|
1196
|
+
|
|
1197
|
+
dictionary GPUCanvasToneMapping {
|
|
1198
|
+
GPUCanvasToneMappingMode mode = "standard";
|
|
1199
|
+
};
|
|
1200
|
+
|
|
1187
1201
|
dictionary GPUCanvasConfiguration {
|
|
1188
1202
|
required GPUDevice device;
|
|
1189
1203
|
required GPUTextureFormat format;
|
|
1190
1204
|
GPUTextureUsageFlags usage = 0x10; // GPUTextureUsage.RENDER_ATTACHMENT
|
|
1191
1205
|
sequence<GPUTextureFormat> viewFormats = [];
|
|
1192
1206
|
PredefinedColorSpace colorSpace = "srgb";
|
|
1207
|
+
GPUCanvasToneMapping toneMapping = {};
|
|
1193
1208
|
GPUCanvasAlphaMode alphaMode = "opaque";
|
|
1194
1209
|
};
|
|
1195
1210
|
|
package/webnn.idl
CHANGED
package/webrtc.idl
CHANGED
|
@@ -345,13 +345,10 @@ dictionary RTCRtpCodecParameters : RTCRtpCodec {
|
|
|
345
345
|
};
|
|
346
346
|
|
|
347
347
|
dictionary RTCRtpCapabilities {
|
|
348
|
-
required sequence<
|
|
348
|
+
required sequence<RTCRtpCodec> codecs;
|
|
349
349
|
required sequence<RTCRtpHeaderExtensionCapability> headerExtensions;
|
|
350
350
|
};
|
|
351
351
|
|
|
352
|
-
dictionary RTCRtpCodecCapability : RTCRtpCodec {
|
|
353
|
-
};
|
|
354
|
-
|
|
355
352
|
dictionary RTCRtpHeaderExtensionCapability {
|
|
356
353
|
required DOMString uri;
|
|
357
354
|
};
|