@webref/idl 3.24.2 → 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
+ };
@@ -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 UpdateCallback? callback = null);
7
+ ViewTransition startViewTransition(optional UpdateCallback? updateCallback = null);
8
8
  };
9
9
 
10
10
  callback UpdateCallback = Promise<any> ();
11
11
 
12
12
  [Exposed=Window]
13
13
  interface ViewTransition {
14
- undefined skipTransition();
15
- readonly attribute Promise<undefined> finished;
16
- readonly attribute Promise<undefined> ready;
17
14
  readonly attribute Promise<undefined> updateCallbackDone;
15
+ readonly attribute Promise<undefined> ready;
16
+ readonly attribute Promise<undefined> finished;
17
+ undefined skipTransition();
18
18
  };
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.2",
4
+ "version": "3.25.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -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
+ };
@@ -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
 
@@ -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/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
- };