@webref/idl 3.47.1 → 3.47.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.
@@ -21,7 +21,7 @@ interface PressureObserver {
21
21
  undefined disconnect();
22
22
  sequence<PressureRecord> takeRecords();
23
23
 
24
- [SameObject] static readonly attribute FrozenArray<PressureSource> supportedSources;
24
+ [SameObject] static readonly attribute FrozenArray<PressureSource> knownSources;
25
25
  };
26
26
 
27
27
  [Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
@@ -14,3 +14,8 @@ interface SnapEvent : Event {
14
14
  readonly attribute Node? snapTargetBlock;
15
15
  readonly attribute Node? snapTargetInline;
16
16
  };
17
+
18
+ partial interface mixin GlobalEventHandlers {
19
+ attribute EventHandler onsnapchanged;
20
+ attribute EventHandler onsnapchanging;
21
+ };
package/cssom-view.idl CHANGED
@@ -84,7 +84,7 @@ interface Screen {
84
84
  partial interface Document {
85
85
  Element? elementFromPoint(double x, double y);
86
86
  sequence<Element> elementsFromPoint(double x, double y);
87
- CaretPosition? caretPositionFromPoint(double x, double y);
87
+ CaretPosition? caretPositionFromPoint(double x, double y, ShadowRoot... shadowRoots);
88
88
  readonly attribute Element? scrollingElement;
89
89
  };
90
90
 
@@ -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: Digital Credentials (https://wicg.github.io/digital-identities/)
4
+ // Source: Digital Credentials (https://wicg.github.io/digital-credentials)
5
5
 
6
6
  partial interface Navigator {
7
7
  [SecureContext, SameObject] readonly attribute CredentialsContainer identity;
@@ -23,5 +23,5 @@ dictionary IdentityRequestProvider {
23
23
  [Exposed=Window, SecureContext]
24
24
  interface DigitalCredential : Credential {
25
25
  readonly attribute DOMString protocol;
26
- [SameObject] readonly attribute Uint8Array data;
26
+ readonly attribute any data;
27
27
  };
@@ -5,128 +5,118 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  partial interface Navigator {
8
- [SecureContext] Promise<MediaKeySystemAccess> requestMediaKeySystemAccess (DOMString keySystem, sequence<MediaKeySystemConfiguration> supportedConfigurations);
8
+ [SecureContext] Promise<MediaKeySystemAccess> requestMediaKeySystemAccess (
9
+ DOMString keySystem,
10
+ sequence<MediaKeySystemConfiguration> supportedConfigurations);
9
11
  };
10
12
 
11
13
  enum MediaKeysRequirement {
12
- "required",
13
- "optional",
14
- "not-allowed"
14
+ "required",
15
+ "optional",
16
+ "not-allowed"
15
17
  };
16
18
 
17
19
  dictionary MediaKeySystemConfiguration {
18
- DOMString label = "";
19
- sequence<DOMString> initDataTypes = [];
20
- sequence<MediaKeySystemMediaCapability> audioCapabilities = [];
21
- sequence<MediaKeySystemMediaCapability> videoCapabilities = [];
22
- MediaKeysRequirement distinctiveIdentifier = "optional";
23
- MediaKeysRequirement persistentState = "optional";
24
- sequence<DOMString> sessionTypes;
20
+ DOMString label = "";
21
+ sequence<DOMString> initDataTypes = [];
22
+ sequence<MediaKeySystemMediaCapability> audioCapabilities = [];
23
+ sequence<MediaKeySystemMediaCapability> videoCapabilities = [];
24
+ MediaKeysRequirement distinctiveIdentifier = "optional";
25
+ MediaKeysRequirement persistentState = "optional";
26
+ sequence<DOMString> sessionTypes;
25
27
  };
26
28
 
27
29
  dictionary MediaKeySystemMediaCapability {
28
- DOMString contentType = "";
29
- DOMString? encryptionScheme = null;
30
- DOMString robustness = "";
30
+ DOMString contentType = "";
31
+ DOMString? encryptionScheme = null;
32
+ DOMString robustness = "";
31
33
  };
32
34
 
33
35
  [Exposed=Window, SecureContext] interface MediaKeySystemAccess {
34
- readonly attribute DOMString keySystem;
35
- MediaKeySystemConfiguration getConfiguration ();
36
- Promise<MediaKeys> createMediaKeys ();
36
+ readonly attribute DOMString keySystem;
37
+ MediaKeySystemConfiguration getConfiguration ();
38
+ Promise<MediaKeys> createMediaKeys ();
37
39
  };
38
40
 
39
41
  enum MediaKeySessionType {
40
- "temporary",
41
- "persistent-license"
42
+ "temporary",
43
+ "persistent-license"
42
44
  };
43
45
 
44
46
  [Exposed=Window, SecureContext] interface MediaKeys {
45
- MediaKeySession createSession (optional MediaKeySessionType sessionType = "temporary");
47
+ MediaKeySession createSession (optional MediaKeySessionType sessionType = "temporary");
46
48
  Promise<MediaKeyStatus> getStatusForPolicy (optional MediaKeysPolicy policy = {});
47
49
  Promise<boolean> setServerCertificate (BufferSource serverCertificate);
48
50
  };
49
51
 
50
52
  dictionary MediaKeysPolicy {
51
- HDCPVersion minHdcpVersion;
52
- };
53
-
54
- enum HDCPVersion {
55
- "1.0",
56
- "1.1",
57
- "1.2",
58
- "1.3",
59
- "1.4",
60
- "2.0",
61
- "2.1",
62
- "2.2",
63
- "2.3",
53
+ DOMString minHdcpVersion;
64
54
  };
65
55
 
66
56
  enum MediaKeySessionClosedReason {
67
- "internal-error",
68
- "closed-by-application",
69
- "release-acknowledged",
70
- "hardware-context-reset",
71
- "resource-evicted"
57
+ "internal-error",
58
+ "closed-by-application",
59
+ "release-acknowledged",
60
+ "hardware-context-reset",
61
+ "resource-evicted"
72
62
  };
73
63
 
74
64
  [Exposed=Window, SecureContext] interface MediaKeySession : EventTarget {
75
- readonly attribute DOMString sessionId;
76
- readonly attribute unrestricted double expiration;
77
- readonly attribute Promise<MediaKeySessionClosedReason> closed;
78
- readonly attribute MediaKeyStatusMap keyStatuses;
79
- attribute EventHandler onkeystatuseschange;
80
- attribute EventHandler onmessage;
81
- Promise<undefined> generateRequest (DOMString initDataType, BufferSource initData);
82
- Promise<boolean> load (DOMString sessionId);
83
- Promise<undefined> update (BufferSource response);
84
- Promise<undefined> close ();
85
- Promise<undefined> remove ();
65
+ readonly attribute DOMString sessionId;
66
+ readonly attribute unrestricted double expiration;
67
+ readonly attribute Promise<MediaKeySessionClosedReason> closed;
68
+ readonly attribute MediaKeyStatusMap keyStatuses;
69
+ attribute EventHandler onkeystatuseschange;
70
+ attribute EventHandler onmessage;
71
+ Promise<undefined> generateRequest (DOMString initDataType, BufferSource initData);
72
+ Promise<boolean> load (DOMString sessionId);
73
+ Promise<undefined> update (BufferSource response);
74
+ Promise<undefined> close ();
75
+ Promise<undefined> remove ();
86
76
  };
87
77
 
88
78
  [Exposed=Window, SecureContext] interface MediaKeyStatusMap {
89
- iterable<BufferSource,MediaKeyStatus>;
90
- readonly attribute unsigned long size;
91
- boolean has (BufferSource keyId);
92
- (MediaKeyStatus or undefined) get (BufferSource keyId);
79
+ iterable<BufferSource,MediaKeyStatus>;
80
+ readonly attribute unsigned long size;
81
+ boolean has (BufferSource keyId);
82
+ (MediaKeyStatus or undefined) get (BufferSource keyId);
93
83
  };
94
84
 
95
85
  enum MediaKeyStatus {
96
- "usable",
97
- "expired",
98
- "released",
99
- "output-restricted",
100
- "output-downscaled",
101
- "usable-in-future",
102
- "status-pending",
103
- "internal-error"
86
+ "usable",
87
+ "expired",
88
+ "released",
89
+ "output-restricted",
90
+ "output-downscaled",
91
+ "usable-in-future",
92
+ "status-pending",
93
+ "internal-error"
104
94
  };
105
95
 
106
96
  enum MediaKeyMessageType {
107
- "license-request",
108
- "license-renewal",
109
- "license-release",
110
- "individualization-request"
97
+ "license-request",
98
+ "license-renewal",
99
+ "license-release",
100
+ "individualization-request"
111
101
  };
112
102
 
113
103
  [Exposed=Window, SecureContext]
114
104
  interface MediaKeyMessageEvent : Event {
115
- constructor(DOMString type, MediaKeyMessageEventInit eventInitDict);
116
- readonly attribute MediaKeyMessageType messageType;
117
- readonly attribute ArrayBuffer message;
105
+ constructor(DOMString type, MediaKeyMessageEventInit eventInitDict);
106
+ readonly attribute MediaKeyMessageType messageType;
107
+ readonly attribute ArrayBuffer message;
118
108
  };
119
109
 
120
110
  dictionary MediaKeyMessageEventInit : EventInit {
121
- required MediaKeyMessageType messageType;
122
- required ArrayBuffer message;
111
+ required MediaKeyMessageType messageType;
112
+ required ArrayBuffer message;
123
113
  };
124
114
 
125
115
  [Exposed=Window] partial interface HTMLMediaElement {
126
- [SecureContext] readonly attribute MediaKeys? mediaKeys;
127
- attribute EventHandler onencrypted;
128
- attribute EventHandler onwaitingforkey;
129
- [SecureContext] Promise<undefined> setMediaKeys (MediaKeys? mediaKeys);
116
+ [SecureContext] readonly attribute MediaKeys? mediaKeys;
117
+ attribute EventHandler onencrypted;
118
+ attribute EventHandler onwaitingforkey;
119
+ [SecureContext] Promise<undefined> setMediaKeys (MediaKeys? mediaKeys);
130
120
  };
131
121
 
132
122
  [Exposed=Window]
@@ -137,6 +127,6 @@ interface MediaEncryptedEvent : Event {
137
127
  };
138
128
 
139
129
  dictionary MediaEncryptedEventInit : EventInit {
140
- DOMString initDataType = "";
141
- ArrayBuffer? initData = null;
130
+ DOMString initDataType = "";
131
+ ArrayBuffer? initData = null;
142
132
  };
package/fenced-frame.idl CHANGED
@@ -20,6 +20,8 @@ typedef USVString FencedFrameConfigURL;
20
20
 
21
21
  [Exposed=Window, Serializable]
22
22
  interface FencedFrameConfig {
23
+ constructor(USVString url);
24
+
23
25
  readonly attribute FencedFrameConfigSize? containerWidth;
24
26
  readonly attribute FencedFrameConfigSize? containerHeight;
25
27
  readonly attribute FencedFrameConfigSize? contentWidth;
@@ -53,10 +55,17 @@ dictionary FenceEvent {
53
55
  DOMString eventData;
54
56
  sequence<FenceReportingDestination> destination;
55
57
 
58
+ // Determines if this data can be sent in a reportEvent() beacon or automatic
59
+ // beacon that originates from a document that is cross-origin to the mapped
60
+ // URL of the fenced frame config that loaded this frame tree.
61
+ // Note that automatic beacon data can only be set from documents that are
62
+ // same-origin to the fenced frame config’s mapped URL, so this effectively
63
+ // opts in the data to being used in a cross-origin subframe.
64
+ boolean crossOriginExposed = false;
65
+
56
66
  // When setting event data to be used later in an automatic beacon, the
57
67
  // following properties are used:
58
68
  boolean once = false;
59
- boolean crossOriginExposed = false;
60
69
 
61
70
  // When reporting to a custom destination URL (with substitution of macros defined by
62
71
  // the Protected Audience buyer), the following property is used:
package/fetch.idl CHANGED
@@ -26,6 +26,7 @@ interface mixin Body {
26
26
  readonly attribute boolean bodyUsed;
27
27
  [NewObject] Promise<ArrayBuffer> arrayBuffer();
28
28
  [NewObject] Promise<Blob> blob();
29
+ [NewObject] Promise<Uint8Array> bytes();
29
30
  [NewObject] Promise<FormData> formData();
30
31
  [NewObject] Promise<any> json();
31
32
  [NewObject] Promise<USVString> text();
@@ -179,6 +179,16 @@ interface InputDeviceInfo : MediaDeviceInfo {
179
179
  MediaTrackCapabilities getCapabilities();
180
180
  };
181
181
 
182
+ [Exposed=Window]
183
+ interface DeviceChangeEvent : Event {
184
+ constructor(DOMString type, optional DeviceChangeEventInit eventInitDict = {});
185
+ [SameObject] readonly attribute FrozenArray<MediaDeviceInfo> devices;
186
+ };
187
+
188
+ dictionary DeviceChangeEventInit : EventInit {
189
+ sequence<MediaDeviceInfo> devices = [];
190
+ };
191
+
182
192
  partial interface MediaDevices {
183
193
  MediaTrackSupportedConstraints getSupportedConstraints();
184
194
  Promise<MediaStream> getUserMedia(optional MediaStreamConstraints constraints = {});
@@ -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: DeviceOrientation Event Specification (https://w3c.github.io/deviceorientation/)
4
+ // Source: Device Orientation and Motion (https://w3c.github.io/deviceorientation/)
5
5
 
6
6
  partial interface Window {
7
7
  [SecureContext] attribute EventHandler ondeviceorientation;
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.47.1",
4
+ "version": "3.47.3",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -60,7 +60,7 @@ interface ServiceWorkerContainer : EventTarget {
60
60
  readonly attribute ServiceWorker? controller;
61
61
  readonly attribute Promise<ServiceWorkerRegistration> ready;
62
62
 
63
- [NewObject] Promise<ServiceWorkerRegistration> register(USVString scriptURL, optional RegistrationOptions options = {});
63
+ [NewObject] Promise<ServiceWorkerRegistration> register((TrustedScriptURL or USVString) scriptURL, optional RegistrationOptions options = {});
64
64
 
65
65
  [NewObject] Promise<(ServiceWorkerRegistration or undefined)> getRegistration(optional USVString clientURL = "");
66
66
  [NewObject] Promise<FrozenArray<ServiceWorkerRegistration>> getRegistrations();
package/turtledove.idl CHANGED
@@ -85,6 +85,7 @@ dictionary AuctionAdConfig {
85
85
  unsigned long long reportingTimeout;
86
86
  USVString sellerCurrency;
87
87
  Promise<record<USVString, USVString>> perBuyerCurrencies;
88
+ record<USVString, unsigned short> perBuyerMultiBidLimits;
88
89
  record<USVString, unsigned short> perBuyerGroupLimits;
89
90
  record<USVString, unsigned short> perBuyerExperimentGroupIds;
90
91
  record<USVString, record<USVString, double>> perBuyerPrioritySignals;
@@ -125,7 +126,7 @@ interface InterestGroupBiddingAndScoringScriptRunnerGlobalScope : InterestGroupS
125
126
  InterestGroupBiddingScriptRunnerGlobalScope)]
126
127
  interface InterestGroupBiddingScriptRunnerGlobalScope
127
128
  : InterestGroupBiddingAndScoringScriptRunnerGlobalScope {
128
- boolean setBid(optional GenerateBidOutput generateBidOutput = {});
129
+ boolean setBid(optional (GenerateBidOutput or sequence<GenerateBidOutput>) oneOrManyBids = []);
129
130
  undefined setPriority(double priority);
130
131
  undefined setPrioritySignalsOverride(DOMString key, optional double? priority);
131
132
  };
@@ -145,6 +146,8 @@ dictionary GenerateBidOutput {
145
146
  double adCost;
146
147
  unrestricted double modelingSignals;
147
148
  boolean allowComponentAuction = false;
149
+ unsigned long targetNumAdComponents;
150
+ unsigned long numMandatoryAdComponents = 0;
148
151
  };
149
152
 
150
153
  [Exposed=InterestGroupScoringScriptRunnerGlobalScope,
@@ -199,6 +202,7 @@ dictionary BiddingBrowserSignals {
199
202
  required long bidCount;
200
203
  required long recency;
201
204
  required long adComponentsLimit;
205
+ required unsigned short multiBidLimit;
202
206
 
203
207
  USVString topLevelSeller;
204
208
  sequence<PreviousWin> prevWinsMs;
@@ -3,14 +3,6 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: AV1 WebCodecs Registration (https://w3c.github.io/webcodecs/av1_codec_registration.html)
5
5
 
6
- partial dictionary VideoEncoderConfig {
7
- AV1EncoderConfig av1;
8
- };
9
-
10
- dictionary AV1EncoderConfig {
11
- boolean forceScreenContentTools = false;
12
- };
13
-
14
6
  partial dictionary VideoEncoderEncodeOptions {
15
7
  VideoEncoderEncodeOptionsForAv1 av1;
16
8
  };
package/webnn.idl CHANGED
@@ -113,7 +113,6 @@ dictionary MLBatchNormalizationOptions {
113
113
  MLOperand bias;
114
114
  [EnforceRange] unsigned long axis = 1;
115
115
  float epsilon = 1e-5;
116
- MLActivation activation;
117
116
  };
118
117
 
119
118
  partial interface MLGraphBuilder {
@@ -154,7 +153,6 @@ dictionary MLConv2dOptions {
154
153
  MLInputOperandLayout inputLayout = "nchw";
155
154
  MLConv2dFilterOperandLayout filterLayout = "oihw";
156
155
  MLOperand bias;
157
- MLActivation activation;
158
156
  };
159
157
 
160
158
  partial interface MLGraphBuilder {
@@ -179,7 +177,6 @@ dictionary MLConvTranspose2dOptions {
179
177
  MLInputOperandLayout inputLayout = "nchw";
180
178
  MLConvTranspose2dFilterOperandLayout filterLayout = "iohw";
181
179
  MLOperand bias;
182
- MLActivation activation;
183
180
  };
184
181
 
185
182
  partial interface MLGraphBuilder {
package/webrtc.idl CHANGED
@@ -148,7 +148,7 @@ interface RTCSessionDescription {
148
148
  constructor(RTCSessionDescriptionInit descriptionInitDict);
149
149
  readonly attribute RTCSdpType type;
150
150
  readonly attribute DOMString sdp;
151
- [Default] object toJSON();
151
+ [Default] RTCSessionDescriptionInit toJSON();
152
152
  };
153
153
 
154
154
  dictionary RTCSessionDescriptionInit {