@webref/idl 3.60.0 → 3.60.2
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 +25 -3
- package/package.json +1 -1
- package/ppa.idl +9 -9
- package/sanitizer-api.idl +1 -1
- package/shared-storage.idl +1 -3
- package/turtledove.idl +4 -0
- package/webnn.idl +6 -6
- package/webrtc-encoded-transform.idl +6 -0
- package/DOM-Parsing.idl +0 -10
package/html.idl
CHANGED
|
@@ -957,6 +957,8 @@ HTMLInputElement includes PopoverInvokerElement;
|
|
|
957
957
|
interface HTMLButtonElement : HTMLElement {
|
|
958
958
|
[HTMLConstructor] constructor();
|
|
959
959
|
|
|
960
|
+
[CEReactions] attribute DOMString command;
|
|
961
|
+
[CEReactions] attribute Element? commandForElement;
|
|
960
962
|
[CEReactions] attribute boolean disabled;
|
|
961
963
|
readonly attribute HTMLFormElement? form;
|
|
962
964
|
[CEReactions] attribute USVString formAction;
|
|
@@ -1450,10 +1452,10 @@ interface mixin CanvasDrawImage {
|
|
|
1450
1452
|
interface mixin CanvasImageData {
|
|
1451
1453
|
// pixel manipulation
|
|
1452
1454
|
ImageData createImageData([EnforceRange] long sw, [EnforceRange] long sh, optional ImageDataSettings settings = {});
|
|
1453
|
-
ImageData createImageData(ImageData
|
|
1455
|
+
ImageData createImageData(ImageData imageData);
|
|
1454
1456
|
ImageData getImageData([EnforceRange] long sx, [EnforceRange] long sy, [EnforceRange] long sw, [EnforceRange] long sh, optional ImageDataSettings settings = {});
|
|
1455
|
-
undefined putImageData(ImageData
|
|
1456
|
-
undefined putImageData(ImageData
|
|
1457
|
+
undefined putImageData(ImageData imageData, [EnforceRange] long dx, [EnforceRange] long dy);
|
|
1458
|
+
undefined putImageData(ImageData imageData, [EnforceRange] long dx, [EnforceRange] long dy, [EnforceRange] long dirtyX, [EnforceRange] long dirtyY, [EnforceRange] long dirtyWidth, [EnforceRange] long dirtyHeight);
|
|
1457
1459
|
};
|
|
1458
1460
|
|
|
1459
1461
|
enum CanvasLineCap { "butt", "round", "square" };
|
|
@@ -1710,6 +1712,18 @@ dictionary ToggleEventInit : EventInit {
|
|
|
1710
1712
|
DOMString newState = "";
|
|
1711
1713
|
};
|
|
1712
1714
|
|
|
1715
|
+
[Exposed=Window]
|
|
1716
|
+
interface CommandEvent : Event {
|
|
1717
|
+
constructor(DOMString type, optional CommandEventInit eventInitDict = {});
|
|
1718
|
+
readonly attribute Element? source;
|
|
1719
|
+
readonly attribute DOMString command;
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
dictionary CommandEventInit : EventInit {
|
|
1723
|
+
Element? source = null;
|
|
1724
|
+
DOMString command = "";
|
|
1725
|
+
};
|
|
1726
|
+
|
|
1713
1727
|
dictionary FocusOptions {
|
|
1714
1728
|
boolean preventScroll = false;
|
|
1715
1729
|
boolean focusVisible;
|
|
@@ -2195,6 +2209,7 @@ interface mixin GlobalEventHandlers {
|
|
|
2195
2209
|
attribute EventHandler onchange;
|
|
2196
2210
|
attribute EventHandler onclick;
|
|
2197
2211
|
attribute EventHandler onclose;
|
|
2212
|
+
attribute EventHandler oncommand;
|
|
2198
2213
|
attribute EventHandler oncontextlost;
|
|
2199
2214
|
attribute EventHandler oncontextmenu;
|
|
2200
2215
|
attribute EventHandler oncontextrestored;
|
|
@@ -2353,6 +2368,13 @@ partial interface Range {
|
|
|
2353
2368
|
[CEReactions, NewObject] DocumentFragment createContextualFragment((TrustedHTML or DOMString) string);
|
|
2354
2369
|
};
|
|
2355
2370
|
|
|
2371
|
+
[Exposed=Window]
|
|
2372
|
+
interface XMLSerializer {
|
|
2373
|
+
constructor();
|
|
2374
|
+
|
|
2375
|
+
DOMString serializeToString(Node root);
|
|
2376
|
+
};
|
|
2377
|
+
|
|
2356
2378
|
[Exposed=Window]
|
|
2357
2379
|
interface Navigator {
|
|
2358
2380
|
// objects implementing this interface also implement the interfaces given below
|
package/package.json
CHANGED
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
|
|
13
|
+
required USVString url;
|
|
14
14
|
required DOMString protocol;
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -26,8 +26,8 @@ interface PrivateAttribution {
|
|
|
26
26
|
|
|
27
27
|
dictionary PrivateAttributionImpressionOptions {
|
|
28
28
|
required unsigned long histogramIndex;
|
|
29
|
-
|
|
30
|
-
required
|
|
29
|
+
unsigned long filterData = 0;
|
|
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
|
|
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 {
|
package/sanitizer-api.idl
CHANGED
|
@@ -11,7 +11,7 @@ dictionary SetHTMLUnsafeOptions {
|
|
|
11
11
|
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
[Exposed=
|
|
14
|
+
[Exposed=Window]
|
|
15
15
|
interface Sanitizer {
|
|
16
16
|
constructor(optional (SanitizerConfig or SanitizerPresets) configuration = "default");
|
|
17
17
|
|
package/shared-storage.idl
CHANGED
|
@@ -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;
|
|
@@ -351,6 +353,8 @@ dictionary ScoringBrowserSignals {
|
|
|
351
353
|
unsigned long crossOriginDataVersion;
|
|
352
354
|
sequence<USVString> adComponents;
|
|
353
355
|
boolean forDebuggingOnlyInCooldownOrLockout = false;
|
|
356
|
+
USVString creativeScanningMetadata;
|
|
357
|
+
sequence<USVString?> adComponentsCreativeScanningMetadata;
|
|
354
358
|
};
|
|
355
359
|
|
|
356
360
|
dictionary ReportingBrowserSignals {
|
package/webnn.idl
CHANGED
|
@@ -19,7 +19,7 @@ dictionary MLContextOptions {
|
|
|
19
19
|
MLPowerPreference powerPreference = "default";
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
[SecureContext, Exposed=(Window,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
-
};
|