@webref/idl 3.64.0 → 3.64.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-view.idl +1 -0
- package/package.json +1 -1
- package/screen-capture.idl +7 -0
- package/secure-payment-confirmation.idl +8 -0
- package/speech-api.idl +8 -9
- package/web-animations-2.idl +3 -3
- package/webgpu.idl +13 -2
- package/writing-assistance-apis.idl +1 -1
package/cssom-view.idl
CHANGED
package/package.json
CHANGED
package/screen-capture.idl
CHANGED
|
@@ -29,6 +29,12 @@ enum SystemAudioPreferenceEnum {
|
|
|
29
29
|
"exclude"
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
+
enum WindowAudioPreferenceEnum {
|
|
33
|
+
"system",
|
|
34
|
+
"window",
|
|
35
|
+
"exclude"
|
|
36
|
+
};
|
|
37
|
+
|
|
32
38
|
enum SurfaceSwitchingPreferenceEnum {
|
|
33
39
|
"include",
|
|
34
40
|
"exclude"
|
|
@@ -45,6 +51,7 @@ dictionary DisplayMediaStreamOptions {
|
|
|
45
51
|
CaptureController controller;
|
|
46
52
|
SelfCapturePreferenceEnum selfBrowserSurface;
|
|
47
53
|
SystemAudioPreferenceEnum systemAudio;
|
|
54
|
+
WindowAudioPreferenceEnum windowAudio;
|
|
48
55
|
SurfaceSwitchingPreferenceEnum surfaceSwitching;
|
|
49
56
|
MonitorTypeSurfacesEnum monitorTypeSurfaces;
|
|
50
57
|
};
|
|
@@ -11,6 +11,7 @@ dictionary SecurePaymentConfirmationRequest {
|
|
|
11
11
|
unsigned long timeout;
|
|
12
12
|
USVString payeeName;
|
|
13
13
|
USVString payeeOrigin;
|
|
14
|
+
sequence<PaymentEntityLogo> paymentEntitiesLogos;
|
|
14
15
|
AuthenticationExtensionsClientInputs extensions;
|
|
15
16
|
sequence<USVString> locale;
|
|
16
17
|
boolean showOptOut;
|
|
@@ -40,6 +41,7 @@ dictionary AuthenticationExtensionsPaymentInputs {
|
|
|
40
41
|
USVString topOrigin;
|
|
41
42
|
USVString payeeName;
|
|
42
43
|
USVString payeeOrigin;
|
|
44
|
+
sequence<PaymentEntityLogo> paymentEntitiesLogos;
|
|
43
45
|
PaymentCurrencyAmount total;
|
|
44
46
|
PaymentCredentialInstrument instrument;
|
|
45
47
|
};
|
|
@@ -53,6 +55,7 @@ dictionary CollectedClientAdditionalPaymentData {
|
|
|
53
55
|
required USVString topOrigin;
|
|
54
56
|
USVString payeeName;
|
|
55
57
|
USVString payeeOrigin;
|
|
58
|
+
sequence<PaymentEntityLogo> paymentEntitiesLogos;
|
|
56
59
|
required PaymentCurrencyAmount total;
|
|
57
60
|
required PaymentCredentialInstrument instrument;
|
|
58
61
|
};
|
|
@@ -62,3 +65,8 @@ dictionary PaymentCredentialInstrument {
|
|
|
62
65
|
required USVString icon;
|
|
63
66
|
boolean iconMustBeShown = true;
|
|
64
67
|
};
|
|
68
|
+
|
|
69
|
+
dictionary PaymentEntityLogo {
|
|
70
|
+
required USVString url;
|
|
71
|
+
required USVString label;
|
|
72
|
+
};
|
package/speech-api.idl
CHANGED
|
@@ -12,7 +12,7 @@ interface SpeechRecognition : EventTarget {
|
|
|
12
12
|
attribute boolean continuous;
|
|
13
13
|
attribute boolean interimResults;
|
|
14
14
|
attribute unsigned long maxAlternatives;
|
|
15
|
-
attribute
|
|
15
|
+
attribute boolean processLocally;
|
|
16
16
|
attribute SpeechRecognitionPhraseList phrases;
|
|
17
17
|
|
|
18
18
|
// methods to drive the speech interaction
|
|
@@ -20,8 +20,8 @@ interface SpeechRecognition : EventTarget {
|
|
|
20
20
|
undefined start(MediaStreamTrack audioTrack);
|
|
21
21
|
undefined stop();
|
|
22
22
|
undefined abort();
|
|
23
|
-
static Promise<AvailabilityStatus>
|
|
24
|
-
static Promise<boolean>
|
|
23
|
+
static Promise<AvailabilityStatus> available(SpeechRecognitionOptions options);
|
|
24
|
+
static Promise<boolean> install(SpeechRecognitionOptions options);
|
|
25
25
|
|
|
26
26
|
// event methods
|
|
27
27
|
attribute EventHandler onaudiostart;
|
|
@@ -37,6 +37,11 @@ interface SpeechRecognition : EventTarget {
|
|
|
37
37
|
attribute EventHandler onend;
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
+
dictionary SpeechRecognitionOptions {
|
|
41
|
+
required sequence<DOMString> langs;
|
|
42
|
+
boolean processLocally = false;
|
|
43
|
+
};
|
|
44
|
+
|
|
40
45
|
enum SpeechRecognitionErrorCode {
|
|
41
46
|
"no-speech",
|
|
42
47
|
"aborted",
|
|
@@ -48,12 +53,6 @@ enum SpeechRecognitionErrorCode {
|
|
|
48
53
|
"phrases-not-supported"
|
|
49
54
|
};
|
|
50
55
|
|
|
51
|
-
enum SpeechRecognitionMode {
|
|
52
|
-
"ondevice-preferred", // On-device speech recognition if available, otherwise use Cloud speech recognition as a fallback.
|
|
53
|
-
"ondevice-only", // On-device speech recognition only. Returns an error if on-device speech recognition is not available.
|
|
54
|
-
"cloud-only", // Cloud speech recognition only.
|
|
55
|
-
};
|
|
56
|
-
|
|
57
56
|
enum AvailabilityStatus {
|
|
58
57
|
"unavailable",
|
|
59
58
|
"downloadable",
|
package/web-animations-2.idl
CHANGED
|
@@ -118,7 +118,7 @@ dictionary AnimationPlaybackEventInit : EventInit {
|
|
|
118
118
|
interface AnimationTrigger {
|
|
119
119
|
constructor(optional AnimationTriggerOptions options = {});
|
|
120
120
|
attribute AnimationTimeline timeline;
|
|
121
|
-
attribute
|
|
121
|
+
attribute AnimationTriggerBehavior behavior;
|
|
122
122
|
attribute any rangeStart;
|
|
123
123
|
attribute any rangeEnd;
|
|
124
124
|
attribute any exitRangeStart;
|
|
@@ -127,11 +127,11 @@ interface AnimationTrigger {
|
|
|
127
127
|
|
|
128
128
|
dictionary AnimationTriggerOptions {
|
|
129
129
|
AnimationTimeline? timeline;
|
|
130
|
-
|
|
130
|
+
AnimationTriggerBehavior? behavior = "once";
|
|
131
131
|
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart = "normal";
|
|
132
132
|
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeEnd = "normal";
|
|
133
133
|
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) exitRangeStart = "auto";
|
|
134
134
|
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) exitRangeEnd = "auto";
|
|
135
135
|
};
|
|
136
136
|
|
|
137
|
-
enum
|
|
137
|
+
enum AnimationTriggerBehavior { "once", "repeat", "alternate", "state" };
|
package/webgpu.idl
CHANGED
|
@@ -127,6 +127,7 @@ enum GPUFeatureName {
|
|
|
127
127
|
"clip-distances",
|
|
128
128
|
"dual-source-blending",
|
|
129
129
|
"subgroups",
|
|
130
|
+
"texture-formats-tier1",
|
|
130
131
|
};
|
|
131
132
|
|
|
132
133
|
[Exposed=(Window, Worker), SecureContext]
|
|
@@ -295,6 +296,8 @@ enum GPUTextureFormat {
|
|
|
295
296
|
"r8sint",
|
|
296
297
|
|
|
297
298
|
// 16-bit formats
|
|
299
|
+
"r16unorm",
|
|
300
|
+
"r16snorm",
|
|
298
301
|
"r16uint",
|
|
299
302
|
"r16sint",
|
|
300
303
|
"r16float",
|
|
@@ -307,6 +310,8 @@ enum GPUTextureFormat {
|
|
|
307
310
|
"r32uint",
|
|
308
311
|
"r32sint",
|
|
309
312
|
"r32float",
|
|
313
|
+
"rg16unorm",
|
|
314
|
+
"rg16snorm",
|
|
310
315
|
"rg16uint",
|
|
311
316
|
"rg16sint",
|
|
312
317
|
"rg16float",
|
|
@@ -327,6 +332,8 @@ enum GPUTextureFormat {
|
|
|
327
332
|
"rg32uint",
|
|
328
333
|
"rg32sint",
|
|
329
334
|
"rg32float",
|
|
335
|
+
"rgba16unorm",
|
|
336
|
+
"rgba16snorm",
|
|
330
337
|
"rgba16uint",
|
|
331
338
|
"rgba16sint",
|
|
332
339
|
"rgba16float",
|
|
@@ -556,7 +563,11 @@ dictionary GPUBindGroupDescriptor
|
|
|
556
563
|
required sequence<GPUBindGroupEntry> entries;
|
|
557
564
|
};
|
|
558
565
|
|
|
559
|
-
typedef (GPUSampler or
|
|
566
|
+
typedef (GPUSampler or
|
|
567
|
+
GPUTextureView or
|
|
568
|
+
GPUBuffer or
|
|
569
|
+
GPUBufferBinding or
|
|
570
|
+
GPUExternalTexture) GPUBindingResource;
|
|
560
571
|
|
|
561
572
|
dictionary GPUBindGroupEntry {
|
|
562
573
|
required GPUIndex32 binding;
|
|
@@ -990,7 +1001,7 @@ interface mixin GPUBindingCommandsMixin {
|
|
|
990
1001
|
optional sequence<GPUBufferDynamicOffset> dynamicOffsets = []);
|
|
991
1002
|
|
|
992
1003
|
undefined setBindGroup(GPUIndex32 index, GPUBindGroup? bindGroup,
|
|
993
|
-
Uint32Array dynamicOffsetsData,
|
|
1004
|
+
[AllowShared] Uint32Array dynamicOffsetsData,
|
|
994
1005
|
GPUSize64 dynamicOffsetsDataStart,
|
|
995
1006
|
GPUSize32 dynamicOffsetsDataLength);
|
|
996
1007
|
};
|
|
@@ -56,7 +56,7 @@ dictionary SummarizerSummarizeOptions {
|
|
|
56
56
|
DOMString context;
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
-
enum SummarizerType { "
|
|
59
|
+
enum SummarizerType { "tldr", "teaser", "key-points", "headline" };
|
|
60
60
|
enum SummarizerFormat { "plain-text", "markdown" };
|
|
61
61
|
enum SummarizerLength { "short", "medium", "long" };
|
|
62
62
|
|