@webref/idl 3.55.3 → 3.56.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/fenced-frame.idl CHANGED
@@ -74,9 +74,15 @@ interface Fence {
74
74
  undefined reportEvent(optional ReportEventType event = {});
75
75
  undefined setReportEventDataForAutomaticBeacons(optional FenceEvent event = {});
76
76
  sequence<FencedFrameConfig> getNestedConfigs();
77
+ Promise<undefined> disableUntrustedNetwork();
78
+ undefined notifyEvent(Event event);
77
79
  };
78
80
 
79
81
  partial interface Window {
80
82
  // Collection of fenced frame APIs
81
83
  readonly attribute Fence? fence;
82
84
  };
85
+
86
+ partial interface mixin GlobalEventHandlers {
87
+ attribute EventHandler onfencedtreeclick;
88
+ };
package/html.idl CHANGED
@@ -881,10 +881,12 @@ interface HTMLInputElement : HTMLElement {
881
881
  [HTMLConstructor] constructor();
882
882
 
883
883
  [CEReactions] attribute DOMString accept;
884
+ [CEReactions] attribute boolean alpha;
884
885
  [CEReactions] attribute DOMString alt;
885
886
  [CEReactions] attribute DOMString autocomplete;
886
887
  [CEReactions] attribute boolean defaultChecked;
887
888
  attribute boolean checked;
889
+ [CEReactions] attribute DOMString colorSpace;
888
890
  [CEReactions] attribute DOMString dirName;
889
891
  [CEReactions] attribute boolean disabled;
890
892
  readonly attribute HTMLFormElement? form;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/idl",
3
3
  "description": "Web IDL definitions of the web platform",
4
- "version": "3.55.3",
4
+ "version": "3.56.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/paint-timing.idl CHANGED
@@ -3,5 +3,12 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Paint Timing (https://w3c.github.io/paint-timing/)
5
5
 
6
+ [Exposed=Window]
7
+ interface mixin PaintTimingMixin {
8
+ readonly attribute DOMHighResTimeStamp paintTime;
9
+ readonly attribute DOMHighResTimeStamp? presentationTime;
10
+ };
11
+
6
12
  [Exposed=Window]
7
13
  interface PerformancePaintTiming : PerformanceEntry {};
14
+ PerformancePaintTiming includes PaintTimingMixin;
@@ -19,55 +19,3 @@ dictionary PAHistogramContribution {
19
19
  dictionary PADebugModeOptions {
20
20
  required bigint debugKey;
21
21
  };
22
-
23
- partial interface InterestGroupScriptRunnerGlobalScope {
24
- readonly attribute PrivateAggregation privateAggregation;
25
- };
26
-
27
- dictionary PASignalValue {
28
- required DOMString baseValue;
29
- double scale;
30
- (bigint or long) offset;
31
- };
32
-
33
- dictionary PAExtendedHistogramContribution {
34
- required (PASignalValue or bigint) bucket;
35
- required (PASignalValue or long) value;
36
- bigint filteringId = 0;
37
- };
38
-
39
- [Exposed=InterestGroupScriptRunnerGlobalScope, SecureContext]
40
- partial interface PrivateAggregation {
41
- undefined contributeToHistogramOnEvent(
42
- DOMString event, PAExtendedHistogramContribution contribution);
43
- };
44
-
45
- dictionary AuctionReportBuyersConfig {
46
- required bigint bucket;
47
- required double scale;
48
- };
49
-
50
- dictionary AuctionReportBuyerDebugModeConfig {
51
- boolean enabled = false;
52
-
53
- // Must only be provided if `enabled` is true.
54
- bigint? debugKey;
55
- };
56
-
57
- partial dictionary AuctionAdConfig {
58
- sequence<bigint> auctionReportBuyerKeys;
59
- record<DOMString, AuctionReportBuyersConfig> auctionReportBuyers;
60
- AuctionReportBuyerDebugModeConfig auctionReportBuyerDebugModeConfig;
61
- };
62
-
63
- dictionary ProtectedAudiencePrivateAggregationConfig {
64
- USVString aggregationCoordinatorOrigin;
65
- };
66
-
67
- partial dictionary AuctionAdConfig {
68
- ProtectedAudiencePrivateAggregationConfig privateAggregationConfig;
69
- };
70
-
71
- partial dictionary AuctionAdInterestGroup {
72
- ProtectedAudiencePrivateAggregationConfig privateAggregationConfig;
73
- };
@@ -18,6 +18,7 @@ interface PerformanceResourceTiming : PerformanceEntry {
18
18
  readonly attribute DOMHighResTimeStamp connectEnd;
19
19
  readonly attribute DOMHighResTimeStamp secureConnectionStart;
20
20
  readonly attribute DOMHighResTimeStamp requestStart;
21
+ readonly attribute DOMHighResTimeStamp finalResponseHeadersStart;
21
22
  readonly attribute DOMHighResTimeStamp firstInterimResponseStart;
22
23
  readonly attribute DOMHighResTimeStamp responseStart;
23
24
  readonly attribute DOMHighResTimeStamp responseEnd;
@@ -5,8 +5,6 @@
5
5
 
6
6
  typedef (USVString or FencedFrameConfig) SharedStorageResponse;
7
7
 
8
- enum SharedStorageDataOrigin { "context-origin", "script-origin" };
9
-
10
8
  [Exposed=(Window)]
11
9
  interface SharedStorageWorklet : Worklet {
12
10
  Promise<SharedStorageResponse> selectURL(DOMString name,
@@ -25,6 +23,8 @@ interface SharedStorageWorkletGlobalScope : WorkletGlobalScope {
25
23
 
26
24
  readonly attribute SharedStorage sharedStorage;
27
25
  readonly attribute PrivateAggregation privateAggregation;
26
+
27
+ Promise<sequence<StorageInterestGroup>> interestGroups();
28
28
  };
29
29
 
30
30
  dictionary SharedStorageUrlWithMetadata {
@@ -93,7 +93,7 @@ dictionary SharedStorageRunOperationMethodOptions {
93
93
  };
94
94
 
95
95
  dictionary SharedStorageWorkletOptions : WorkletOptions {
96
- SharedStorageDataOrigin dataOrigin = "context-origin";
96
+ USVString dataOrigin = "context-origin";
97
97
  };
98
98
 
99
99
  interface mixin HTMLSharedStorageWritableElementUtils {
package/turtledove.idl CHANGED
@@ -48,11 +48,16 @@ dictionary GenerateBidInterestGroup {
48
48
  record<DOMString, sequence<DOMString>> sizeGroups;
49
49
  };
50
50
 
51
+ dictionary ProtectedAudiencePrivateAggregationConfig {
52
+ USVString aggregationCoordinatorOrigin;
53
+ };
54
+
51
55
  dictionary AuctionAdInterestGroup : GenerateBidInterestGroup {
52
56
  double priority = 0.0;
53
57
  record<DOMString, double> prioritySignalsOverrides;
54
58
  required double lifetimeMs;
55
59
  DOMString additionalBidKey;
60
+ ProtectedAudiencePrivateAggregationConfig privateAggregationConfig;
56
61
  };
57
62
 
58
63
  [SecureContext]
@@ -77,6 +82,18 @@ partial interface Navigator {
77
82
  readonly attribute boolean deprecatedRunAdAuctionEnforcesKAnonymity;
78
83
  };
79
84
 
85
+ dictionary AuctionReportBuyersConfig {
86
+ required bigint bucket;
87
+ required double scale;
88
+ };
89
+
90
+ dictionary AuctionReportBuyerDebugModeConfig {
91
+ boolean enabled = false;
92
+
93
+ // Must only be provided if `enabled` is true.
94
+ bigint? debugKey;
95
+ };
96
+
80
97
  dictionary AuctionRealTimeReportingConfig {
81
98
  required DOMString type;
82
99
  };
@@ -104,7 +121,13 @@ dictionary AuctionAdConfig {
104
121
  record<USVString, unsigned short> perBuyerGroupLimits;
105
122
  record<USVString, unsigned short> perBuyerExperimentGroupIds;
106
123
  record<USVString, record<USVString, double>> perBuyerPrioritySignals;
124
+
125
+ sequence<bigint> auctionReportBuyerKeys;
126
+ record<DOMString, AuctionReportBuyersConfig> auctionReportBuyers;
127
+ AuctionReportBuyerDebugModeConfig auctionReportBuyerDebugModeConfig;
107
128
  sequence<DOMString> requiredSellerCapabilities;
129
+ ProtectedAudiencePrivateAggregationConfig privateAggregationConfig;
130
+
108
131
  record<DOMString, DOMString> requestedSize;
109
132
  sequence<record<DOMString, DOMString>> allSlotsRequestedSizes;
110
133
  Promise<undefined> additionalBids;
@@ -145,6 +168,18 @@ dictionary AdAuctionDataBuyerConfig {
145
168
  unsigned long targetSize;
146
169
  };
147
170
 
171
+ dictionary StorageInterestGroup : AuctionAdInterestGroup {
172
+ unsigned long long joinCount;
173
+ unsigned long long bidCount;
174
+ sequence<PreviousWin> prevWinsMs;
175
+ USVString joiningOrigin;
176
+ long long timeSinceGroupJoinedMs;
177
+ long long lifetimeRemainingMs;
178
+ long long timeSinceLastUpdateMs;
179
+ long long timeUntilNextUpdateMs;
180
+ unsigned long long estimatedSize;
181
+ };
182
+
148
183
  [SecureContext]
149
184
  partial interface Navigator {
150
185
  Promise<DOMString> createAuctionNonce();
@@ -152,6 +187,25 @@ partial interface Navigator {
152
187
 
153
188
  [Exposed=InterestGroupScriptRunnerGlobalScope]
154
189
  interface InterestGroupScriptRunnerGlobalScope {
190
+ readonly attribute PrivateAggregation? privateAggregation;
191
+ };
192
+
193
+ dictionary PASignalValue {
194
+ required DOMString baseValue;
195
+ double scale;
196
+ (bigint or long) offset;
197
+ };
198
+
199
+ dictionary PAExtendedHistogramContribution {
200
+ required (PASignalValue or bigint) bucket;
201
+ required (PASignalValue or long) value;
202
+ bigint filteringId = 0;
203
+ };
204
+
205
+ [Exposed=InterestGroupScriptRunnerGlobalScope]
206
+ partial interface PrivateAggregation {
207
+ undefined contributeToHistogramOnEvent(
208
+ DOMString event, PAExtendedHistogramContribution contribution);
155
209
  };
156
210
 
157
211
  [Exposed=InterestGroupBiddingAndScoringScriptRunnerGlobalScope]
package/user-timing.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: User Timing Level 3 (https://w3c.github.io/user-timing/)
4
+ // Source: User Timing (https://w3c.github.io/user-timing/)
5
5
 
6
6
  dictionary PerformanceMarkOptions {
7
7
  any detail;
@@ -136,6 +136,7 @@ dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
136
136
 
137
137
  dictionary GetAnimationsOptions {
138
138
  boolean subtree = false;
139
+ CSSOMString? pseudoElement = null;
139
140
  };
140
141
 
141
142
  partial interface Document {
package/webauthn.idl CHANGED
@@ -330,7 +330,6 @@ partial dictionary AuthenticationExtensionsClientInputs {
330
330
 
331
331
  dictionary CredentialPropertiesOutput {
332
332
  boolean rk;
333
- DOMString authenticatorDisplayName;
334
333
  };
335
334
 
336
335
  partial dictionary AuthenticationExtensionsClientOutputs {
package/webcodecs.idl CHANGED
@@ -317,6 +317,8 @@ interface VideoFrame {
317
317
  readonly attribute unsigned long codedHeight;
318
318
  readonly attribute DOMRectReadOnly? codedRect;
319
319
  readonly attribute DOMRectReadOnly? visibleRect;
320
+ readonly attribute double rotation;
321
+ readonly attribute boolean flip;
320
322
  readonly attribute unsigned long displayWidth;
321
323
  readonly attribute unsigned long displayHeight;
322
324
  readonly attribute unsigned long long? duration; // microseconds
@@ -344,6 +346,9 @@ dictionary VideoFrameInit {
344
346
  // aspect ratio unless an explicit displayWidth and displayHeight are given.
345
347
  DOMRectInit visibleRect;
346
348
 
349
+ double rotation = 0;
350
+ boolean flip = false;
351
+
347
352
  // Default matches image unless visibleRect is provided.
348
353
  [EnforceRange] unsigned long displayWidth;
349
354
  [EnforceRange] unsigned long displayHeight;
@@ -364,6 +369,9 @@ dictionary VideoFrameBufferInit {
364
369
  // Default visible rect is coded size positioned at (0,0)
365
370
  DOMRectInit visibleRect;
366
371
 
372
+ double rotation = 0;
373
+ boolean flip = false;
374
+
367
375
  // Default display dimensions match visibleRect.
368
376
  [EnforceRange] unsigned long displayWidth;
369
377
  [EnforceRange] unsigned long displayHeight;
package/webgpu.idl CHANGED
@@ -78,7 +78,7 @@ interface GPU {
78
78
  };
79
79
 
80
80
  dictionary GPURequestAdapterOptions {
81
- DOMString featureLevel;
81
+ DOMString featureLevel = "core";
82
82
  GPUPowerPreference powerPreference;
83
83
  boolean forceFallbackAdapter = false;
84
84
  };
@@ -128,6 +128,7 @@ enum GPUFeatureName {
128
128
  interface GPUDevice : EventTarget {
129
129
  [SameObject] readonly attribute GPUSupportedFeatures features;
130
130
  [SameObject] readonly attribute GPUSupportedLimits limits;
131
+ [SameObject] readonly attribute GPUAdapterInfo adapterInfo;
131
132
 
132
133
  [SameObject] readonly attribute GPUQueue queue;
133
134
 
@@ -570,7 +571,7 @@ GPUPipelineLayout includes GPUObjectBase;
570
571
 
571
572
  dictionary GPUPipelineLayoutDescriptor
572
573
  : GPUObjectDescriptorBase {
573
- required sequence<GPUBindGroupLayout> bindGroupLayouts;
574
+ required sequence<GPUBindGroupLayout?> bindGroupLayouts;
574
575
  };
575
576
 
576
577
  [Exposed=(Window, Worker), SecureContext]
@@ -810,22 +811,31 @@ enum GPUIndexFormat {
810
811
  };
811
812
 
812
813
  enum GPUVertexFormat {
814
+ "uint8",
813
815
  "uint8x2",
814
816
  "uint8x4",
817
+ "sint8",
815
818
  "sint8x2",
816
819
  "sint8x4",
820
+ "unorm8",
817
821
  "unorm8x2",
818
822
  "unorm8x4",
823
+ "snorm8",
819
824
  "snorm8x2",
820
825
  "snorm8x4",
826
+ "uint16",
821
827
  "uint16x2",
822
828
  "uint16x4",
829
+ "sint16",
823
830
  "sint16x2",
824
831
  "sint16x4",
832
+ "unorm16",
825
833
  "unorm16x2",
826
834
  "unorm16x4",
835
+ "snorm16",
827
836
  "snorm16x2",
828
837
  "snorm16x4",
838
+ "float16",
829
839
  "float16x2",
830
840
  "float16x4",
831
841
  "float32",
@@ -841,6 +851,7 @@ enum GPUVertexFormat {
841
851
  "sint32x3",
842
852
  "sint32x4",
843
853
  "unorm10-10-10-2",
854
+ "unorm8x4-bgra",
844
855
  };
845
856
 
846
857
  enum GPUVertexStepMode {
@@ -866,26 +877,26 @@ dictionary GPUVertexAttribute {
866
877
  required GPUIndex32 shaderLocation;
867
878
  };
868
879
 
869
- dictionary GPUImageDataLayout {
880
+ dictionary GPUTexelCopyBufferLayout {
870
881
  GPUSize64 offset = 0;
871
882
  GPUSize32 bytesPerRow;
872
883
  GPUSize32 rowsPerImage;
873
884
  };
874
885
 
875
- dictionary GPUImageCopyBuffer
876
- : GPUImageDataLayout {
886
+ dictionary GPUTexelCopyBufferInfo
887
+ : GPUTexelCopyBufferLayout {
877
888
  required GPUBuffer buffer;
878
889
  };
879
890
 
880
- dictionary GPUImageCopyTexture {
891
+ dictionary GPUTexelCopyTextureInfo {
881
892
  required GPUTexture texture;
882
893
  GPUIntegerCoordinate mipLevel = 0;
883
894
  GPUOrigin3D origin = {};
884
895
  GPUTextureAspect aspect = "all";
885
896
  };
886
897
 
887
- dictionary GPUImageCopyTextureTagged
888
- : GPUImageCopyTexture {
898
+ dictionary GPUCopyExternalImageDestInfo
899
+ : GPUTexelCopyTextureInfo {
889
900
  PredefinedColorSpace colorSpace = "srgb";
890
901
  boolean premultipliedAlpha = false;
891
902
  };
@@ -896,10 +907,10 @@ typedef (ImageBitmap or
896
907
  HTMLVideoElement or
897
908
  VideoFrame or
898
909
  HTMLCanvasElement or
899
- OffscreenCanvas) GPUImageCopyExternalImageSource;
910
+ OffscreenCanvas) GPUCopyExternalImageSource;
900
911
 
901
- dictionary GPUImageCopyExternalImage {
902
- required GPUImageCopyExternalImageSource source;
912
+ dictionary GPUCopyExternalImageSourceInfo {
913
+ required GPUCopyExternalImageSource source;
903
914
  GPUOrigin2D origin = {};
904
915
  boolean flipY = false;
905
916
  };
@@ -929,18 +940,18 @@ interface GPUCommandEncoder {
929
940
  GPUSize64 size);
930
941
 
931
942
  undefined copyBufferToTexture(
932
- GPUImageCopyBuffer source,
933
- GPUImageCopyTexture destination,
943
+ GPUTexelCopyBufferInfo source,
944
+ GPUTexelCopyTextureInfo destination,
934
945
  GPUExtent3D copySize);
935
946
 
936
947
  undefined copyTextureToBuffer(
937
- GPUImageCopyTexture source,
938
- GPUImageCopyBuffer destination,
948
+ GPUTexelCopyTextureInfo source,
949
+ GPUTexelCopyBufferInfo destination,
939
950
  GPUExtent3D copySize);
940
951
 
941
952
  undefined copyTextureToTexture(
942
- GPUImageCopyTexture source,
943
- GPUImageCopyTexture destination,
953
+ GPUTexelCopyTextureInfo source,
954
+ GPUTexelCopyTextureInfo destination,
944
955
  GPUExtent3D copySize);
945
956
 
946
957
  undefined clearBuffer(
@@ -1145,14 +1156,14 @@ interface GPUQueue {
1145
1156
  optional GPUSize64 size);
1146
1157
 
1147
1158
  undefined writeTexture(
1148
- GPUImageCopyTexture destination,
1159
+ GPUTexelCopyTextureInfo destination,
1149
1160
  AllowSharedBufferSource data,
1150
- GPUImageDataLayout dataLayout,
1161
+ GPUTexelCopyBufferLayout dataLayout,
1151
1162
  GPUExtent3D size);
1152
1163
 
1153
1164
  undefined copyExternalImageToTexture(
1154
- GPUImageCopyExternalImage source,
1155
- GPUImageCopyTextureTagged destination,
1165
+ GPUCopyExternalImageSourceInfo source,
1166
+ GPUCopyExternalImageDestInfo destination,
1156
1167
  GPUExtent3D copySize);
1157
1168
  };
1158
1169
  GPUQueue includes GPUObjectBase;
@@ -1275,7 +1286,6 @@ dictionary GPUUncapturedErrorEventInit : EventInit {
1275
1286
  };
1276
1287
 
1277
1288
  partial interface GPUDevice {
1278
- [Exposed=(Window, Worker)]
1279
1289
  attribute EventHandler onuncapturederror;
1280
1290
  };
1281
1291
 
package/webnn.idl CHANGED
@@ -95,8 +95,8 @@ dictionary MLOperandDescriptor {
95
95
 
96
96
  [SecureContext, Exposed=(Window, DedicatedWorker)]
97
97
  interface MLOperand {
98
- MLOperandDataType dataType();
99
- sequence<unsigned long> shape();
98
+ readonly attribute MLOperandDataType dataType;
99
+ readonly attribute FrozenArray<unsigned long> shape;
100
100
  };
101
101
 
102
102
  dictionary MLOperatorOptions {
@@ -872,7 +872,7 @@ dictionary MLSplitSupportLimits {
872
872
  };
873
873
 
874
874
  partial dictionary MLOpSupportLimits {
875
- MLSingleInputSupportLimits split;
875
+ MLSplitSupportLimits split;
876
876
  };
877
877
 
878
878
  partial interface MLGraphBuilder {
package/webrtc-stats.idl CHANGED
@@ -96,6 +96,9 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
96
96
  unsigned long long retransmittedBytesReceived;
97
97
  unsigned long rtxSsrc;
98
98
  unsigned long fecSsrc;
99
+ double totalCorruptionProbability;
100
+ double totalSquaredCorruptionProbability;
101
+ unsigned long long corruptionMeasurements;
99
102
  };
100
103
 
101
104
  dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
package/webxr.idl CHANGED
@@ -40,6 +40,7 @@ enum XRVisibilityState {
40
40
  readonly attribute Float32Array? supportedFrameRates;
41
41
  [SameObject] readonly attribute XRRenderState renderState;
42
42
  [SameObject] readonly attribute XRInputSourceArray inputSources;
43
+ [SameObject] readonly attribute XRInputSourceArray trackedSources;
43
44
  readonly attribute FrozenArray<DOMString> enabledFeatures;
44
45
  readonly attribute boolean isSystemKeyboardSupported;
45
46