@webref/idl 3.63.0 → 3.64.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/html.idl CHANGED
@@ -1542,28 +1542,6 @@ interface TextMetrics {
1542
1542
  readonly attribute double ideographicBaseline;
1543
1543
  };
1544
1544
 
1545
- typedef (Uint8ClampedArray or Float16Array) ImageDataArray;
1546
-
1547
- enum ImageDataPixelFormat { "rgba-unorm8", "rgba-float16" };
1548
-
1549
- dictionary ImageDataSettings {
1550
- PredefinedColorSpace colorSpace;
1551
- ImageDataPixelFormat pixelFormat = "rgba-unorm8";
1552
- };
1553
-
1554
- [Exposed=(Window,Worker),
1555
- Serializable]
1556
- interface ImageData {
1557
- constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {});
1558
- constructor(ImageDataArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
1559
-
1560
- readonly attribute unsigned long width;
1561
- readonly attribute unsigned long height;
1562
- readonly attribute ImageDataArray data;
1563
- readonly attribute ImageDataPixelFormat pixelFormat;
1564
- readonly attribute PredefinedColorSpace colorSpace;
1565
- };
1566
-
1567
1545
  [Exposed=(Window,Worker)]
1568
1546
  interface Path2D {
1569
1547
  constructor(optional (Path2D or DOMString) path);
@@ -2476,6 +2454,28 @@ interface MimeType {
2476
2454
  readonly attribute Plugin enabledPlugin;
2477
2455
  };
2478
2456
 
2457
+ typedef (Uint8ClampedArray or Float16Array) ImageDataArray;
2458
+
2459
+ enum ImageDataPixelFormat { "rgba-unorm8", "rgba-float16" };
2460
+
2461
+ dictionary ImageDataSettings {
2462
+ PredefinedColorSpace colorSpace;
2463
+ ImageDataPixelFormat pixelFormat = "rgba-unorm8";
2464
+ };
2465
+
2466
+ [Exposed=(Window,Worker),
2467
+ Serializable]
2468
+ interface ImageData {
2469
+ constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {});
2470
+ constructor(ImageDataArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
2471
+
2472
+ readonly attribute unsigned long width;
2473
+ readonly attribute unsigned long height;
2474
+ readonly attribute ImageDataArray data;
2475
+ readonly attribute ImageDataPixelFormat pixelFormat;
2476
+ readonly attribute PredefinedColorSpace colorSpace;
2477
+ };
2478
+
2479
2479
  [Exposed=(Window,Worker), Serializable, Transferable]
2480
2480
  interface ImageBitmap {
2481
2481
  readonly attribute unsigned long width;
@@ -91,11 +91,11 @@ dictionary MediaCapabilitiesInfo {
91
91
 
92
92
  dictionary MediaCapabilitiesDecodingInfo : MediaCapabilitiesInfo {
93
93
  required MediaKeySystemAccess? keySystemAccess;
94
- MediaDecodingConfiguration configuration;
94
+ required MediaDecodingConfiguration configuration;
95
95
  };
96
96
 
97
97
  dictionary MediaCapabilitiesEncodingInfo : MediaCapabilitiesInfo {
98
- MediaEncodingConfiguration configuration;
98
+ required MediaEncodingConfiguration configuration;
99
99
  };
100
100
 
101
101
  [Exposed=Window]
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.63.0",
4
+ "version": "3.64.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/paint-timing.idl CHANGED
@@ -10,5 +10,7 @@ interface mixin PaintTimingMixin {
10
10
  };
11
11
 
12
12
  [Exposed=Window]
13
- interface PerformancePaintTiming : PerformanceEntry {};
13
+ interface PerformancePaintTiming : PerformanceEntry {
14
+ [Default] object toJSON();
15
+ };
14
16
  PerformancePaintTiming includes PaintTimingMixin;
@@ -25,8 +25,8 @@ interface PrivateAttribution {
25
25
 
26
26
  dictionary PrivateAttributionImpressionOptions {
27
27
  required unsigned long histogramIndex;
28
- unsigned long filterData = 0;
29
- required USVString conversionSite;
28
+ unsigned long matchValue = 0;
29
+ sequence<USVString> conversionSites = [];
30
30
  unsigned long lifetimeDays = 30;
31
31
  };
32
32
 
@@ -42,7 +42,7 @@ dictionary PrivateAttributionConversionOptions {
42
42
  required unsigned long histogramSize;
43
43
 
44
44
  unsigned long lookbackDays;
45
- unsigned long filterData;
45
+ sequence<unsigned long> matchValue = [];
46
46
  sequence<USVString> impressionSites = [];
47
47
  sequence<USVString> intermediarySites = [];
48
48
 
package/sri.idl ADDED
@@ -0,0 +1,13 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Subresource Integrity (https://w3c.github.io/webappsec-subresource-integrity/)
5
+
6
+ [Exposed=Window]
7
+ interface IntegrityPolicyViolationReportBody : ReportBody {
8
+ [Default] object toJSON();
9
+ readonly attribute USVString documentURL;
10
+ readonly attribute USVString blockedURL;
11
+ readonly attribute USVString destination;
12
+ readonly attribute boolean reportOnly;
13
+ };
@@ -55,6 +55,17 @@ dictionary SFrameTransformErrorEventInit : EventInit {
55
55
  CryptoKeyID? keyID;
56
56
  };
57
57
 
58
+ dictionary RTCEncodedFrameMetadata {
59
+ unsigned long synchronizationSource;
60
+ octet payloadType;
61
+ sequence<unsigned long> contributingSources;
62
+ unsigned long rtpTimestamp;
63
+ DOMHighResTimeStamp receiveTime;
64
+ DOMHighResTimeStamp captureTime;
65
+ DOMHighResTimeStamp senderCaptureTimeOffset;
66
+ DOMString mimeType;
67
+ };
68
+
58
69
  // New enum for video frame types. Will eventually re-use the equivalent defined
59
70
  // by WebCodecs.
60
71
  enum RTCEncodedVideoFrameType {
@@ -63,22 +74,14 @@ enum RTCEncodedVideoFrameType {
63
74
  "delta",
64
75
  };
65
76
 
66
- dictionary RTCEncodedVideoFrameMetadata {
77
+ dictionary RTCEncodedVideoFrameMetadata : RTCEncodedFrameMetadata {
67
78
  unsigned long long frameId;
68
79
  sequence<unsigned long long> dependencies;
69
80
  unsigned short width;
70
81
  unsigned short height;
71
82
  unsigned long spatialIndex;
72
83
  unsigned long temporalIndex;
73
- unsigned long synchronizationSource;
74
- octet payloadType;
75
- sequence<unsigned long> contributingSources;
76
84
  long long timestamp; // microseconds
77
- unsigned long rtpTimestamp;
78
- DOMHighResTimeStamp receiveTime;
79
- DOMHighResTimeStamp captureTime;
80
- DOMHighResTimeStamp senderCaptureTimeOffset;
81
- DOMString mimeType;
82
85
  };
83
86
 
84
87
  dictionary RTCEncodedVideoFrameOptions {
@@ -95,16 +98,9 @@ interface RTCEncodedVideoFrame {
95
98
  RTCEncodedVideoFrameMetadata getMetadata();
96
99
  };
97
100
 
98
- dictionary RTCEncodedAudioFrameMetadata {
99
- unsigned long synchronizationSource;
100
- octet payloadType;
101
- sequence<unsigned long> contributingSources;
101
+ dictionary RTCEncodedAudioFrameMetadata : RTCEncodedFrameMetadata {
102
102
  short sequenceNumber;
103
- unsigned long rtpTimestamp;
104
- DOMHighResTimeStamp receiveTime;
105
- DOMHighResTimeStamp captureTime;
106
- DOMHighResTimeStamp senderCaptureTimeOffset;
107
- DOMString mimeType;
103
+ double audioLevel;
108
104
  };
109
105
 
110
106
  dictionary RTCEncodedAudioFrameOptions {
package/webtransport.idl CHANGED
@@ -27,6 +27,7 @@ interface WebTransport {
27
27
  constructor(USVString url, optional WebTransportOptions options = {});
28
28
 
29
29
  Promise<WebTransportConnectionStats> getStats();
30
+ [NewObject] Promise<ArrayBuffer> exportKeyingMaterial(BufferSource label, optional BufferSource context);
30
31
  readonly attribute Promise<undefined> ready;
31
32
  readonly attribute WebTransportReliabilityMode reliability;
32
33
  readonly attribute WebTransportCongestionControl congestionControl;