@webref/idl 3.33.0 → 3.33.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/attribution-reporting-api.idl +15 -1
- package/css-cascade-6.idl +2 -2
- package/css-cascade.idl +0 -4
- package/cssom.idl +1 -0
- package/fenced-frame.idl +7 -4
- package/package.json +1 -1
- package/secure-payment-confirmation.idl +4 -0
- package/turtledove.idl +1 -1
- package/webcodecs.idl +1 -0
- package/webgpu.idl +88 -36
- package/webnn.idl +1 -6
|
@@ -4,9 +4,23 @@
|
|
|
4
4
|
// Source: Attribution Reporting (https://wicg.github.io/attribution-reporting-api/)
|
|
5
5
|
|
|
6
6
|
interface mixin HTMLAttributionSrcElementUtils {
|
|
7
|
-
[CEReactions] attribute USVString attributionSrc;
|
|
7
|
+
[CEReactions, SecureContext] attribute USVString attributionSrc;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
HTMLAnchorElement includes HTMLAttributionSrcElementUtils;
|
|
11
11
|
HTMLImageElement includes HTMLAttributionSrcElementUtils;
|
|
12
12
|
HTMLScriptElement includes HTMLAttributionSrcElementUtils;
|
|
13
|
+
|
|
14
|
+
dictionary AttributionReportingRequestOptions {
|
|
15
|
+
required boolean eventSourceEligible;
|
|
16
|
+
required boolean triggerEligible;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
partial dictionary RequestInit {
|
|
20
|
+
AttributionReportingRequestOptions attributionReporting;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
partial interface XMLHttpRequest {
|
|
24
|
+
[SecureContext]
|
|
25
|
+
undefined setAttributionReporting(AttributionReportingRequestOptions options);
|
|
26
|
+
};
|
package/css-cascade-6.idl
CHANGED
package/css-cascade.idl
CHANGED
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: CSS Cascading and Inheritance Level 5 (https://drafts.csswg.org/css-cascade-5/)
|
|
5
5
|
|
|
6
|
-
partial interface CSSImportRule {
|
|
7
|
-
readonly attribute CSSOMString? layerName;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
6
|
[Exposed=Window]
|
|
11
7
|
interface CSSLayerBlockRule : CSSGroupingRule {
|
|
12
8
|
readonly attribute CSSOMString name;
|
package/cssom.idl
CHANGED
|
@@ -99,6 +99,7 @@ interface CSSImportRule : CSSRule {
|
|
|
99
99
|
readonly attribute USVString href;
|
|
100
100
|
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
|
|
101
101
|
[SameObject] readonly attribute CSSStyleSheet styleSheet;
|
|
102
|
+
readonly attribute CSSOMString? layerName;
|
|
102
103
|
};
|
|
103
104
|
|
|
104
105
|
[Exposed=Window]
|
package/fenced-frame.idl
CHANGED
|
@@ -15,14 +15,17 @@ interface HTMLFencedFrameElement : HTMLElement {
|
|
|
15
15
|
enum OpaqueProperty {"opaque"};
|
|
16
16
|
|
|
17
17
|
typedef (unsigned long or OpaqueProperty) FencedFrameConfigSize;
|
|
18
|
-
typedef
|
|
18
|
+
typedef USVString FencedFrameConfigURL;
|
|
19
19
|
|
|
20
20
|
[Exposed=Window]
|
|
21
21
|
interface FencedFrameConfig {
|
|
22
|
-
constructor(USVString url);
|
|
23
22
|
readonly attribute FencedFrameConfigURL? url;
|
|
24
|
-
readonly attribute FencedFrameConfigSize?
|
|
25
|
-
readonly attribute FencedFrameConfigSize?
|
|
23
|
+
readonly attribute FencedFrameConfigSize? containerWidth;
|
|
24
|
+
readonly attribute FencedFrameConfigSize? containerHeight;
|
|
25
|
+
readonly attribute FencedFrameConfigSize? contentWidth;
|
|
26
|
+
readonly attribute FencedFrameConfigSize? contentHeight;
|
|
27
|
+
|
|
28
|
+
undefined setSharedStorageContext(DOMString contextString);
|
|
26
29
|
};
|
|
27
30
|
|
|
28
31
|
enum FenceReportingDestination {
|
package/package.json
CHANGED
|
@@ -15,6 +15,7 @@ dictionary SecurePaymentConfirmationRequest {
|
|
|
15
15
|
sequence<USVString> locale;
|
|
16
16
|
boolean showOptOut;
|
|
17
17
|
};
|
|
18
|
+
|
|
18
19
|
partial dictionary AuthenticationExtensionsClientInputs {
|
|
19
20
|
AuthenticationExtensionsPaymentInputs payment;
|
|
20
21
|
};
|
|
@@ -30,9 +31,11 @@ dictionary AuthenticationExtensionsPaymentInputs {
|
|
|
30
31
|
PaymentCurrencyAmount total;
|
|
31
32
|
PaymentCredentialInstrument instrument;
|
|
32
33
|
};
|
|
34
|
+
|
|
33
35
|
dictionary CollectedClientPaymentData : CollectedClientData {
|
|
34
36
|
required CollectedClientAdditionalPaymentData payment;
|
|
35
37
|
};
|
|
38
|
+
|
|
36
39
|
dictionary CollectedClientAdditionalPaymentData {
|
|
37
40
|
required USVString rpId;
|
|
38
41
|
required USVString topOrigin;
|
|
@@ -41,6 +44,7 @@ dictionary CollectedClientAdditionalPaymentData {
|
|
|
41
44
|
required PaymentCurrencyAmount total;
|
|
42
45
|
required PaymentCredentialInstrument instrument;
|
|
43
46
|
};
|
|
47
|
+
|
|
44
48
|
dictionary PaymentCredentialInstrument {
|
|
45
49
|
required USVString displayName;
|
|
46
50
|
required USVString icon;
|
package/turtledove.idl
CHANGED
package/webcodecs.idl
CHANGED
package/webgpu.idl
CHANGED
|
@@ -18,6 +18,7 @@ interface GPUSupportedLimits {
|
|
|
18
18
|
readonly attribute unsigned long maxTextureDimension3D;
|
|
19
19
|
readonly attribute unsigned long maxTextureArrayLayers;
|
|
20
20
|
readonly attribute unsigned long maxBindGroups;
|
|
21
|
+
readonly attribute unsigned long maxBindGroupsPlusVertexBuffers;
|
|
21
22
|
readonly attribute unsigned long maxBindingsPerBindGroup;
|
|
22
23
|
readonly attribute unsigned long maxDynamicUniformBuffersPerPipelineLayout;
|
|
23
24
|
readonly attribute unsigned long maxDynamicStorageBuffersPerPipelineLayout;
|
|
@@ -26,7 +27,6 @@ interface GPUSupportedLimits {
|
|
|
26
27
|
readonly attribute unsigned long maxStorageBuffersPerShaderStage;
|
|
27
28
|
readonly attribute unsigned long maxStorageTexturesPerShaderStage;
|
|
28
29
|
readonly attribute unsigned long maxUniformBuffersPerShaderStage;
|
|
29
|
-
readonly attribute unsigned long maxFragmentCombinedOutputResources;
|
|
30
30
|
readonly attribute unsigned long long maxUniformBufferBindingSize;
|
|
31
31
|
readonly attribute unsigned long long maxStorageBufferBindingSize;
|
|
32
32
|
readonly attribute unsigned long minUniformBufferOffsetAlignment;
|
|
@@ -98,7 +98,8 @@ interface GPUAdapter {
|
|
|
98
98
|
Promise<GPUAdapterInfo> requestAdapterInfo(optional sequence<DOMString> unmaskHints = []);
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
dictionary GPUDeviceDescriptor
|
|
101
|
+
dictionary GPUDeviceDescriptor
|
|
102
|
+
: GPUObjectDescriptorBase {
|
|
102
103
|
sequence<GPUFeatureName> requiredFeatures = [];
|
|
103
104
|
record<DOMString, GPUSize64> requiredLimits = {};
|
|
104
105
|
GPUQueueDescriptor defaultQueue = {};
|
|
@@ -170,7 +171,8 @@ enum GPUBufferMapState {
|
|
|
170
171
|
"mapped"
|
|
171
172
|
};
|
|
172
173
|
|
|
173
|
-
dictionary GPUBufferDescriptor
|
|
174
|
+
dictionary GPUBufferDescriptor
|
|
175
|
+
: GPUObjectDescriptorBase {
|
|
174
176
|
required GPUSize64 size;
|
|
175
177
|
required GPUBufferUsageFlags usage;
|
|
176
178
|
boolean mappedAtCreation = false;
|
|
@@ -215,7 +217,8 @@ interface GPUTexture {
|
|
|
215
217
|
};
|
|
216
218
|
GPUTexture includes GPUObjectBase;
|
|
217
219
|
|
|
218
|
-
dictionary GPUTextureDescriptor
|
|
220
|
+
dictionary GPUTextureDescriptor
|
|
221
|
+
: GPUObjectDescriptorBase {
|
|
219
222
|
required GPUExtent3D size;
|
|
220
223
|
GPUIntegerCoordinate mipLevelCount = 1;
|
|
221
224
|
GPUSize32 sampleCount = 1;
|
|
@@ -246,7 +249,8 @@ interface GPUTextureView {
|
|
|
246
249
|
};
|
|
247
250
|
GPUTextureView includes GPUObjectBase;
|
|
248
251
|
|
|
249
|
-
dictionary GPUTextureViewDescriptor
|
|
252
|
+
dictionary GPUTextureViewDescriptor
|
|
253
|
+
: GPUObjectDescriptorBase {
|
|
250
254
|
GPUTextureFormat format;
|
|
251
255
|
GPUTextureViewDimension dimension;
|
|
252
256
|
GPUTextureAspect aspect = "all";
|
|
@@ -396,7 +400,8 @@ interface GPUExternalTexture {
|
|
|
396
400
|
};
|
|
397
401
|
GPUExternalTexture includes GPUObjectBase;
|
|
398
402
|
|
|
399
|
-
dictionary GPUExternalTextureDescriptor
|
|
403
|
+
dictionary GPUExternalTextureDescriptor
|
|
404
|
+
: GPUObjectDescriptorBase {
|
|
400
405
|
required HTMLVideoElement source;
|
|
401
406
|
PredefinedColorSpace colorSpace = "srgb";
|
|
402
407
|
};
|
|
@@ -406,7 +411,8 @@ interface GPUSampler {
|
|
|
406
411
|
};
|
|
407
412
|
GPUSampler includes GPUObjectBase;
|
|
408
413
|
|
|
409
|
-
dictionary GPUSamplerDescriptor
|
|
414
|
+
dictionary GPUSamplerDescriptor
|
|
415
|
+
: GPUObjectDescriptorBase {
|
|
410
416
|
GPUAddressMode addressModeU = "clamp-to-edge";
|
|
411
417
|
GPUAddressMode addressModeV = "clamp-to-edge";
|
|
412
418
|
GPUAddressMode addressModeW = "clamp-to-edge";
|
|
@@ -451,7 +457,8 @@ interface GPUBindGroupLayout {
|
|
|
451
457
|
};
|
|
452
458
|
GPUBindGroupLayout includes GPUObjectBase;
|
|
453
459
|
|
|
454
|
-
dictionary GPUBindGroupLayoutDescriptor
|
|
460
|
+
dictionary GPUBindGroupLayoutDescriptor
|
|
461
|
+
: GPUObjectDescriptorBase {
|
|
455
462
|
required sequence<GPUBindGroupLayoutEntry> entries;
|
|
456
463
|
};
|
|
457
464
|
|
|
@@ -528,7 +535,8 @@ interface GPUBindGroup {
|
|
|
528
535
|
};
|
|
529
536
|
GPUBindGroup includes GPUObjectBase;
|
|
530
537
|
|
|
531
|
-
dictionary GPUBindGroupDescriptor
|
|
538
|
+
dictionary GPUBindGroupDescriptor
|
|
539
|
+
: GPUObjectDescriptorBase {
|
|
532
540
|
required GPUBindGroupLayout layout;
|
|
533
541
|
required sequence<GPUBindGroupEntry> entries;
|
|
534
542
|
};
|
|
@@ -551,7 +559,8 @@ interface GPUPipelineLayout {
|
|
|
551
559
|
};
|
|
552
560
|
GPUPipelineLayout includes GPUObjectBase;
|
|
553
561
|
|
|
554
|
-
dictionary GPUPipelineLayoutDescriptor
|
|
562
|
+
dictionary GPUPipelineLayoutDescriptor
|
|
563
|
+
: GPUObjectDescriptorBase {
|
|
555
564
|
required sequence<GPUBindGroupLayout> bindGroupLayouts;
|
|
556
565
|
};
|
|
557
566
|
|
|
@@ -561,7 +570,8 @@ interface GPUShaderModule {
|
|
|
561
570
|
};
|
|
562
571
|
GPUShaderModule includes GPUObjectBase;
|
|
563
572
|
|
|
564
|
-
dictionary GPUShaderModuleDescriptor
|
|
573
|
+
dictionary GPUShaderModuleDescriptor
|
|
574
|
+
: GPUObjectDescriptorBase {
|
|
565
575
|
required USVString code;
|
|
566
576
|
object sourceMap;
|
|
567
577
|
record<USVString, GPUShaderModuleCompilationHint> hints;
|
|
@@ -611,7 +621,8 @@ enum GPUAutoLayoutMode {
|
|
|
611
621
|
"auto"
|
|
612
622
|
};
|
|
613
623
|
|
|
614
|
-
dictionary GPUPipelineDescriptorBase
|
|
624
|
+
dictionary GPUPipelineDescriptorBase
|
|
625
|
+
: GPUObjectDescriptorBase {
|
|
615
626
|
required (GPUPipelineLayout or GPUAutoLayoutMode) layout;
|
|
616
627
|
};
|
|
617
628
|
|
|
@@ -633,7 +644,8 @@ interface GPUComputePipeline {
|
|
|
633
644
|
GPUComputePipeline includes GPUObjectBase;
|
|
634
645
|
GPUComputePipeline includes GPUPipelineBase;
|
|
635
646
|
|
|
636
|
-
dictionary GPUComputePipelineDescriptor
|
|
647
|
+
dictionary GPUComputePipelineDescriptor
|
|
648
|
+
: GPUPipelineDescriptorBase {
|
|
637
649
|
required GPUProgrammableStage compute;
|
|
638
650
|
};
|
|
639
651
|
|
|
@@ -643,7 +655,8 @@ interface GPURenderPipeline {
|
|
|
643
655
|
GPURenderPipeline includes GPUObjectBase;
|
|
644
656
|
GPURenderPipeline includes GPUPipelineBase;
|
|
645
657
|
|
|
646
|
-
dictionary GPURenderPipelineDescriptor
|
|
658
|
+
dictionary GPURenderPipelineDescriptor
|
|
659
|
+
: GPUPipelineDescriptorBase {
|
|
647
660
|
required GPUVertexState vertex;
|
|
648
661
|
GPUPrimitiveState primitive = {};
|
|
649
662
|
GPUDepthStencilState depthStencil;
|
|
@@ -686,7 +699,8 @@ dictionary GPUMultisampleState {
|
|
|
686
699
|
boolean alphaToCoverageEnabled = false;
|
|
687
700
|
};
|
|
688
701
|
|
|
689
|
-
dictionary GPUFragmentState
|
|
702
|
+
dictionary GPUFragmentState
|
|
703
|
+
: GPUProgrammableStage {
|
|
690
704
|
required sequence<GPUColorTargetState?> targets;
|
|
691
705
|
};
|
|
692
706
|
|
|
@@ -820,7 +834,8 @@ enum GPUVertexStepMode {
|
|
|
820
834
|
"instance"
|
|
821
835
|
};
|
|
822
836
|
|
|
823
|
-
dictionary GPUVertexState
|
|
837
|
+
dictionary GPUVertexState
|
|
838
|
+
: GPUProgrammableStage {
|
|
824
839
|
sequence<GPUVertexBufferLayout?> buffers = [];
|
|
825
840
|
};
|
|
826
841
|
|
|
@@ -837,17 +852,43 @@ dictionary GPUVertexAttribute {
|
|
|
837
852
|
required GPUIndex32 shaderLocation;
|
|
838
853
|
};
|
|
839
854
|
|
|
840
|
-
dictionary GPUImageDataLayout {
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
855
|
+
dictionary GPUImageDataLayout {
|
|
856
|
+
GPUSize64 offset = 0;
|
|
857
|
+
GPUSize32 bytesPerRow;
|
|
858
|
+
GPUSize32 rowsPerImage;
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
dictionary GPUImageCopyBuffer
|
|
862
|
+
: GPUImageDataLayout {
|
|
863
|
+
required GPUBuffer buffer;
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
dictionary GPUImageCopyTexture {
|
|
867
|
+
required GPUTexture texture;
|
|
868
|
+
GPUIntegerCoordinate mipLevel = 0;
|
|
869
|
+
GPUOrigin3D origin = {};
|
|
870
|
+
GPUTextureAspect aspect = "all";
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
dictionary GPUImageCopyTextureTagged
|
|
874
|
+
: GPUImageCopyTexture {
|
|
875
|
+
PredefinedColorSpace colorSpace = "srgb";
|
|
876
|
+
boolean premultipliedAlpha = false;
|
|
877
|
+
};
|
|
878
|
+
|
|
879
|
+
dictionary GPUImageCopyExternalImage {
|
|
880
|
+
required (ImageBitmap or HTMLVideoElement or HTMLCanvasElement or OffscreenCanvas) source;
|
|
881
|
+
GPUOrigin2D origin = {};
|
|
882
|
+
boolean flipY = false;
|
|
883
|
+
};
|
|
884
|
+
|
|
845
885
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
846
886
|
interface GPUCommandBuffer {
|
|
847
887
|
};
|
|
848
888
|
GPUCommandBuffer includes GPUObjectBase;
|
|
849
889
|
|
|
850
|
-
dictionary GPUCommandBufferDescriptor
|
|
890
|
+
dictionary GPUCommandBufferDescriptor
|
|
891
|
+
: GPUObjectDescriptorBase {
|
|
851
892
|
};
|
|
852
893
|
|
|
853
894
|
interface mixin GPUCommandsMixin {
|
|
@@ -900,14 +941,15 @@ GPUCommandEncoder includes GPUObjectBase;
|
|
|
900
941
|
GPUCommandEncoder includes GPUCommandsMixin;
|
|
901
942
|
GPUCommandEncoder includes GPUDebugCommandsMixin;
|
|
902
943
|
|
|
903
|
-
dictionary GPUCommandEncoderDescriptor
|
|
944
|
+
dictionary GPUCommandEncoderDescriptor
|
|
945
|
+
: GPUObjectDescriptorBase {
|
|
904
946
|
};
|
|
905
947
|
|
|
906
948
|
interface mixin GPUBindingCommandsMixin {
|
|
907
|
-
undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
|
|
949
|
+
undefined setBindGroup(GPUIndex32 index, GPUBindGroup? bindGroup,
|
|
908
950
|
optional sequence<GPUBufferDynamicOffset> dynamicOffsets = []);
|
|
909
951
|
|
|
910
|
-
undefined setBindGroup(GPUIndex32 index, GPUBindGroup bindGroup,
|
|
952
|
+
undefined setBindGroup(GPUIndex32 index, GPUBindGroup? bindGroup,
|
|
911
953
|
Uint32Array dynamicOffsetsData,
|
|
912
954
|
GPUSize64 dynamicOffsetsDataStart,
|
|
913
955
|
GPUSize32 dynamicOffsetsDataLength);
|
|
@@ -945,7 +987,8 @@ dictionary GPUComputePassTimestampWrite {
|
|
|
945
987
|
|
|
946
988
|
typedef sequence<GPUComputePassTimestampWrite> GPUComputePassTimestampWrites;
|
|
947
989
|
|
|
948
|
-
dictionary GPUComputePassDescriptor
|
|
990
|
+
dictionary GPUComputePassDescriptor
|
|
991
|
+
: GPUObjectDescriptorBase {
|
|
949
992
|
GPUComputePassTimestampWrites timestampWrites = [];
|
|
950
993
|
};
|
|
951
994
|
|
|
@@ -986,7 +1029,8 @@ dictionary GPURenderPassTimestampWrite {
|
|
|
986
1029
|
|
|
987
1030
|
typedef sequence<GPURenderPassTimestampWrite> GPURenderPassTimestampWrites;
|
|
988
1031
|
|
|
989
|
-
dictionary GPURenderPassDescriptor
|
|
1032
|
+
dictionary GPURenderPassDescriptor
|
|
1033
|
+
: GPUObjectDescriptorBase {
|
|
990
1034
|
required sequence<GPURenderPassColorAttachment?> colorAttachments;
|
|
991
1035
|
GPURenderPassDepthStencilAttachment depthStencilAttachment;
|
|
992
1036
|
GPUQuerySet occlusionQuerySet;
|
|
@@ -1027,7 +1071,8 @@ enum GPUStoreOp {
|
|
|
1027
1071
|
"discard"
|
|
1028
1072
|
};
|
|
1029
1073
|
|
|
1030
|
-
dictionary GPURenderPassLayout
|
|
1074
|
+
dictionary GPURenderPassLayout
|
|
1075
|
+
: GPUObjectDescriptorBase {
|
|
1031
1076
|
required sequence<GPUTextureFormat?> colorFormats;
|
|
1032
1077
|
GPUTextureFormat depthStencilFormat;
|
|
1033
1078
|
GPUSize32 sampleCount = 1;
|
|
@@ -1037,7 +1082,7 @@ interface mixin GPURenderCommandsMixin {
|
|
|
1037
1082
|
undefined setPipeline(GPURenderPipeline pipeline);
|
|
1038
1083
|
|
|
1039
1084
|
undefined setIndexBuffer(GPUBuffer buffer, GPUIndexFormat indexFormat, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
1040
|
-
undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
1085
|
+
undefined setVertexBuffer(GPUIndex32 slot, GPUBuffer? buffer, optional GPUSize64 offset = 0, optional GPUSize64 size);
|
|
1041
1086
|
|
|
1042
1087
|
undefined draw(GPUSize32 vertexCount, optional GPUSize32 instanceCount = 1,
|
|
1043
1088
|
optional GPUSize32 firstVertex = 0, optional GPUSize32 firstInstance = 0);
|
|
@@ -1055,7 +1100,8 @@ interface GPURenderBundle {
|
|
|
1055
1100
|
};
|
|
1056
1101
|
GPURenderBundle includes GPUObjectBase;
|
|
1057
1102
|
|
|
1058
|
-
dictionary GPURenderBundleDescriptor
|
|
1103
|
+
dictionary GPURenderBundleDescriptor
|
|
1104
|
+
: GPUObjectDescriptorBase {
|
|
1059
1105
|
};
|
|
1060
1106
|
|
|
1061
1107
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -1068,12 +1114,14 @@ GPURenderBundleEncoder includes GPUDebugCommandsMixin;
|
|
|
1068
1114
|
GPURenderBundleEncoder includes GPUBindingCommandsMixin;
|
|
1069
1115
|
GPURenderBundleEncoder includes GPURenderCommandsMixin;
|
|
1070
1116
|
|
|
1071
|
-
dictionary GPURenderBundleEncoderDescriptor
|
|
1117
|
+
dictionary GPURenderBundleEncoderDescriptor
|
|
1118
|
+
: GPURenderPassLayout {
|
|
1072
1119
|
boolean depthReadOnly = false;
|
|
1073
1120
|
boolean stencilReadOnly = false;
|
|
1074
1121
|
};
|
|
1075
1122
|
|
|
1076
|
-
dictionary GPUQueueDescriptor
|
|
1123
|
+
dictionary GPUQueueDescriptor
|
|
1124
|
+
: GPUObjectDescriptorBase {
|
|
1077
1125
|
};
|
|
1078
1126
|
|
|
1079
1127
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -1111,7 +1159,8 @@ interface GPUQuerySet {
|
|
|
1111
1159
|
};
|
|
1112
1160
|
GPUQuerySet includes GPUObjectBase;
|
|
1113
1161
|
|
|
1114
|
-
dictionary GPUQuerySetDescriptor
|
|
1162
|
+
dictionary GPUQuerySetDescriptor
|
|
1163
|
+
: GPUObjectDescriptorBase {
|
|
1115
1164
|
required GPUQueryType type;
|
|
1116
1165
|
required GPUSize32 count;
|
|
1117
1166
|
};
|
|
@@ -1166,17 +1215,20 @@ interface GPUError {
|
|
|
1166
1215
|
};
|
|
1167
1216
|
|
|
1168
1217
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1169
|
-
interface GPUValidationError
|
|
1218
|
+
interface GPUValidationError
|
|
1219
|
+
: GPUError {
|
|
1170
1220
|
constructor(DOMString message);
|
|
1171
1221
|
};
|
|
1172
1222
|
|
|
1173
1223
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1174
|
-
interface GPUOutOfMemoryError
|
|
1224
|
+
interface GPUOutOfMemoryError
|
|
1225
|
+
: GPUError {
|
|
1175
1226
|
constructor(DOMString message);
|
|
1176
1227
|
};
|
|
1177
1228
|
|
|
1178
1229
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1179
|
-
interface GPUInternalError
|
|
1230
|
+
interface GPUInternalError
|
|
1231
|
+
: GPUError {
|
|
1180
1232
|
constructor(DOMString message);
|
|
1181
1233
|
};
|
|
1182
1234
|
|
package/webnn.idl
CHANGED
|
@@ -489,13 +489,8 @@ partial interface MLGraphBuilder {
|
|
|
489
489
|
MLActivation sigmoid();
|
|
490
490
|
};
|
|
491
491
|
|
|
492
|
-
dictionary MLSliceOptions {
|
|
493
|
-
sequence<unsigned long> axes;
|
|
494
|
-
};
|
|
495
|
-
|
|
496
492
|
partial interface MLGraphBuilder {
|
|
497
|
-
MLOperand slice(MLOperand input, sequence<long> starts, sequence<long> sizes
|
|
498
|
-
optional MLSliceOptions options = {});
|
|
493
|
+
MLOperand slice(MLOperand input, sequence<unsigned long> starts, sequence<unsigned long> sizes);
|
|
499
494
|
};
|
|
500
495
|
|
|
501
496
|
partial interface MLGraphBuilder {
|