@webref/idl 3.27.0 → 3.28.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/cookie-store.idl CHANGED
@@ -36,7 +36,7 @@ enum CookieSameSite {
36
36
  dictionary CookieInit {
37
37
  required USVString name;
38
38
  required USVString value;
39
- EpochTimeStamp? expires = null;
39
+ DOMHighResTimeStamp? expires = null;
40
40
  USVString? domain = null;
41
41
  USVString path = "/";
42
42
  CookieSameSite sameSite = "strict";
@@ -53,7 +53,7 @@ dictionary CookieListItem {
53
53
  USVString value;
54
54
  USVString? domain;
55
55
  USVString path;
56
- EpochTimeStamp? expires;
56
+ DOMHighResTimeStamp? expires;
57
57
  boolean secure;
58
58
  CookieSameSite sameSite;
59
59
  };
package/css-typed-om.idl CHANGED
@@ -13,9 +13,7 @@ interface CSSStyleValue {
13
13
  [Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
14
14
  interface StylePropertyMapReadOnly {
15
15
  iterable<USVString, sequence<CSSStyleValue>>;
16
- any get(USVString property);
17
- /* 'any' means (undefined or CSSStyleValue) here,
18
- see https://github.com/heycam/webidl/issues/60 */
16
+ (undefined or CSSStyleValue) get(USVString property);
19
17
  sequence<CSSStyleValue> getAll(USVString property);
20
18
  boolean has(USVString property);
21
19
  readonly attribute unsigned long size;
@@ -0,0 +1,49 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Fenced frame (https://wicg.github.io/fenced-frame/)
5
+
6
+ [Exposed=Window]
7
+ interface HTMLFencedFrameElement : HTMLElement {
8
+ [HTMLConstructor] constructor();
9
+
10
+ [CEReactions] attribute FencedFrameConfig config;
11
+ [CEReactions] attribute DOMString width;
12
+ [CEReactions] attribute DOMString height;
13
+ };
14
+
15
+ enum OpaqueProperty {"opaque"};
16
+
17
+ typedef (unsigned long or OpaqueProperty) FencedFrameConfigSize;
18
+ typedef (USVString or OpaqueProperty) FencedFrameConfigURL;
19
+
20
+ [Exposed=Window]
21
+ interface FencedFrameConfig {
22
+ constructor(USVString url);
23
+ readonly attribute FencedFrameConfigURL? url;
24
+ readonly attribute FencedFrameConfigSize? width;
25
+ readonly attribute FencedFrameConfigSize? height;
26
+ };
27
+
28
+ enum FenceReportingDestination {
29
+ "buyer",
30
+ "seller",
31
+ "component-seller",
32
+ "shared-storage-select-url",
33
+ };
34
+
35
+ dictionary FenceEvent {
36
+ required DOMString eventType;
37
+ required DOMString eventData;
38
+ required sequence<DOMString> destination;
39
+ };
40
+
41
+ [Exposed=Window]
42
+ interface Fence {
43
+ undefined reportEvent(FenceEvent event);
44
+ };
45
+
46
+ partial interface Window {
47
+ // Collection of fenced frame APIs
48
+ readonly attribute Fence? fence;
49
+ };
package/html.idl CHANGED
@@ -937,7 +937,7 @@ interface HTMLInputElement : HTMLElement {
937
937
 
938
938
  // also has obsolete members
939
939
  };
940
- HTMLInputElement includes PopoverTargetElement;
940
+ HTMLInputElement includes PopoverInvokerElement;
941
941
 
942
942
  [Exposed=Window]
943
943
  interface HTMLButtonElement : HTMLElement {
@@ -963,7 +963,7 @@ interface HTMLButtonElement : HTMLElement {
963
963
 
964
964
  readonly attribute NodeList labels;
965
965
  };
966
- HTMLButtonElement includes PopoverTargetElement;
966
+ HTMLButtonElement includes PopoverInvokerElement;
967
967
 
968
968
  [Exposed=Window]
969
969
  interface HTMLSelectElement : HTMLElement {
@@ -1715,10 +1715,9 @@ dictionary DragEventInit : MouseEventInit {
1715
1715
  DataTransfer? dataTransfer = null;
1716
1716
  };
1717
1717
 
1718
- interface mixin PopoverTargetElement {
1719
- [CEReactions] attribute Element? popoverToggleTargetElement;
1720
- [CEReactions] attribute Element? popoverHideTargetElement;
1721
- [CEReactions] attribute Element? popoverShowTargetElement;
1718
+ interface mixin PopoverInvokerElement {
1719
+ [CEReactions] attribute Element? popoverTargetElement;
1720
+ [CEReactions] attribute DOMString popoverTargetAction;
1722
1721
  };
1723
1722
 
1724
1723
  [Exposed=Window]
@@ -1922,6 +1921,7 @@ interface mixin GlobalEventHandlers {
1922
1921
  attribute EventHandler onauxclick;
1923
1922
  attribute EventHandler onbeforeinput;
1924
1923
  attribute EventHandler onbeforematch;
1924
+ attribute EventHandler onbeforetoggle;
1925
1925
  attribute EventHandler onblur;
1926
1926
  attribute EventHandler oncancel;
1927
1927
  attribute EventHandler oncanplay;
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.27.0",
4
+ "version": "3.28.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -0,0 +1,25 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Private State Token API (https://wicg.github.io/trust-token-api/)
5
+
6
+ enum RefreshPolicy { "none", "refresh" };
7
+
8
+ enum TokenType { "private-state-token" };
9
+
10
+ enum OperationType { "token-request", "send-redemption-record", "token-redemption" };
11
+
12
+ dictionary PrivateToken {
13
+ required OperationType operation;
14
+ RefreshPolicy refreshPolicy = "none";
15
+ sequence<USVString> issuers;
16
+ };
17
+
18
+ partial dictionary RequestInit {
19
+ PrivateToken privateToken;
20
+ };
21
+
22
+ partial interface Document {
23
+ Promise<boolean> hasPrivateTokens(USVString issuer, USVString type);
24
+ Promise<boolean> hasRedemptionRecord(USVString issuer, USVString type);
25
+ };
package/turtledove.idl ADDED
@@ -0,0 +1,63 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: FLEDGE (https://wicg.github.io/turtledove/)
5
+
6
+ [SecureContext]
7
+ partial interface Navigator {
8
+ Promise<undefined> joinAdInterestGroup(AuctionAdInterestGroup group, double durationSeconds);
9
+ };
10
+
11
+ enum WorkletExecutionMode {
12
+ "compatibility",
13
+ "groupByOrigin",
14
+ };
15
+
16
+ dictionary AuctionAd {
17
+ required USVString renderUrl;
18
+ any metadata;
19
+ };
20
+
21
+ dictionary AuctionAdInterestGroup {
22
+ required USVString owner;
23
+ required USVString name;
24
+
25
+ double priority = 0.0;
26
+ boolean enableBiddingSignalsPrioritization = false;
27
+ record<USVString, double> priorityVector;
28
+ record<USVString, double> prioritySignalsOverrides;
29
+
30
+ WorkletExecutionMode executionMode = "compatibility";
31
+ USVString biddingLogicUrl;
32
+ USVString biddingWasmHelperUrl;
33
+ USVString dailyUpdateUrl;
34
+ USVString trustedBiddingSignalsUrl;
35
+ sequence<USVString> trustedBiddingSignalsKeys;
36
+ any userBiddingSignals;
37
+ sequence<AuctionAd> ads;
38
+ sequence<AuctionAd> adComponents;
39
+ };
40
+
41
+ [SecureContext]
42
+ partial interface Navigator {
43
+ Promise<USVString?> runAdAuction(AuctionAdConfig config);
44
+ };
45
+
46
+ dictionary AuctionAdConfig {
47
+ required USVString seller;
48
+ required USVString decisionLogicUrl;
49
+ USVString trustedScoringSignalsUrl;
50
+ sequence<USVString> interestGroupBuyers;
51
+ any auctionSignals;
52
+ any sellerSignals;
53
+ USVString directFromSellerSignals;
54
+ unsigned long long sellerTimeout;
55
+ unsigned short sellerExperimentGroupId;
56
+ record<USVString, any> perBuyerSignals;
57
+ record<USVString, unsigned long long> perBuyerTimeouts;
58
+ record<USVString, unsigned short> perBuyerGroupLimits;
59
+ record<USVString, unsigned short> perBuyerExperimentGroupIds;
60
+ record<USVString, record<USVString, double>> perBuyerPrioritySignals;
61
+ sequence<AuctionAdConfig> componentAuctions = [];
62
+ AbortSignal? signal;
63
+ };
package/url.idl CHANGED
@@ -28,6 +28,8 @@ interface URL {
28
28
  interface URLSearchParams {
29
29
  constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = "");
30
30
 
31
+ readonly attribute unsigned long size;
32
+
31
33
  undefined append(USVString name, USVString value);
32
34
  undefined delete(USVString name);
33
35
  USVString? get(USVString name);
package/webauthn.idl CHANGED
@@ -207,6 +207,7 @@ dictionary CollectedClientData {
207
207
  required DOMString type;
208
208
  required DOMString challenge;
209
209
  required DOMString origin;
210
+ DOMString topOrigin;
210
211
  boolean crossOrigin;
211
212
  };
212
213
 
package/webgpu.idl CHANGED
@@ -26,6 +26,7 @@ interface GPUSupportedLimits {
26
26
  readonly attribute unsigned long maxStorageBuffersPerShaderStage;
27
27
  readonly attribute unsigned long maxStorageTexturesPerShaderStage;
28
28
  readonly attribute unsigned long maxUniformBuffersPerShaderStage;
29
+ readonly attribute unsigned long maxFragmentCombinedOutputResources;
29
30
  readonly attribute unsigned long long maxUniformBufferBindingSize;
30
31
  readonly attribute unsigned long long maxStorageBufferBindingSize;
31
32
  readonly attribute unsigned long minUniformBufferOffsetAlignment;
@@ -107,7 +108,8 @@ enum GPUFeatureName {
107
108
  "indirect-first-instance",
108
109
  "shader-f16",
109
110
  "rg11b10ufloat-renderable",
110
- "bgra8unorm-storage"
111
+ "bgra8unorm-storage",
112
+ "float32-filterable"
111
113
  };
112
114
 
113
115
  [Exposed=(Window, DedicatedWorker), SecureContext]
@@ -737,8 +739,8 @@ enum GPUBlendOperation {
737
739
  dictionary GPUDepthStencilState {
738
740
  required GPUTextureFormat format;
739
741
 
740
- boolean depthWriteEnabled = false;
741
- GPUCompareFunction depthCompare = "always";
742
+ required boolean depthWriteEnabled;
743
+ required GPUCompareFunction depthCompare;
742
744
 
743
745
  GPUStencilFaceState stencilFront = {};
744
746
  GPUStencilFaceState stencilBack = {};
@@ -1021,7 +1023,7 @@ dictionary GPURenderPassColorAttachment {
1021
1023
  dictionary GPURenderPassDepthStencilAttachment {
1022
1024
  required GPUTextureView view;
1023
1025
 
1024
- float depthClearValue = 0;
1026
+ float depthClearValue;
1025
1027
  GPULoadOp depthLoadOp;
1026
1028
  GPUStoreOp depthStoreOp;
1027
1029
  boolean depthReadOnly = false;
package/webidl.idl CHANGED
@@ -46,5 +46,3 @@ interface DOMException { // but see below note about ECMAScript binding
46
46
 
47
47
  callback Function = any (any... arguments);
48
48
  callback VoidFunction = undefined ();
49
-
50
- typedef unsigned long long DOMTimeStamp;
package/webnn.idl CHANGED
@@ -146,7 +146,7 @@ interface MLGraphBuilder {
146
146
  dictionary MLBatchNormalizationOptions {
147
147
  MLOperand scale;
148
148
  MLOperand bias;
149
- long axis = 1;
149
+ unsigned long axis = 1;
150
150
  float epsilon = 1e-5;
151
151
  MLActivation activation;
152
152
  };
@@ -167,7 +167,7 @@ partial interface MLGraphBuilder {
167
167
  };
168
168
 
169
169
  partial interface MLGraphBuilder {
170
- MLOperand concat(sequence<MLOperand> inputs, long axis);
170
+ MLOperand concat(sequence<MLOperand> inputs, unsigned long axis);
171
171
  };
172
172
 
173
173
  enum MLConv2dFilterOperandLayout {
@@ -409,7 +409,10 @@ dictionary MLPadOptions {
409
409
  };
410
410
 
411
411
  partial interface MLGraphBuilder {
412
- MLOperand pad(MLOperand input, MLOperand padding, optional MLPadOptions options = {});
412
+ MLOperand pad(MLOperand input,
413
+ sequence<unsigned long> beginningPadding,
414
+ sequence<unsigned long> endingPadding,
415
+ optional MLPadOptions options = {});
413
416
  };
414
417
 
415
418
  enum MLRoundingType {
@@ -434,8 +437,12 @@ partial interface MLGraphBuilder {
434
437
  MLOperand maxPool2d(MLOperand input, optional MLPool2dOptions options = {});
435
438
  };
436
439
 
440
+ partial interface MLGraphBuilder {
441
+ MLOperand prelu(MLOperand x, MLOperand slope);
442
+ };
443
+
437
444
  dictionary MLReduceOptions {
438
- sequence<long> axes = null;
445
+ sequence<unsigned long> axes = null;
439
446
  boolean keepDimensions = false;
440
447
  };
441
448
 
@@ -466,7 +473,7 @@ dictionary MLResample2dOptions {
466
473
  MLInterpolationMode mode = "nearest-neighbor";
467
474
  sequence<float> scales;
468
475
  sequence<unsigned long> sizes;
469
- sequence<long> axes;
476
+ sequence<unsigned long> axes;
470
477
  };
471
478
 
472
479
  partial interface MLGraphBuilder {
@@ -483,7 +490,7 @@ partial interface MLGraphBuilder {
483
490
  };
484
491
 
485
492
  dictionary MLSliceOptions {
486
- sequence<long> axes;
493
+ sequence<unsigned long> axes;
487
494
  };
488
495
 
489
496
  partial interface MLGraphBuilder {
@@ -511,7 +518,7 @@ partial interface MLGraphBuilder {
511
518
  };
512
519
 
513
520
  dictionary MLSplitOptions {
514
- long axis = 0;
521
+ unsigned long axis = 0;
515
522
  };
516
523
 
517
524
  partial interface MLGraphBuilder {
@@ -521,7 +528,7 @@ partial interface MLGraphBuilder {
521
528
  };
522
529
 
523
530
  dictionary MLSqueezeOptions {
524
- sequence<long> axes;
531
+ sequence<unsigned long> axes;
525
532
  };
526
533
 
527
534
  partial interface MLGraphBuilder {
@@ -534,7 +541,7 @@ partial interface MLGraphBuilder {
534
541
  };
535
542
 
536
543
  dictionary MLTransposeOptions {
537
- sequence<long> permutation;
544
+ sequence<unsigned long> permutation;
538
545
  };
539
546
 
540
547
  partial interface MLGraphBuilder {
package/webtransport.idl CHANGED
@@ -16,7 +16,7 @@ interface WebTransportDatagramDuplexStream {
16
16
  };
17
17
 
18
18
  [Exposed=(Window,Worker), SecureContext]
19
- interface WebTransport : EventTarget {
19
+ interface WebTransport {
20
20
  constructor(USVString url, optional WebTransportOptions options = {});
21
21
 
22
22
  Promise<WebTransportStats> getStats();
@@ -37,10 +37,6 @@ interface WebTransport : EventTarget {
37
37
  optional WebTransportSendStreamOptions options = {});
38
38
  /* a ReadableStream of WebTransportReceiveStream objects */
39
39
  readonly attribute ReadableStream incomingUnidirectionalStreams;
40
-
41
- attribute unsigned long rateControlFeedbackMinInterval;
42
- attribute EventHandler onratecontrolfeedback;
43
- [SameObject] readonly attribute WebTransportRateControlFeedback rateControlFeedback;
44
40
  };
45
41
 
46
42
  enum WebTransportReliabilityMode {
@@ -127,11 +123,6 @@ interface WebTransportBidirectionalStream {
127
123
  readonly attribute WebTransportSendStream writable;
128
124
  };
129
125
 
130
- [Exposed=(Window,Worker), SecureContext]
131
- interface WebTransportRateControlFeedback {
132
- readonly attribute unsigned long long? sendRate;
133
- };
134
-
135
126
  [Exposed=(Window,Worker), Serializable, SecureContext]
136
127
  interface WebTransportError : DOMException {
137
128
  constructor(optional DOMString message = "", optional WebTransportErrorOptions options = {});
package/webxr.idl CHANGED
@@ -41,6 +41,7 @@ enum XRVisibilityState {
41
41
  [SameObject] readonly attribute XRRenderState renderState;
42
42
  [SameObject] readonly attribute XRInputSourceArray inputSources;
43
43
  readonly attribute FrozenArray<DOMString> enabledFeatures;
44
+ readonly attribute boolean isSystemKeyboardSupported;
44
45
 
45
46
  // Methods
46
47
  undefined updateRenderState(optional XRRenderStateInit state = {});
@@ -1,158 +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: Navigation API (https://wicg.github.io/navigation-api/)
5
-
6
- partial interface Window {
7
- [Replaceable] readonly attribute Navigation navigation;
8
- };
9
-
10
- [Exposed=Window]
11
- interface Navigation : EventTarget {
12
- sequence<NavigationHistoryEntry> entries();
13
- readonly attribute NavigationHistoryEntry? currentEntry;
14
- undefined updateCurrentEntry(NavigationUpdateCurrentEntryOptions options);
15
- readonly attribute NavigationTransition? transition;
16
-
17
- readonly attribute boolean canGoBack;
18
- readonly attribute boolean canGoForward;
19
-
20
- NavigationResult navigate(USVString url, optional NavigationNavigateOptions options = {});
21
- NavigationResult reload(optional NavigationReloadOptions options = {});
22
-
23
- NavigationResult traverseTo(DOMString key, optional NavigationOptions options = {});
24
- NavigationResult back(optional NavigationOptions options = {});
25
- NavigationResult forward(optional NavigationOptions options = {});
26
-
27
- attribute EventHandler onnavigate;
28
- attribute EventHandler onnavigatesuccess;
29
- attribute EventHandler onnavigateerror;
30
- attribute EventHandler oncurrententrychange;
31
- };
32
-
33
- dictionary NavigationUpdateCurrentEntryOptions {
34
- required any state;
35
- };
36
-
37
- dictionary NavigationOptions {
38
- any info;
39
- };
40
-
41
- dictionary NavigationNavigateOptions : NavigationOptions {
42
- any state;
43
- NavigationHistoryBehavior history = "auto";
44
- };
45
-
46
- dictionary NavigationReloadOptions : NavigationOptions {
47
- any state;
48
- };
49
-
50
- dictionary NavigationResult {
51
- Promise<NavigationHistoryEntry> committed;
52
- Promise<NavigationHistoryEntry> finished;
53
- };
54
-
55
- enum NavigationHistoryBehavior {
56
- "auto",
57
- "push",
58
- "replace"
59
- };
60
-
61
- [Exposed=Window]
62
- interface NavigationCurrentEntryChangeEvent : Event {
63
- constructor(DOMString type, NavigationCurrentEntryChangeEventInit eventInit);
64
-
65
- readonly attribute NavigationType? navigationType;
66
- readonly attribute NavigationHistoryEntry from;
67
- };
68
-
69
- dictionary NavigationCurrentEntryChangeEventInit : EventInit {
70
- NavigationType? navigationType = null;
71
- required NavigationHistoryEntry destination;
72
- };
73
-
74
- [Exposed=Window]
75
- interface NavigationTransition {
76
- readonly attribute NavigationType navigationType;
77
- readonly attribute NavigationHistoryEntry from;
78
- readonly attribute Promise<undefined> finished;
79
- };
80
-
81
- [Exposed=Window]
82
- interface NavigateEvent : Event {
83
- constructor(DOMString type, NavigateEventInit eventInit);
84
-
85
- readonly attribute NavigationType navigationType;
86
- readonly attribute NavigationDestination destination;
87
- readonly attribute boolean canIntercept;
88
- readonly attribute boolean userInitiated;
89
- readonly attribute boolean hashChange;
90
- readonly attribute AbortSignal signal;
91
- readonly attribute FormData? formData;
92
- readonly attribute DOMString? downloadRequest;
93
- readonly attribute any info;
94
-
95
- undefined intercept(optional NavigationInterceptOptions options = {});
96
- undefined scroll();
97
- };
98
-
99
- dictionary NavigateEventInit : EventInit {
100
- NavigationType navigationType = "push";
101
- required NavigationDestination destination;
102
- boolean canIntercept = false;
103
- boolean userInitiated = false;
104
- boolean hashChange = false;
105
- required AbortSignal signal;
106
- FormData? formData = null;
107
- DOMString? downloadRequest = null;
108
- any info;
109
- };
110
-
111
- dictionary NavigationInterceptOptions {
112
- NavigationInterceptHandler handler;
113
- NavigationFocusReset focusReset;
114
- NavigationScrollBehavior scroll;
115
- };
116
-
117
- enum NavigationFocusReset {
118
- "after-transition",
119
- "manual"
120
- };
121
-
122
- enum NavigationScrollBehavior {
123
- "after-transition",
124
- "manual"
125
- };
126
-
127
- callback NavigationInterceptHandler = Promise<undefined> ();
128
-
129
- enum NavigationType {
130
- "reload",
131
- "push",
132
- "replace",
133
- "traverse"
134
- };
135
-
136
- [Exposed=Window]
137
- interface NavigationDestination {
138
- readonly attribute USVString url;
139
- readonly attribute DOMString? key;
140
- readonly attribute DOMString? id;
141
- readonly attribute long long index;
142
- readonly attribute boolean sameDocument;
143
-
144
- any getState();
145
- };
146
-
147
- [Exposed=Window]
148
- interface NavigationHistoryEntry : EventTarget {
149
- readonly attribute USVString? url;
150
- readonly attribute DOMString key;
151
- readonly attribute DOMString id;
152
- readonly attribute long long index;
153
- readonly attribute boolean sameDocument;
154
-
155
- any getState();
156
-
157
- attribute EventHandler ondispose;
158
- };