@webref/idl 3.60.1 → 3.60.3

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
@@ -1483,6 +1483,7 @@ interface mixin CanvasPathDrawingStyles {
1483
1483
 
1484
1484
  interface mixin CanvasTextDrawingStyles {
1485
1485
  // text
1486
+ attribute DOMString lang; // (default: "inherit")
1486
1487
  attribute DOMString font; // (default 10px sans-serif)
1487
1488
  attribute CanvasTextAlign textAlign; // (default: "start")
1488
1489
  attribute CanvasTextBaseline textBaseline; // (default: "alphabetic")
@@ -2368,6 +2369,13 @@ partial interface Range {
2368
2369
  [CEReactions, NewObject] DocumentFragment createContextualFragment((TrustedHTML or DOMString) string);
2369
2370
  };
2370
2371
 
2372
+ [Exposed=Window]
2373
+ interface XMLSerializer {
2374
+ constructor();
2375
+
2376
+ DOMString serializeToString(Node root);
2377
+ };
2378
+
2371
2379
  [Exposed=Window]
2372
2380
  interface Navigator {
2373
2381
  // objects implementing this interface also implement the interfaces given below
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.60.1",
4
+ "version": "3.60.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/ppa.idl CHANGED
@@ -10,7 +10,7 @@ partial interface Navigator {
10
10
  enum PrivateAttributionProtocol { "dap-12-histogram", "tee-00" };
11
11
 
12
12
  dictionary PrivateAttributionAggregationService {
13
- required DOMString url;
13
+ required USVString url;
14
14
  required DOMString protocol;
15
15
  };
16
16
 
@@ -27,7 +27,7 @@ interface PrivateAttribution {
27
27
  dictionary PrivateAttributionImpressionOptions {
28
28
  required unsigned long histogramIndex;
29
29
  unsigned long filterData = 0;
30
- required DOMString conversionSite;
30
+ required USVString conversionSite;
31
31
  unsigned long lifetimeDays = 30;
32
32
  };
33
33
 
@@ -37,19 +37,19 @@ partial interface PrivateAttribution {
37
37
  };
38
38
 
39
39
  dictionary PrivateAttributionConversionOptions {
40
- required DOMString aggregationService;
40
+ required USVString aggregationService;
41
41
  double epsilon = 1.0;
42
42
 
43
43
  required unsigned long histogramSize;
44
44
 
45
+ unsigned long lookbackDays;
46
+ unsigned long filterData;
47
+ sequence<USVString> impressionSites = [];
48
+ sequence<USVString> intermediarySites = [];
49
+
45
50
  PrivateAttributionLogic logic = "last-touch";
46
51
  unsigned long value = 1;
47
52
  unsigned long maxValue = 1;
48
-
49
- unsigned long lookbackDays;
50
- unsigned long filterData;
51
- sequence<DOMString> impressionSites = [];
52
- sequence<DOMString> intermediarySites = [];
53
53
  };
54
54
 
55
55
  dictionary PrivateAttributionConversionResult {
@@ -7,6 +7,8 @@
7
7
  SecureContext]
8
8
  interface PrivateAggregation {
9
9
  undefined contributeToHistogram(PAHistogramContribution contribution);
10
+ undefined contributeToHistogramOnEvent(DOMString event,
11
+ record<DOMString, any> contribution);
10
12
  undefined enableDebugMode(optional PADebugModeOptions options = {});
11
13
  };
12
14
 
@@ -71,6 +71,7 @@ dictionary SharedStorageSetMethodOptions : SharedStorageModifierMethodOptions {
71
71
 
72
72
  [Exposed=(Window,SharedStorageWorklet)]
73
73
  interface SharedStorage {
74
+ Promise<DOMString> get(DOMString key);
74
75
  Promise<any> set(DOMString key,
75
76
  DOMString value,
76
77
  optional SharedStorageSetMethodOptions options = {});
@@ -97,9 +98,6 @@ interface SharedStorage {
97
98
  [Exposed=Window]
98
99
  readonly attribute SharedStorageWorklet worklet;
99
100
 
100
- [Exposed=SharedStorageWorklet]
101
- Promise<DOMString> get(DOMString key);
102
-
103
101
  [Exposed=SharedStorageWorklet]
104
102
  Promise<unsigned long> length();
105
103
 
package/turtledove.idl CHANGED
@@ -18,6 +18,7 @@ dictionary AuctionAd {
18
18
  sequence<USVString> selectableBuyerAndSellerReportingIds;
19
19
  sequence<USVString> allowedReportingOrigins;
20
20
  DOMString adRenderId;
21
+ USVString creativeScanningMetadata;
21
22
  };
22
23
 
23
24
  dictionary AuctionAdInterestGroupSize {
@@ -106,6 +107,7 @@ dictionary AuctionAdConfig {
106
107
  USVString trustedScoringSignalsURL;
107
108
  long maxTrustedScoringSignalsURLLength;
108
109
  USVString trustedScoringSignalsCoordinator;
110
+ boolean sendCreativeScanningMetadata;
109
111
  sequence<USVString> interestGroupBuyers;
110
112
  Promise<any> auctionSignals;
111
113
  Promise<any> sellerSignals;
@@ -218,12 +220,6 @@ dictionary PAExtendedHistogramContribution {
218
220
  bigint filteringId = 0;
219
221
  };
220
222
 
221
- [Exposed=InterestGroupScriptRunnerGlobalScope]
222
- partial interface PrivateAggregation {
223
- undefined contributeToHistogramOnEvent(
224
- DOMString event, PAExtendedHistogramContribution contribution);
225
- };
226
-
227
223
  [Exposed=InterestGroupBiddingAndScoringScriptRunnerGlobalScope]
228
224
  interface ForDebuggingOnly {
229
225
  undefined reportAdAuctionWin(USVString url);
@@ -351,6 +347,8 @@ dictionary ScoringBrowserSignals {
351
347
  unsigned long crossOriginDataVersion;
352
348
  sequence<USVString> adComponents;
353
349
  boolean forDebuggingOnlyInCooldownOrLockout = false;
350
+ USVString creativeScanningMetadata;
351
+ sequence<USVString?> adComponentsCreativeScanningMetadata;
354
352
  };
355
353
 
356
354
  dictionary ReportingBrowserSignals {
package/webaudio.idl CHANGED
@@ -80,7 +80,6 @@ interface AudioContext : BaseAudioContext {
80
80
  readonly attribute double baseLatency;
81
81
  readonly attribute double outputLatency;
82
82
  [SecureContext] readonly attribute (DOMString or AudioSinkInfo) sinkId;
83
- [SecureContext] readonly attribute AudioRenderCapacity renderCapacity;
84
83
  attribute EventHandler onsinkchange;
85
84
  attribute EventHandler onerror;
86
85
  AudioTimestamp getOutputTimestamp ();
@@ -116,33 +115,6 @@ dictionary AudioTimestamp {
116
115
  DOMHighResTimeStamp performanceTime;
117
116
  };
118
117
 
119
- [Exposed=Window]
120
- interface AudioRenderCapacity : EventTarget {
121
- undefined start(optional AudioRenderCapacityOptions options = {});
122
- undefined stop();
123
- attribute EventHandler onupdate;
124
- };
125
-
126
- dictionary AudioRenderCapacityOptions {
127
- double updateInterval = 1;
128
- };
129
-
130
- [Exposed=Window]
131
- interface AudioRenderCapacityEvent : Event {
132
- constructor (DOMString type, optional AudioRenderCapacityEventInit eventInitDict = {});
133
- readonly attribute double timestamp;
134
- readonly attribute double averageLoad;
135
- readonly attribute double peakLoad;
136
- readonly attribute double underrunRatio;
137
- };
138
-
139
- dictionary AudioRenderCapacityEventInit : EventInit {
140
- double timestamp = 0;
141
- double averageLoad = 0;
142
- double peakLoad = 0;
143
- double underrunRatio = 0;
144
- };
145
-
146
118
  [Exposed=Window]
147
119
  interface OfflineAudioContext : BaseAudioContext {
148
120
  constructor(OfflineAudioContextOptions contextOptions);
package/webnn.idl CHANGED
@@ -19,7 +19,7 @@ dictionary MLContextOptions {
19
19
  MLPowerPreference powerPreference = "default";
20
20
  };
21
21
 
22
- [SecureContext, Exposed=(Window, DedicatedWorker)]
22
+ [SecureContext, Exposed=(Window, Worker)]
23
23
  interface ML {
24
24
  Promise<MLContext> createContext(optional MLContextOptions options = {});
25
25
  Promise<MLContext> createContext(GPUDevice gpuDevice);
@@ -31,7 +31,7 @@ dictionary MLContextLostInfo {
31
31
  DOMString message;
32
32
  };
33
33
 
34
- [SecureContext, Exposed=(Window, DedicatedWorker)]
34
+ [SecureContext, Exposed=(Window, Worker)]
35
35
  interface MLContext {
36
36
  undefined dispatch(MLGraph graph, MLNamedTensors inputs, MLNamedTensors outputs);
37
37
 
@@ -71,7 +71,7 @@ dictionary MLSingleInputSupportLimits {
71
71
  MLSupportLimits output;
72
72
  };
73
73
 
74
- [SecureContext, Exposed=(Window, DedicatedWorker)]
74
+ [SecureContext, Exposed=(Window, Worker)]
75
75
  interface MLGraph {
76
76
  undefined destroy();
77
77
  };
@@ -97,7 +97,7 @@ dictionary MLOperandDescriptor {
97
97
  required sequence<[EnforceRange] unsigned long> shape;
98
98
  };
99
99
 
100
- [SecureContext, Exposed=(Window, DedicatedWorker)]
100
+ [SecureContext, Exposed=(Window, Worker)]
101
101
  interface MLOperand {
102
102
  readonly attribute MLOperandDataType dataType;
103
103
  readonly attribute FrozenArray<unsigned long> shape;
@@ -114,7 +114,7 @@ dictionary MLTensorDescriptor : MLOperandDescriptor {
114
114
  boolean writable = false;
115
115
  };
116
116
 
117
- [SecureContext, Exposed=(Window, DedicatedWorker)]
117
+ [SecureContext, Exposed=(Window, Worker)]
118
118
  interface MLTensor {
119
119
  readonly attribute MLOperandDataType dataType;
120
120
  readonly attribute FrozenArray<unsigned long> shape;
@@ -126,7 +126,7 @@ interface MLTensor {
126
126
 
127
127
  typedef record<USVString, MLOperand> MLNamedOperands;
128
128
 
129
- [SecureContext, Exposed=(Window, DedicatedWorker)]
129
+ [SecureContext, Exposed=(Window, Worker)]
130
130
  interface MLGraphBuilder {
131
131
  // Construct the graph builder from the context.
132
132
  constructor(MLContext context);
@@ -75,6 +75,9 @@ dictionary RTCEncodedVideoFrameMetadata {
75
75
  sequence<unsigned long> contributingSources;
76
76
  long long timestamp; // microseconds
77
77
  unsigned long rtpTimestamp;
78
+ DOMHighResTimeStamp receiveTime;
79
+ DOMHighResTimeStamp captureTime;
80
+ DOMHighResTimeStamp senderCaptureTimeOffset;
78
81
  DOMString mimeType;
79
82
  };
80
83
 
@@ -98,6 +101,9 @@ dictionary RTCEncodedAudioFrameMetadata {
98
101
  sequence<unsigned long> contributingSources;
99
102
  short sequenceNumber;
100
103
  unsigned long rtpTimestamp;
104
+ DOMHighResTimeStamp receiveTime;
105
+ DOMHighResTimeStamp captureTime;
106
+ DOMHighResTimeStamp senderCaptureTimeOffset;
101
107
  DOMString mimeType;
102
108
  };
103
109
 
package/DOM-Parsing.idl DELETED
@@ -1,10 +0,0 @@
1
- // GENERATED CONTENT - DO NOT EDIT
2
- // Content was automatically extracted by Reffy into webref
3
- // (https://github.com/w3c/webref)
4
- // Source: DOM Parsing and Serialization (https://w3c.github.io/DOM-Parsing/)
5
-
6
- [Exposed=Window]
7
- interface XMLSerializer {
8
- constructor();
9
- DOMString serializeToString(Node root);
10
- };