@webref/idl 3.24.1 → 3.25.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/FedCM.idl CHANGED
@@ -30,6 +30,7 @@ dictionary IdentityProviderAccount {
30
30
  required USVString name;
31
31
  required USVString email;
32
32
  USVString given_name;
33
+ USVString picture;
33
34
  sequence<USVString> approved_clients;
34
35
  };
35
36
  dictionary IdentityProviderAccountList {
@@ -0,0 +1,20 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: WebGL WEBGL_clip_cull_distance Extension Draft Specification (https://registry.khronos.org/webgl/extensions/WEBGL_clip_cull_distance/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface WEBGL_clip_cull_distance {
8
+ const GLenum MAX_CLIP_DISTANCES_WEBGL = 0x0D32;
9
+ const GLenum MAX_CULL_DISTANCES_WEBGL = 0x82F9;
10
+ const GLenum MAX_COMBINED_CLIP_AND_CULL_DISTANCES_WEBGL = 0x82FA;
11
+
12
+ const GLenum CLIP_DISTANCE0_WEBGL = 0x3000;
13
+ const GLenum CLIP_DISTANCE1_WEBGL = 0x3001;
14
+ const GLenum CLIP_DISTANCE2_WEBGL = 0x3002;
15
+ const GLenum CLIP_DISTANCE3_WEBGL = 0x3003;
16
+ const GLenum CLIP_DISTANCE4_WEBGL = 0x3004;
17
+ const GLenum CLIP_DISTANCE5_WEBGL = 0x3005;
18
+ const GLenum CLIP_DISTANCE6_WEBGL = 0x3006;
19
+ const GLenum CLIP_DISTANCE7_WEBGL = 0x3007;
20
+ };
@@ -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: WebGL WEBGL_provoking_vertex Extension Specification (https://registry.khronos.org/webgl/extensions/WEBGL_provoking_vertex/)
5
+
6
+ [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
+ interface WEBGL_provoking_vertex {
8
+ const GLenum FIRST_VERTEX_CONVENTION_WEBGL = 0x8E4D;
9
+ const GLenum LAST_VERTEX_CONVENTION_WEBGL = 0x8E4E; // default
10
+ const GLenum PROVOKING_VERTEX_WEBGL = 0x8E4F;
11
+
12
+ undefined provokingVertexWEBGL(GLenum provokeMode);
13
+ };
@@ -32,6 +32,7 @@ interface PressureRecord {
32
32
  readonly attribute PressureState state;
33
33
  readonly attribute FrozenArray<PressureFactor> factors;
34
34
  readonly attribute DOMHighResTimeStamp time;
35
+ [Default] object toJSON();
35
36
  };
36
37
 
37
38
  dictionary PressureObserverOptions {
@@ -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: Contact Picker API (https://w3c.github.io/contact-picker/spec/)
4
+ // Source: Contact Picker API (https://w3c.github.io/contact-picker/)
5
5
 
6
6
  [Exposed=Window]
7
7
  partial interface Navigator {
@@ -4,15 +4,15 @@
4
4
  // Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)
5
5
 
6
6
  partial interface Document {
7
- ViewTransition startViewTransition(optional UpdateDOMCallback? callback = null);
7
+ ViewTransition startViewTransition(optional UpdateCallback? updateCallback = null);
8
8
  };
9
9
 
10
- callback UpdateDOMCallback = Promise<any> ();
10
+ callback UpdateCallback = Promise<any> ();
11
11
 
12
12
  [Exposed=Window]
13
13
  interface ViewTransition {
14
- undefined skipTransition();
15
- readonly attribute Promise<undefined> finished;
14
+ readonly attribute Promise<undefined> updateCallbackDone;
16
15
  readonly attribute Promise<undefined> ready;
17
- readonly attribute Promise<undefined> domUpdated;
16
+ readonly attribute Promise<undefined> finished;
17
+ undefined skipTransition();
18
18
  };
package/cssom-view.idl CHANGED
@@ -3,7 +3,7 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: CSSOM View Module (https://drafts.csswg.org/cssom-view-1/)
5
5
 
6
- enum ScrollBehavior { "auto", "smooth" };
6
+ enum ScrollBehavior { "auto", "instant", "smooth" };
7
7
 
8
8
  dictionary ScrollOptions {
9
9
  ScrollBehavior behavior = "auto";
package/gpc-spec.idl ADDED
@@ -0,0 +1,10 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: Global Privacy Control (GPC) (https://privacycg.github.io/gpc-spec/)
5
+
6
+ interface mixin GlobalPrivacyControl {
7
+ readonly attribute boolean globalPrivacyControl;
8
+ };
9
+ Navigator includes GlobalPrivacyControl;
10
+ WorkerNavigator includes GlobalPrivacyControl;
package/html.idl CHANGED
@@ -127,6 +127,12 @@ interface HTMLElement : Element {
127
127
  [CEReactions] attribute [LegacyNullToEmptyString] DOMString outerText;
128
128
 
129
129
  ElementInternals attachInternals();
130
+
131
+ // The popover API
132
+ undefined showPopover();
133
+ undefined hidePopover();
134
+ undefined togglePopover(optional boolean force);
135
+ [CEReactions] attribute DOMString? popover;
130
136
  };
131
137
 
132
138
  HTMLElement includes GlobalEventHandlers;
@@ -929,6 +935,7 @@ interface HTMLInputElement : HTMLElement {
929
935
 
930
936
  // also has obsolete members
931
937
  };
938
+ HTMLInputElement includes PopoverTargetElement;
932
939
 
933
940
  [Exposed=Window]
934
941
  interface HTMLButtonElement : HTMLElement {
@@ -954,6 +961,7 @@ interface HTMLButtonElement : HTMLElement {
954
961
 
955
962
  readonly attribute NodeList labels;
956
963
  };
964
+ HTMLButtonElement includes PopoverTargetElement;
957
965
 
958
966
  [Exposed=Window]
959
967
  interface HTMLSelectElement : HTMLElement {
@@ -1704,6 +1712,24 @@ dictionary DragEventInit : MouseEventInit {
1704
1712
  DataTransfer? dataTransfer = null;
1705
1713
  };
1706
1714
 
1715
+ interface mixin PopoverTargetElement {
1716
+ [CEReactions] attribute Element? popoverToggleTargetElement;
1717
+ [CEReactions] attribute Element? popoverHideTargetElement;
1718
+ [CEReactions] attribute Element? popoverShowTargetElement;
1719
+ };
1720
+
1721
+ [Exposed=Window]
1722
+ interface ToggleEvent : Event {
1723
+ constructor(DOMString type, optional ToggleEventInit eventInitDict = {});
1724
+ readonly attribute DOMString oldState;
1725
+ readonly attribute DOMString newState;
1726
+ };
1727
+
1728
+ dictionary ToggleEventInit : EventInit {
1729
+ DOMString oldState = "";
1730
+ DOMString newState = "";
1731
+ };
1732
+
1707
1733
  [Global=Window,
1708
1734
  Exposed=Window,
1709
1735
  LegacyUnenumerableNamedProperties]
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.24.1",
4
+ "version": "3.25.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -7,9 +7,8 @@ partial interface ServiceWorkerRegistration {
7
7
  [SameObject] readonly attribute PaymentManager paymentManager;
8
8
  };
9
9
 
10
- [SecureContext, Exposed=(Window,Worker)]
10
+ [SecureContext, Exposed=(Window)]
11
11
  interface PaymentManager {
12
- [SameObject] readonly attribute PaymentInstruments instruments;
13
12
  attribute DOMString userHint;
14
13
  Promise<undefined> enableDelegations(sequence<PaymentDelegation> delegations);
15
14
  };
@@ -21,28 +20,6 @@ enum PaymentDelegation {
21
20
  "payerEmail"
22
21
  };
23
22
 
24
- [SecureContext, Exposed=(Window,Worker)]
25
- interface PaymentInstruments {
26
- Promise<boolean> delete(DOMString instrumentKey);
27
- Promise<any> get(DOMString instrumentKey);
28
- Promise<sequence<DOMString>> keys();
29
- Promise<boolean> has(DOMString instrumentKey);
30
- Promise<undefined> set(DOMString instrumentKey, PaymentInstrument details);
31
- Promise<undefined> clear();
32
- };
33
-
34
- dictionary PaymentInstrument {
35
- required DOMString name;
36
- sequence<ImageObject> icons;
37
- DOMString method;
38
- };
39
-
40
- dictionary ImageObject {
41
- required USVString src;
42
- DOMString sizes;
43
- DOMString type;
44
- };
45
-
46
23
  partial interface ServiceWorkerGlobalScope {
47
24
  attribute EventHandler oncanmakepayment;
48
25
  };
@@ -0,0 +1,12 @@
1
+ // GENERATED CONTENT - DO NOT EDIT
2
+ // Content was automatically extracted by Reffy into webref
3
+ // (https://github.com/w3c/webref)
4
+ // Source: requestStorageAccessForOrigin API (https://privacycg.github.io/requestStorageAccessForOrigin/)
5
+
6
+ partial interface Document {
7
+ Promise<undefined> requestStorageAccessForOrigin(USVString origin);
8
+ };
9
+
10
+ dictionary TopLevelStorageAccessPermissionDescriptor : PermissionDescriptor {
11
+ USVString requestedOrigin = "";
12
+ };
@@ -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: Scroll-linked Animations (https://drafts.csswg.org/scroll-animations-1/)
4
+ // Source: Scroll-driven Animations (https://drafts.csswg.org/scroll-animations-1/)
5
5
 
6
6
  enum ScrollAxis {
7
7
  "block",
@@ -50,10 +50,3 @@ dictionary PaymentCredentialInstrument {
50
50
  required USVString icon;
51
51
  boolean iconMustBeShown = true;
52
52
  };
53
-
54
- enum TransactionAutomationMode {
55
- "none",
56
- "autoAccept",
57
- "autoReject",
58
- "autoOptOut"
59
- };
@@ -5,6 +5,7 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  partial interface AnimationTimeline {
8
+ readonly attribute CSSNumberish? currentTime;
8
9
  readonly attribute CSSNumberish? duration;
9
10
  Animation play (optional AnimationEffect? effect = null);
10
11
  };
@@ -5,7 +5,6 @@
5
5
 
6
6
  [Exposed=Window]
7
7
  interface AnimationTimeline {
8
- readonly attribute double? currentTime;
9
8
  };
10
9
 
11
10
  dictionary DocumentTimelineOptions {
package/webgpu.idl CHANGED
@@ -384,7 +384,6 @@ enum GPUTextureFormat {
384
384
 
385
385
  [Exposed=(Window, DedicatedWorker), SecureContext]
386
386
  interface GPUExternalTexture {
387
- readonly attribute boolean expired;
388
387
  };
389
388
  GPUExternalTexture includes GPUObjectBase;
390
389
 
package/webnn.idl CHANGED
@@ -36,6 +36,37 @@ interface ML {
36
36
  MLContext createContextSync(GPUDevice gpuDevice);
37
37
  };
38
38
 
39
+ [SecureContext, Exposed=(Window, DedicatedWorker)]
40
+ interface MLGraph {};
41
+
42
+ enum MLInputOperandLayout {
43
+ "nchw",
44
+ "nhwc"
45
+ };
46
+
47
+ enum MLOperandType {
48
+ "float32",
49
+ "float16",
50
+ "int32",
51
+ "uint32",
52
+ "int8",
53
+ "uint8"
54
+ };
55
+
56
+ dictionary MLOperandDescriptor {
57
+ // The operand type.
58
+ required MLOperandType type;
59
+
60
+ // The dimensions field is only required for tensor operands.
61
+ sequence<unsigned long> dimensions;
62
+ };
63
+
64
+ [SecureContext, Exposed=(Window, DedicatedWorker)]
65
+ interface MLOperand {};
66
+
67
+ [SecureContext, Exposed=(Window, DedicatedWorker)]
68
+ interface MLActivation {};
69
+
39
70
  typedef record<DOMString, ArrayBufferView> MLNamedArrayBufferViews;
40
71
 
41
72
  [SecureContext, Exposed=(Window, DedicatedWorker)]
@@ -61,33 +92,24 @@ partial interface MLContext {
61
92
  MLCommandEncoder createCommandEncoder();
62
93
  };
63
94
 
64
- enum MLInputOperandLayout {
65
- "nchw",
66
- "nhwc"
67
- };
95
+ typedef (GPUBuffer or GPUTexture) MLGPUResource;
68
96
 
69
- enum MLOperandType {
70
- "float32",
71
- "float16",
72
- "int32",
73
- "uint32",
74
- "int8",
75
- "uint8"
76
- };
97
+ typedef record<DOMString, MLGPUResource> MLNamedGPUResources;
77
98
 
78
- dictionary MLOperandDescriptor {
79
- // The operand type.
80
- required MLOperandType type;
99
+ [SecureContext, Exposed=(Window, DedicatedWorker)]
100
+ interface MLCommandEncoder {};
81
101
 
82
- // The dimensions field is only required for tensor operands.
83
- sequence<unsigned long> dimensions;
102
+ partial interface MLCommandEncoder {
103
+ undefined initializeGraph(MLGraph graph);
84
104
  };
85
105
 
86
- [SecureContext, Exposed=(Window, DedicatedWorker)]
87
- interface MLOperand {};
106
+ partial interface MLCommandEncoder {
107
+ undefined dispatch(MLGraph graph, MLNamedGPUResources inputs, MLNamedGPUResources outputs);
108
+ };
88
109
 
89
- [SecureContext, Exposed=(Window, DedicatedWorker)]
90
- interface MLActivation {};
110
+ partial interface MLCommandEncoder {
111
+ GPUCommandBuffer finish(optional GPUCommandBufferDescriptor descriptor = {});
112
+ };
91
113
 
92
114
  typedef record<DOMString, MLOperand> MLNamedOperands;
93
115
 
@@ -269,9 +291,7 @@ dictionary MLGruOptions {
269
291
 
270
292
  partial interface MLGraphBuilder {
271
293
  sequence<MLOperand> gru(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
272
-
273
294
  unsigned long steps, unsigned long hiddenSize,
274
-
275
295
  optional MLGruOptions options = {});
276
296
  };
277
297
 
@@ -286,7 +306,6 @@ dictionary MLGruCellOptions {
286
306
  partial interface MLGraphBuilder {
287
307
  MLOperand gruCell(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
288
308
  MLOperand hiddenState, unsigned long hiddenSize,
289
-
290
309
  optional MLGruCellOptions options = {});
291
310
  };
292
311
 
@@ -355,9 +374,7 @@ dictionary MLLstmOptions {
355
374
 
356
375
  partial interface MLGraphBuilder {
357
376
  sequence<MLOperand> lstm(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
358
-
359
377
  unsigned long steps, unsigned long hiddenSize,
360
-
361
378
  optional MLLstmOptions options = {});
362
379
  };
363
380
 
@@ -372,7 +389,6 @@ dictionary MLLstmCellOptions {
372
389
  partial interface MLGraphBuilder {
373
390
  sequence<MLOperand> lstmCell(MLOperand input, MLOperand weight, MLOperand recurrentWeight,
374
391
  MLOperand hiddenState, MLOperand cellState, unsigned long hiddenSize,
375
-
376
392
  optional MLLstmCellOptions options = {});
377
393
  };
378
394
 
@@ -524,25 +540,3 @@ dictionary MLTransposeOptions {
524
540
  partial interface MLGraphBuilder {
525
541
  MLOperand transpose(MLOperand input, optional MLTransposeOptions options = {});
526
542
  };
527
-
528
- [SecureContext, Exposed=(Window, DedicatedWorker)]
529
- interface MLGraph {};
530
-
531
- typedef (GPUBuffer or GPUTexture) MLGPUResource;
532
-
533
- typedef record<DOMString, MLGPUResource> MLNamedGPUResources;
534
-
535
- [SecureContext, Exposed=(Window, DedicatedWorker)]
536
- interface MLCommandEncoder {};
537
-
538
- partial interface MLCommandEncoder {
539
- undefined initializeGraph(MLGraph graph);
540
- };
541
-
542
- partial interface MLCommandEncoder {
543
- undefined dispatch(MLGraph graph, MLNamedGPUResources inputs, MLNamedGPUResources outputs);
544
- };
545
-
546
- partial interface MLCommandEncoder {
547
- GPUCommandBuffer finish(optional GPUCommandBufferDescriptor descriptor = {});
548
- };
@@ -89,6 +89,7 @@ dictionary RTCEncodedAudioFrameMetadata {
89
89
  unsigned long synchronizationSource;
90
90
  octet payloadType;
91
91
  sequence<unsigned long> contributingSources;
92
+ short sequenceNumber;
92
93
  };
93
94
 
94
95
  [Exposed=(Window,DedicatedWorker)]
package/webrtc-stats.idl CHANGED
@@ -182,6 +182,7 @@ dictionary RTCVideoSourceStats : RTCMediaSourceStats {
182
182
  };
183
183
 
184
184
  dictionary RTCAudioPlayoutStats : RTCStats {
185
+ required DOMString kind;
185
186
  double synthesizedSamplesDuration;
186
187
  unsigned long synthesizedSamplesEvents;
187
188
  double totalSamplesDuration;
package/webrtc-svc.idl CHANGED
@@ -6,7 +6,3 @@
6
6
  partial dictionary RTCRtpEncodingParameters {
7
7
  DOMString scalabilityMode;
8
8
  };
9
-
10
- partial dictionary RTCRtpCodecCapability {
11
- sequence<DOMString> scalabilityModes;
12
- };
package/webxrlayers.idl CHANGED
@@ -15,7 +15,6 @@ enum XRLayerLayout {
15
15
  readonly attribute XRLayerLayout layout;
16
16
 
17
17
  attribute boolean blendTextureSourceAlpha;
18
- attribute boolean? chromaticAberrationCorrection;
19
18
  attribute boolean forceMonoPresentation;
20
19
  attribute float opacity;
21
20
  readonly attribute unsigned long mipLevels;
package/xhr.idl CHANGED
@@ -70,7 +70,7 @@ typedef (File or USVString) FormDataEntryValue;
70
70
 
71
71
  [Exposed=(Window,Worker)]
72
72
  interface FormData {
73
- constructor(optional HTMLFormElement form);
73
+ constructor(optional HTMLFormElement form, optional HTMLElement? submitter = null);
74
74
 
75
75
  undefined append(USVString name, USVString value);
76
76
  undefined append(USVString name, Blob blobValue, optional USVString filename);
@@ -1,20 +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: WebGL EXT_clip_cull_distance Extension Draft Specification (https://registry.khronos.org/webgl/extensions/EXT_clip_cull_distance/)
5
-
6
- [Exposed=(Window,Worker), LegacyNoInterfaceObject]
7
- interface EXT_clip_cull_distance {
8
- const GLenum MAX_CLIP_DISTANCES_EXT = 0x0D32;
9
- const GLenum MAX_CULL_DISTANCES_EXT = 0x82F9;
10
- const GLenum MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT = 0x82FA;
11
-
12
- const GLenum CLIP_DISTANCE0_EXT = 0x3000;
13
- const GLenum CLIP_DISTANCE1_EXT = 0x3001;
14
- const GLenum CLIP_DISTANCE2_EXT = 0x3002;
15
- const GLenum CLIP_DISTANCE3_EXT = 0x3003;
16
- const GLenum CLIP_DISTANCE4_EXT = 0x3004;
17
- const GLenum CLIP_DISTANCE5_EXT = 0x3005;
18
- const GLenum CLIP_DISTANCE6_EXT = 0x3006;
19
- const GLenum CLIP_DISTANCE7_EXT = 0x3007;
20
- };