@webref/idl 3.52.2 → 3.53.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.
@@ -3,11 +3,9 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
5
5
 
6
- enum ViewTransitionNavigation { "auto", "none" };
7
-
8
6
  [Exposed=Window]
9
7
  interface CSSViewTransitionRule : CSSRule {
10
- readonly attribute ViewTransitionNavigation navigation;
8
+ readonly attribute CSSOMString navigation;
11
9
  [SameObject] readonly attribute FrozenArray<CSSOMString> types;
12
10
  };
13
11
 
@@ -22,11 +20,10 @@ partial interface ViewTransition {
22
20
  };
23
21
 
24
22
  dictionary StartViewTransitionOptions {
25
- UpdateCallback? update = null;
23
+ ViewTransitionUpdateCallback? update = null;
26
24
  sequence<DOMString>? types = null;
27
25
  };
28
26
 
29
27
  partial interface Document {
30
-
31
- ViewTransition startViewTransition(optional (UpdateCallback or StartViewTransitionOptions) callbackOptions = {});
28
+ ViewTransition startViewTransition(optional (ViewTransitionUpdateCallback or StartViewTransitionOptions) callbackOptions = {});
32
29
  };
@@ -3,7 +3,7 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)
5
5
 
6
- callback UpdateCallback = Promise<any> ();
6
+ callback ViewTransitionUpdateCallback = Promise<any> ();
7
7
 
8
8
  [Exposed=Window]
