@webref/idl 2.11.0 → 3.0.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/autoplay.idl +18 -0
- package/compression.idl +2 -2
- package/compute-pressure.idl +6 -6
- package/css-pseudo.idl +2 -0
- package/local-font-access.idl +2 -9
- package/mediacapture-transform.idl +23 -0
- package/package.json +1 -1
- package/ua-client-hints.idl +1 -0
- package/webgpu.idl +15 -5
- package/webhid.idl +1 -0
package/autoplay.idl
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Autoplay Policy Detection (https://w3c.github.io/autoplay/)
|
|
5
|
+
|
|
6
|
+
enum AutoplayPolicy {
|
|
7
|
+
"allowed",
|
|
8
|
+
"allowed-muted",
|
|
9
|
+
"disallowed"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
partial interface Document {
|
|
13
|
+
readonly attribute AutoplayPolicy autoplayPolicy;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
partial interface HTMLMediaElement {
|
|
17
|
+
readonly attribute AutoplayPolicy autoplayPolicy;
|
|
18
|
+
};
|
package/compression.idl
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Compression Streams (https://wicg.github.io/compression/)
|
|
5
5
|
|
|
6
|
-
[Exposed
|
|
6
|
+
[Exposed=*]
|
|
7
7
|
interface CompressionStream {
|
|
8
8
|
constructor(DOMString format);
|
|
9
9
|
};
|
|
10
10
|
CompressionStream includes GenericTransformStream;
|
|
11
11
|
|
|
12
|
-
[Exposed
|
|
12
|
+
[Exposed=*]
|
|
13
13
|
interface DecompressionStream {
|
|
14
14
|
constructor(DOMString format);
|
|
15
15
|
};
|
package/compute-pressure.idl
CHANGED
|
@@ -8,14 +8,14 @@ callback ComputePressureUpdateCallback = undefined (
|
|
|
8
8
|
ComputePressureObserver observer
|
|
9
9
|
);
|
|
10
10
|
|
|
11
|
+
enum ComputePressureTarget { "cpu" };
|
|
12
|
+
|
|
11
13
|
[Exposed=Window]
|
|
12
14
|
interface ComputePressureObserver {
|
|
13
|
-
constructor(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
);
|
|
17
|
-
undefined observe();
|
|
18
|
-
undefined unobserve();
|
|
15
|
+
constructor(ComputePressureUpdateCallback callback);
|
|
16
|
+
undefined observe(ComputePressureTarget target, optional ComputePressureObserverOptions options = {});
|
|
17
|
+
undefined unobserve(ComputePressureTarget target);
|
|
18
|
+
undefined disconnect();
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
dictionary ComputePressureEntry {
|
package/css-pseudo.idl
CHANGED
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
interface CSSPseudoElement : EventTarget {
|
|
8
8
|
readonly attribute CSSOMString type;
|
|
9
9
|
readonly attribute Element element;
|
|
10
|
+
readonly attribute (Element or CSSPseudoElement) parent;
|
|
11
|
+
CSSPseudoElement? pseudo(CSSOMString type);
|
|
10
12
|
};
|
|
11
13
|
|
|
12
14
|
partial interface Element {
|
package/local-font-access.idl
CHANGED
|
@@ -8,20 +8,18 @@ interface mixin NavigatorFonts {
|
|
|
8
8
|
[SameObject] readonly attribute FontManager fonts;
|
|
9
9
|
};
|
|
10
10
|
Navigator includes NavigatorFonts;
|
|
11
|
-
WorkerNavigator includes NavigatorFonts;
|
|
12
11
|
|
|
13
12
|
[SecureContext,
|
|
14
|
-
Exposed=
|
|
13
|
+
Exposed=Window]
|
|
15
14
|
interface FontManager {
|
|
16
15
|
Promise<sequence<FontMetadata>> query(optional QueryOptions options = {});
|
|
17
16
|
};
|
|
18
17
|
|
|
19
18
|
dictionary QueryOptions {
|
|
20
|
-
boolean persistentAccess = false;
|
|
21
19
|
sequence<DOMString> select = [];
|
|
22
20
|
};
|
|
23
21
|
|
|
24
|
-
[Exposed=
|
|
22
|
+
[Exposed=Window]
|
|
25
23
|
interface FontMetadata {
|
|
26
24
|
Promise<Blob> blob();
|
|
27
25
|
|
|
@@ -30,9 +28,4 @@ interface FontMetadata {
|
|
|
30
28
|
readonly attribute USVString fullName;
|
|
31
29
|
readonly attribute USVString family;
|
|
32
30
|
readonly attribute USVString style;
|
|
33
|
-
|
|
34
|
-
// Metrics
|
|
35
|
-
readonly attribute boolean italic;
|
|
36
|
-
readonly attribute float stretch;
|
|
37
|
-
readonly attribute float weight;
|
|
38
31
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: MediaStreamTrack Insertable Media Processing using Streams (https://w3c.github.io/mediacapture-transform/)
|
|
5
|
+
|
|
6
|
+
[Exposed=DedicatedWorker]
|
|
7
|
+
interface MediaStreamTrackProcessor {
|
|
8
|
+
constructor(MediaStreamTrackProcessorInit init);
|
|
9
|
+
attribute ReadableStream readable;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
dictionary MediaStreamTrackProcessorInit {
|
|
13
|
+
required MediaStreamTrack track;
|
|
14
|
+
[EnforceRange] unsigned short maxBufferSize;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
[Exposed=DedicatedWorker]
|
|
18
|
+
interface VideoTrackGenerator {
|
|
19
|
+
constructor();
|
|
20
|
+
readonly attribute WritableStream writable;
|
|
21
|
+
attribute boolean muted;
|
|
22
|
+
readonly attribute MediaStreamTrack track;
|
|
23
|
+
};
|
package/package.json
CHANGED
package/ua-client-hints.idl
CHANGED
package/webgpu.idl
CHANGED
|
@@ -782,6 +782,9 @@ GPUCommandBuffer includes GPUObjectBase;
|
|
|
782
782
|
dictionary GPUCommandBufferDescriptor : GPUObjectDescriptorBase {
|
|
783
783
|
};
|
|
784
784
|
|
|
785
|
+
interface mixin GPUCommandsMixin {
|
|
786
|
+
};
|
|
787
|
+
|
|
785
788
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
786
789
|
interface GPUCommandEncoder {
|
|
787
790
|
GPURenderPassEncoder beginRenderPass(GPURenderPassDescriptor descriptor);
|
|
@@ -814,10 +817,6 @@ interface GPUCommandEncoder {
|
|
|
814
817
|
optional GPUSize64 offset = 0,
|
|
815
818
|
optional GPUSize64 size);
|
|
816
819
|
|
|
817
|
-
undefined pushDebugGroup(USVString groupLabel);
|
|
818
|
-
undefined popDebugGroup();
|
|
819
|
-
undefined insertDebugMarker(USVString markerLabel);
|
|
820
|
-
|
|
821
820
|
undefined writeTimestamp(GPUQuerySet querySet, GPUSize32 queryIndex);
|
|
822
821
|
|
|
823
822
|
undefined resolveQuerySet(
|
|
@@ -830,6 +829,8 @@ interface GPUCommandEncoder {
|
|
|
830
829
|
GPUCommandBuffer finish(optional GPUCommandBufferDescriptor descriptor = {});
|
|
831
830
|
};
|
|
832
831
|
GPUCommandEncoder includes GPUObjectBase;
|
|
832
|
+
GPUCommandEncoder includes GPUCommandsMixin;
|
|
833
|
+
GPUCommandEncoder includes GPUDebugCommandsMixin;
|
|
833
834
|
|
|
834
835
|
dictionary GPUCommandEncoderDescriptor : GPUObjectDescriptorBase {
|
|
835
836
|
};
|
|
@@ -859,6 +860,7 @@ dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture {
|
|
|
859
860
|
dictionary GPUImageCopyExternalImage {
|
|
860
861
|
required (ImageBitmap or HTMLCanvasElement or OffscreenCanvas) source;
|
|
861
862
|
GPUOrigin2D origin = {};
|
|
863
|
+
boolean flipY = false;
|
|
862
864
|
};
|
|
863
865
|
|
|
864
866
|
interface mixin GPUProgrammablePassEncoder {
|
|
@@ -869,7 +871,9 @@ interface mixin GPUProgrammablePassEncoder {
|
|
|
869
871
|
Uint32Array dynamicOffsetsData,
|
|
870
872
|
GPUSize64 dynamicOffsetsDataStart,
|
|
871
873
|
GPUSize32 dynamicOffsetsDataLength);
|
|
874
|
+
};
|
|
872
875
|
|
|
876
|
+
interface mixin GPUDebugCommandsMixin {
|
|
873
877
|
undefined pushDebugGroup(USVString groupLabel);
|
|
874
878
|
undefined popDebugGroup();
|
|
875
879
|
undefined insertDebugMarker(USVString markerLabel);
|
|
@@ -884,6 +888,8 @@ interface GPUComputePassEncoder {
|
|
|
884
888
|
undefined endPass();
|
|
885
889
|
};
|
|
886
890
|
GPUComputePassEncoder includes GPUObjectBase;
|
|
891
|
+
GPUComputePassEncoder includes GPUCommandsMixin;
|
|
892
|
+
GPUComputePassEncoder includes GPUDebugCommandsMixin;
|
|
887
893
|
GPUComputePassEncoder includes GPUProgrammablePassEncoder;
|
|
888
894
|
|
|
889
895
|
enum GPUComputePassTimestampLocation {
|
|
@@ -939,6 +945,8 @@ interface GPURenderPassEncoder {
|
|
|
939
945
|
undefined endPass();
|
|
940
946
|
};
|
|
941
947
|
GPURenderPassEncoder includes GPUObjectBase;
|
|
948
|
+
GPURenderPassEncoder includes GPUCommandsMixin;
|
|
949
|
+
GPURenderPassEncoder includes GPUDebugCommandsMixin;
|
|
942
950
|
GPURenderPassEncoder includes GPUProgrammablePassEncoder;
|
|
943
951
|
GPURenderPassEncoder includes GPURenderEncoderBase;
|
|
944
952
|
|
|
@@ -1010,6 +1018,8 @@ interface GPURenderBundleEncoder {
|
|
|
1010
1018
|
GPURenderBundle finish(optional GPURenderBundleDescriptor descriptor = {});
|
|
1011
1019
|
};
|
|
1012
1020
|
GPURenderBundleEncoder includes GPUObjectBase;
|
|
1021
|
+
GPURenderBundleEncoder includes GPUCommandsMixin;
|
|
1022
|
+
GPURenderBundleEncoder includes GPUDebugCommandsMixin;
|
|
1013
1023
|
GPURenderBundleEncoder includes GPUProgrammablePassEncoder;
|
|
1014
1024
|
GPURenderBundleEncoder includes GPURenderEncoderBase;
|
|
1015
1025
|
|
|
@@ -1128,7 +1138,7 @@ interface GPUUncapturedErrorEvent : Event {
|
|
|
1128
1138
|
DOMString type,
|
|
1129
1139
|
GPUUncapturedErrorEventInit gpuUncapturedErrorEventInitDict
|
|
1130
1140
|
);
|
|
1131
|
-
|
|
1141
|
+
readonly attribute GPUError error;
|
|
1132
1142
|
};
|
|
1133
1143
|
|
|
1134
1144
|
dictionary GPUUncapturedErrorEventInit : EventInit {
|
package/webhid.idl
CHANGED
|
@@ -37,6 +37,7 @@ interface HIDDevice : EventTarget {
|
|
|
37
37
|
readonly attribute FrozenArray<HIDCollectionInfo> collections;
|
|
38
38
|
Promise<undefined> open();
|
|
39
39
|
Promise<undefined> close();
|
|
40
|
+
Promise<undefined> forget();
|
|
40
41
|
Promise<undefined> sendReport([EnforceRange] octet reportId, BufferSource data);
|
|
41
42
|
Promise<undefined> sendFeatureReport(
|
|
42
43
|
[EnforceRange] octet reportId,
|