9
9
  interface ViewTransition {
@@ -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: CSS Viewport Module Level 1 (https://drafts.csswg.org/css-viewport/)
5
+
6
+ partial interface Window {
7
+ [SameObject, Replaceable] readonly attribute Viewport viewport;
8
+ };
9
+
10
+ [Exposed=Window]
11
+ interface Viewport {
12
+ readonly attribute FrozenArray<DOMRect>? segments;
13
+ };
@@ -12,10 +12,10 @@ partial dictionary CredentialRequestOptions {
12
12
  };
13
13
 
14
14
  dictionary DigitalCredentialRequestOptions {
15
- sequence<IdentityRequestProvider> providers;
15
+ sequence<DigitalCredentialsProvider> providers;
16
16
  };
17
17
 
18
- dictionary IdentityRequestProvider {
18
+ dictionary DigitalCredentialsProvider {
19
19
  required DOMString protocol;
20
20
  required object request;
21
21
  };
@@ -23,5 +23,5 @@ dictionary IdentityRequestProvider {
23
23
  [Exposed=Window, SecureContext]
24
24
  interface DigitalCredential : Credential {
25
25
  readonly attribute DOMString protocol;
26
- readonly attribute any data;
26
+ readonly attribute object data;
27
27
  };
@@ -21,6 +21,7 @@ dictionary DocumentPictureInPictureOptions {
21
21
  [EnforceRange] unsigned long long width = 0;
22
22
  [EnforceRange] unsigned long long height = 0;
23
23
  boolean disallowReturnToOpener = false;
24
+ boolean preferInitialWindowPlacement = false;
24
25
  };
25
26
 
26
27
  [Exposed=Window, SecureContext]
package/fenced-frame.idl CHANGED
@@ -10,6 +10,7 @@ interface HTMLFencedFrameElement : HTMLElement {
10
10
  [CEReactions] attribute FencedFrameConfig? config;
11
11
  [CEReactions] attribute DOMString width;
12
12
  [CEReactions] attribute DOMString height;
13
+ [SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
13
14
  [CEReactions] attribute DOMString allow;
14
15
  };
15
16
 
package/html.idl CHANGED
@@ -125,6 +125,7 @@ interface HTMLElement : Element {
125
125
  [CEReactions] attribute boolean spellcheck;
126
126
  [CEReactions] attribute DOMString writingSuggestions;
127
127
  [CEReactions] attribute DOMString autocapitalize;
128
+ [CEReactions] attribute boolean autocorrect;
128
129
 
129
130
  [CEReactions] attribute [LegacyNullToEmptyString] DOMString innerText;
130
131
  [CEReactions] attribute [LegacyNullToEmptyString] DOMString outerText;
@@ -16,7 +16,6 @@ dictionary InkPresenterParam {
16
16
  [Exposed=Window]
17
17
  interface InkPresenter {
18
18
  readonly attribute Element? presentationArea;
19
- readonly attribute unsigned long expectedImprovement;
20
19
 
21
20
  undefined updateInkTrailStartPoint(PointerEvent event, InkTrailStyle style);
22
21
  };
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.52.2",
4
+ "version": "3.53.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -23,7 +23,7 @@ interface SharedStorageWorkletGlobalScope : WorkletGlobalScope {
23
23
  undefined register(DOMString name,
24
24
  Function operationCtor);
25
25
 
26
- readonly attribute WorkletSharedStorage sharedStorage;
26
+ readonly attribute SharedStorage sharedStorage;
27
27
  };
28
28
 
29
29
  dictionary SharedStorageUrlWithMetadata {
@@ -31,6 +31,10 @@ dictionary SharedStorageUrlWithMetadata {
31
31
  object reportingMetadata;
32
32
  };
33
33
 
34
+ partial interface Window {
35
+ [SecureContext] readonly attribute SharedStorage? sharedStorage;
36
+ };
37
+
34
38
  [Exposed=(Window,SharedStorageWorklet)]
35
39
  interface SharedStorage {
36
40
  Promise<any> set(DOMString key,
@@ -40,23 +44,37 @@ interface SharedStorage {
40
44
  DOMString value);
41
45
  Promise<any> delete(DOMString key);
42
46
  Promise<any> clear();
43
- };
44
-
45
- dictionary SharedStorageSetMethodOptions {
46
- boolean ignoreIfPresent = false;
47
- };
48
47
 
49
- [Exposed=(Window)]
50
- interface WindowSharedStorage : SharedStorage {
48
+ [Exposed=Window]
51
49
  Promise<SharedStorageResponse> selectURL(DOMString name,
52
50
  sequence<SharedStorageUrlWithMetadata> urls,
53
51
  optional SharedStorageRunOperationMethodOptions options = {});
52
+
53
+ [Exposed=Window]
54
54
  Promise<any> run(DOMString name,
55
55
  optional SharedStorageRunOperationMethodOptions options = {});
56
56
 
57
+ [Exposed=Window]
57
58
  Promise<SharedStorageWorklet> createWorklet(USVString moduleURL, optional SharedStorageWorkletOptions options = {});
58
59
 
60
+ [Exposed=Window]
59
61
  readonly attribute SharedStorageWorklet worklet;
62
+
63
+ [Exposed=SharedStorageWorklet]
64
+ Promise<DOMString> get(DOMString key);
65
+
66
+ [Exposed=SharedStorageWorklet]
67
+ Promise<unsigned long> length();
68
+
69
+ [Exposed=SharedStorageWorklet]
70
+ Promise<double> remainingBudget();
71
+
72
+ [Exposed=SharedStorageWorklet]
73
+ async iterable<DOMString, DOMString>;
74
+ };
75
+
76
+ dictionary SharedStorageSetMethodOptions {
77
+ boolean ignoreIfPresent = false;
60
78
  };
61
79
 
62
80
  dictionary SharedStorageRunOperationMethodOptions {
@@ -69,19 +87,6 @@ dictionary SharedStorageWorkletOptions : WorkletOptions {
69
87
  SharedStorageDataOrigin dataOrigin = "context-origin";
70
88
  };
71
89
 
72
- partial interface Window {
73
- [SecureContext] readonly attribute WindowSharedStorage? sharedStorage;
74
- };
75
-
76
- [Exposed=(SharedStorageWorklet)]
77
- interface WorkletSharedStorage : SharedStorage {
78
- Promise<DOMString> get(DOMString key);
79
- Promise<unsigned long> length();
80
- Promise<double> remainingBudget();
81
-
82
- async iterable<DOMString, DOMString>;
83
- };
84
-
85
90
  interface mixin HTMLSharedStorageWritableElementUtils {
86
91
  [CEReactions, SecureContext] attribute boolean sharedStorageWritable;
87
92
  };
package/turtledove.idl CHANGED
@@ -10,6 +10,7 @@ partial interface Navigator {
10
10
 
11
11
  dictionary AuctionAd {
12
12
  required USVString renderURL;
13
+ USVString sizeGroup;
13
14
  any metadata;
14
15
 
15
16
  USVString buyerReportingId;
@@ -17,6 +18,11 @@ dictionary AuctionAd {
17
18
  sequence<USVString> allowedReportingOrigins;
18
19
  };
19
20
 
21
+ dictionary AuctionAdInterestGroupSize {
22
+ required USVString width;
23
+ required USVString height;
24
+ };
25
+
20
26
  dictionary GenerateBidInterestGroup {
21
27
  required USVString owner;
22
28
  required USVString name;
@@ -36,6 +42,8 @@ dictionary GenerateBidInterestGroup {
36
42
  any userBiddingSignals;
37
43
  sequence<AuctionAd> ads;
38
44
  sequence<AuctionAd> adComponents;
45
+ record<DOMString, AuctionAdInterestGroupSize> adSizes;
46
+ record<DOMString, sequence<DOMString>> sizeGroups;
39
47
  };
40
48
 
41
49
  dictionary AuctionAdInterestGroup : GenerateBidInterestGroup {
@@ -104,6 +112,9 @@ dictionary AuctionAdConfig {
104
112
  sequence<AuctionAdConfig> componentAuctions = [];
105
113
  AbortSignal? signal;
106
114
  Promise<boolean> resolveToConfig;
115
+
116
+ Promise<Uint8Array> serverResponse;
117
+ USVString requestId;
107
118
  };
108
119
 
109
120
  [SecureContext]
@@ -111,6 +122,21 @@ partial interface Navigator {
111
122
  boolean canLoadAdAuctionFencedFrame();
112
123
  };
113
124
 
125
+ [SecureContext]
126
+ partial interface Navigator {
127
+ Promise<AdAuctionData> getInterestGroupAdAuctionData(AdAuctionDataConfig config);
128
+ };
129
+
130
+ dictionary AdAuctionDataConfig {
131
+ required USVString seller;
132
+ required USVString coordinatorOrigin;
133
+ };
134
+
135
+ dictionary AdAuctionData {
136
+ required Uint8Array request;
137
+ required USVString requestId;
138
+ };
139
+
114
140
  [SecureContext]
115
141
  partial interface Navigator {
116
142
  Promise<DOMString> createAuctionNonce();
package/webauthn.idl CHANGED
@@ -128,6 +128,30 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
128
128
  AuthenticationExtensionsClientInputsJSON extensions;
129
129
  };
130
130
 
131
+ partial interface PublicKeyCredential {
132
+ static Promise<undefined> signalUnknownCredential(UnknownCredentialOptions options);
133
+ static Promise<undefined> signalAllAcceptedCredentials(AllAcceptedCredentialsOptions options);
134
+ static Promise<undefined> signalCurrentUserDetails(CurrentUserDetailsOptions options);
135
+ };
136
+
137
+ dictionary UnknownCredentialOptions {
138
+ required DOMString rpId;
139
+ required Base64URLString credentialId;
140
+ };
141
+
142
+ dictionary AllAcceptedCredentialsOptions {
143
+ required DOMString rpId;
144
+ required Base64URLString userId;
145
+ required sequence<Base64URLString> allAcceptedCredentialIds;
146
+ };
147
+
148
+ dictionary CurrentUserDetailsOptions {
149
+ required DOMString rpId;
150
+ required Base64URLString userId;
151
+ required DOMString name;
152
+ required DOMString displayName;
153
+ };
154
+
131
155
  [SecureContext, Exposed=Window]
132
156
  interface AuthenticatorResponse {
133
157
  [SameObject] readonly attribute ArrayBuffer clientDataJSON;
@@ -272,7 +296,10 @@ enum ClientCapability {
272
296
  "hybridTransport",
273
297
  "passkeyPlatformAuthenticator",
274
298
  "userVerifyingPlatformAuthenticator",
275
- "relatedOrigins"
299
+ "relatedOrigins",
300
+ "signalAllAcceptedCredentials",
301
+ "signalCurrentUserDetails",
302
+ "signalUnknownCredential"
276
303
  };
277
304
 
278
305
  enum PublicKeyCredentialHints {
@@ -303,7 +330,7 @@ partial dictionary AuthenticationExtensionsClientInputs {
303
330
 
304
331
  dictionary CredentialPropertiesOutput {
305
332
  boolean rk;
306
- USVString authenticatorDisplayName;
333
+ DOMString authenticatorDisplayName;
307
334
  };
308
335
 
309
336
  partial dictionary AuthenticationExtensionsClientOutputs {
package/webgpu.idl CHANGED
@@ -35,7 +35,6 @@ interface GPUSupportedLimits {
35
35
  readonly attribute unsigned long long maxBufferSize;
36
36
  readonly attribute unsigned long maxVertexAttributes;
37
37
  readonly attribute unsigned long maxVertexBufferArrayStride;
38
- readonly attribute unsigned long maxInterStageShaderComponents;
39
38
  readonly attribute unsigned long maxInterStageShaderVariables;
40
39
  readonly attribute unsigned long maxColorAttachments;
41
40
  readonly attribute unsigned long maxColorAttachmentBytesPerSample;
@@ -101,7 +100,7 @@ interface GPUAdapter {
101
100
  dictionary GPUDeviceDescriptor
102
101
  : GPUObjectDescriptorBase {
103
102
  sequence<GPUFeatureName> requiredFeatures = [];
104
- record<DOMString, GPUSize64> requiredLimits = {};
103
+ record<DOMString, (GPUSize64 or undefined)> requiredLimits = {};
105
104
  GPUQueueDescriptor defaultQueue = {};
106
105
  };
107
106
 
@@ -579,7 +578,6 @@ GPUShaderModule includes GPUObjectBase;
579
578
  dictionary GPUShaderModuleDescriptor
580
579
  : GPUObjectDescriptorBase {
581
580
  required USVString code;
582
- object sourceMap;
583
581
  sequence<GPUShaderModuleCompilationHint> compilationHints = [];
584
582
  };
585
583
 
package/webrtc.idl CHANGED
@@ -317,6 +317,7 @@ dictionary RTCRtpCodingParameters {
317
317
 
318
318
  dictionary RTCRtpEncodingParameters : RTCRtpCodingParameters {
319
319
  boolean active = true;
320
+ RTCRtpCodec codec;
320
321
  unsigned long maxBitrate;
321
322
  double maxFramerate;
322
323
  double scaleResolutionDownBy;
package/webxr.idl CHANGED
@@ -178,7 +178,7 @@ interface XRInputSource {
178
178
  [SameObject] readonly attribute XRSpace targetRaySpace;
179
179
  [SameObject] readonly attribute XRSpace? gripSpace;
180
180
  [SameObject] readonly attribute FrozenArray<DOMString> profiles;
181
- [SameObject] readonly attribute boolean skipRendering;
181
+ readonly attribute boolean skipRendering;
182
182
  };
183
183
 
184
184
  [SecureContext, Exposed=Window]