@webref/idl 3.72.2 → 3.73.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/credential-management.idl +5 -0
- package/gamepad.idl +2 -2
- package/html.idl +1 -1
- package/js-self-profiling.idl +1 -1
- package/package.json +1 -1
- package/pointerevents.idl +74 -0
- package/resource-timing.idl +1 -2
- package/uievents.idl +0 -74
- package/wai-aria.idl +11 -0
- package/{payment-handler.idl → web-based-payment-handler.idl} +1 -1
- package/webcrypto-modern-algos.idl +2 -2
- package/webmcp.idl +41 -0
- package/geolocation-sensor.idl +0 -37
|
@@ -34,6 +34,7 @@ dictionary CredentialData {
|
|
|
34
34
|
|
|
35
35
|
dictionary CredentialRequestOptions {
|
|
36
36
|
CredentialMediationRequirement mediation = "optional";
|
|
37
|
+
DOMString uiMode;
|
|
37
38
|
AbortSignal signal;
|
|
38
39
|
};
|
|
39
40
|
|
|
@@ -44,6 +45,10 @@ enum CredentialMediationRequirement {
|
|
|
44
45
|
"required"
|
|
45
46
|
};
|
|
46
47
|
|
|
48
|
+
enum CredentialUiMode {
|
|
49
|
+
"immediate"
|
|
50
|
+
};
|
|
51
|
+
|
|
47
52
|
dictionary CredentialCreationOptions {
|
|
48
53
|
CredentialMediationRequirement mediation = "optional";
|
|
49
54
|
AbortSignal signal;
|
package/gamepad.idl
CHANGED
|
@@ -73,12 +73,12 @@ partial interface Navigator {
|
|
|
73
73
|
[Exposed=Window]
|
|
74
74
|
|
|
75
75
|
interface GamepadEvent: Event {
|
|
76
|
-
constructor(DOMString type, GamepadEventInit eventInitDict);
|
|
76
|
+
constructor(DOMString type, optional GamepadEventInit eventInitDict = {});
|
|
77
77
|
[SameObject] readonly attribute Gamepad gamepad;
|
|
78
78
|
};
|
|
79
79
|
|
|
80
80
|
dictionary GamepadEventInit : EventInit {
|
|
81
|
-
|
|
81
|
+
Gamepad? gamepad = null;
|
|
82
82
|
};
|
|
83
83
|
|
|
84
84
|
partial interface mixin WindowEventHandlers {
|
package/html.idl
CHANGED
|
@@ -1904,7 +1904,7 @@ interface Location { // but see also additional creation steps and overridden in
|
|
|
1904
1904
|
[LegacyUnforgeable] undefined replace(USVString url);
|
|
1905
1905
|
[LegacyUnforgeable] undefined reload();
|
|
1906
1906
|
|
|
1907
|
-
[LegacyUnforgeable
|
|
1907
|
+
[LegacyUnforgeable] readonly attribute DOMStringList ancestorOrigins;
|
|
1908
1908
|
};
|
|
1909
1909
|
|
|
1910
1910
|
enum ScrollRestoration { "auto", "manual" };
|
package/js-self-profiling.idl
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: JS Self-Profiling API (https://wicg.github.io/js-self-profiling/)
|
|
5
5
|
|
|
6
|
-
[Exposed=Window]
|
|
6
|
+
[Exposed=(Window, Worker)]
|
|
7
7
|
interface Profiler : EventTarget {
|
|
8
8
|
readonly attribute DOMHighResTimeStamp sampleInterval;
|
|
9
9
|
readonly attribute boolean stopped;
|
package/package.json
CHANGED
package/pointerevents.idl
CHANGED
|
@@ -3,6 +3,40 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Pointer Events (https://w3c.github.io/pointerevents/)
|
|
5
5
|
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface MouseEvent : UIEvent {
|
|
8
|
+
constructor(DOMString type, optional MouseEventInit eventInitDict = {});
|
|
9
|
+
readonly attribute long screenX;
|
|
10
|
+
readonly attribute long screenY;
|
|
11
|
+
readonly attribute long clientX;
|
|
12
|
+
readonly attribute long clientY;
|
|
13
|
+
readonly attribute long layerX;
|
|
14
|
+
readonly attribute long layerY;
|
|
15
|
+
|
|
16
|
+
readonly attribute boolean ctrlKey;
|
|
17
|
+
readonly attribute boolean shiftKey;
|
|
18
|
+
readonly attribute boolean altKey;
|
|
19
|
+
readonly attribute boolean metaKey;
|
|
20
|
+
|
|
21
|
+
readonly attribute short button;
|
|
22
|
+
readonly attribute unsigned short buttons;
|
|
23
|
+
|
|
24
|
+
readonly attribute EventTarget? relatedTarget;
|
|
25
|
+
|
|
26
|
+
boolean getModifierState(DOMString keyArg);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
dictionary MouseEventInit : EventModifierInit {
|
|
30
|
+
long screenX = 0;
|
|
31
|
+
long screenY = 0;
|
|
32
|
+
long clientX = 0;
|
|
33
|
+
long clientY = 0;
|
|
34
|
+
|
|
35
|
+
short button = 0;
|
|
36
|
+
unsigned short buttons = 0;
|
|
37
|
+
EventTarget? relatedTarget = null;
|
|
38
|
+
};
|
|
39
|
+
|
|
6
40
|
dictionary PointerEventInit : MouseEventInit {
|
|
7
41
|
long pointerId = 0;
|
|
8
42
|
double width = 1;
|
|
@@ -41,6 +75,27 @@ interface PointerEvent : MouseEvent {
|
|
|
41
75
|
sequence<PointerEvent> getPredictedEvents();
|
|
42
76
|
};
|
|
43
77
|
|
|
78
|
+
[Exposed=Window]
|
|
79
|
+
interface WheelEvent : MouseEvent {
|
|
80
|
+
constructor(DOMString type, optional WheelEventInit eventInitDict = {});
|
|
81
|
+
// DeltaModeCode
|
|
82
|
+
const unsigned long DOM_DELTA_PIXEL = 0x00;
|
|
83
|
+
const unsigned long DOM_DELTA_LINE = 0x01;
|
|
84
|
+
const unsigned long DOM_DELTA_PAGE = 0x02;
|
|
85
|
+
|
|
86
|
+
readonly attribute double deltaX;
|
|
87
|
+
readonly attribute double deltaY;
|
|
88
|
+
readonly attribute double deltaZ;
|
|
89
|
+
readonly attribute unsigned long deltaMode;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
dictionary WheelEventInit : MouseEventInit {
|
|
93
|
+
double deltaX = 0.0;
|
|
94
|
+
double deltaY = 0.0;
|
|
95
|
+
double deltaZ = 0.0;
|
|
96
|
+
unsigned long deltaMode = 0;
|
|
97
|
+
};
|
|
98
|
+
|
|
44
99
|
partial interface Element {
|
|
45
100
|
undefined setPointerCapture (long pointerId);
|
|
46
101
|
undefined releasePointerCapture (long pointerId);
|
|
@@ -64,3 +119,22 @@ partial interface mixin GlobalEventHandlers {
|
|
|
64
119
|
partial interface Navigator {
|
|
65
120
|
readonly attribute long maxTouchPoints;
|
|
66
121
|
};
|
|
122
|
+
|
|
123
|
+
partial interface MouseEvent {
|
|
124
|
+
// Deprecated in this specification
|
|
125
|
+
undefined initMouseEvent(DOMString typeArg,
|
|
126
|
+
optional boolean bubblesArg = false,
|
|
127
|
+
optional boolean cancelableArg = false,
|
|
128
|
+
optional Window? viewArg = null,
|
|
129
|
+
optional long detailArg = 0,
|
|
130
|
+
optional long screenXArg = 0,
|
|
131
|
+
optional long screenYArg = 0,
|
|
132
|
+
optional long clientXArg = 0,
|
|
133
|
+
optional long clientYArg = 0,
|
|
134
|
+
optional boolean ctrlKeyArg = false,
|
|
135
|
+
optional boolean altKeyArg = false,
|
|
136
|
+
optional boolean shiftKeyArg = false,
|
|
137
|
+
optional boolean metaKeyArg = false,
|
|
138
|
+
optional short buttonArg = 0,
|
|
139
|
+
optional EventTarget? relatedTargetArg = null);
|
|
140
|
+
};
|
package/resource-timing.idl
CHANGED
|
@@ -41,8 +41,7 @@ enum RenderBlockingStatusType {
|
|
|
41
41
|
"non-blocking"
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
partial interface Performance {
|
|
45
|
-
undefined clearResourceTimings ();
|
|
44
|
+
partial interface Performance { undefined clearResourceTimings ();
|
|
46
45
|
undefined setResourceTimingBufferSize (unsigned long maxSize);
|
|
47
46
|
attribute EventHandler onresourcetimingbufferfull;
|
|
48
47
|
};
|
package/uievents.idl
CHANGED
|
@@ -25,40 +25,6 @@ dictionary FocusEventInit : UIEventInit {
|
|
|
25
25
|
EventTarget? relatedTarget = null;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
[Exposed=Window]
|
|
29
|
-
interface MouseEvent : UIEvent {
|
|
30
|
-
constructor(DOMString type, optional MouseEventInit eventInitDict = {});
|
|
31
|
-
readonly attribute long screenX;
|
|
32
|
-
readonly attribute long screenY;
|
|
33
|
-
readonly attribute long clientX;
|
|
34
|
-
readonly attribute long clientY;
|
|
35
|
-
readonly attribute long layerX;
|
|
36
|
-
readonly attribute long layerY;
|
|
37
|
-
|
|
38
|
-
readonly attribute boolean ctrlKey;
|
|
39
|
-
readonly attribute boolean shiftKey;
|
|
40
|
-
readonly attribute boolean altKey;
|
|
41
|
-
readonly attribute boolean metaKey;
|
|
42
|
-
|
|
43
|
-
readonly attribute short button;
|
|
44
|
-
readonly attribute unsigned short buttons;
|
|
45
|
-
|
|
46
|
-
readonly attribute EventTarget? relatedTarget;
|
|
47
|
-
|
|
48
|
-
boolean getModifierState(DOMString keyArg);
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
dictionary MouseEventInit : EventModifierInit {
|
|
52
|
-
long screenX = 0;
|
|
53
|
-
long screenY = 0;
|
|
54
|
-
long clientX = 0;
|
|
55
|
-
long clientY = 0;
|
|
56
|
-
|
|
57
|
-
short button = 0;
|
|
58
|
-
unsigned short buttons = 0;
|
|
59
|
-
EventTarget? relatedTarget = null;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
28
|
dictionary EventModifierInit : UIEventInit {
|
|
63
29
|
boolean ctrlKey = false;
|
|
64
30
|
boolean shiftKey = false;
|
|
@@ -77,27 +43,6 @@ dictionary EventModifierInit : UIEventInit {
|
|
|
77
43
|
boolean modifierSymbolLock = false;
|
|
78
44
|
};
|
|
79
45
|
|
|
80
|
-
[Exposed=Window]
|
|
81
|
-
interface WheelEvent : MouseEvent {
|
|
82
|
-
constructor(DOMString type, optional WheelEventInit eventInitDict = {});
|
|
83
|
-
// DeltaModeCode
|
|
84
|
-
const unsigned long DOM_DELTA_PIXEL = 0x00;
|
|
85
|
-
const unsigned long DOM_DELTA_LINE = 0x01;
|
|
86
|
-
const unsigned long DOM_DELTA_PAGE = 0x02;
|
|
87
|
-
|
|
88
|
-
readonly attribute double deltaX;
|
|
89
|
-
readonly attribute double deltaY;
|
|
90
|
-
readonly attribute double deltaZ;
|
|
91
|
-
readonly attribute unsigned long deltaMode;
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
dictionary WheelEventInit : MouseEventInit {
|
|
95
|
-
double deltaX = 0.0;
|
|
96
|
-
double deltaY = 0.0;
|
|
97
|
-
double deltaZ = 0.0;
|
|
98
|
-
unsigned long deltaMode = 0;
|
|
99
|
-
};
|
|
100
|
-
|
|
101
46
|
[Exposed=Window]
|
|
102
47
|
interface InputEvent : UIEvent {
|
|
103
48
|
constructor(DOMString type, optional InputEventInit eventInitDict = {});
|
|
@@ -163,25 +108,6 @@ partial interface UIEvent {
|
|
|
163
108
|
optional long detailArg = 0);
|
|
164
109
|
};
|
|
165
110
|
|
|
166
|
-
partial interface MouseEvent {
|
|
167
|
-
// Deprecated in this specification
|
|
168
|
-
undefined initMouseEvent(DOMString typeArg,
|
|
169
|
-
optional boolean bubblesArg = false,
|
|
170
|
-
optional boolean cancelableArg = false,
|
|
171
|
-
optional Window? viewArg = null,
|
|
172
|
-
optional long detailArg = 0,
|
|
173
|
-
optional long screenXArg = 0,
|
|
174
|
-
optional long screenYArg = 0,
|
|
175
|
-
optional long clientXArg = 0,
|
|
176
|
-
optional long clientYArg = 0,
|
|
177
|
-
optional boolean ctrlKeyArg = false,
|
|
178
|
-
optional boolean altKeyArg = false,
|
|
179
|
-
optional boolean shiftKeyArg = false,
|
|
180
|
-
optional boolean metaKeyArg = false,
|
|
181
|
-
optional short buttonArg = 0,
|
|
182
|
-
optional EventTarget? relatedTargetArg = null);
|
|
183
|
-
};
|
|
184
|
-
|
|
185
111
|
partial interface KeyboardEvent {
|
|
186
112
|
// Originally introduced (and deprecated) in this specification
|
|
187
113
|
undefined initKeyboardEvent(DOMString typeArg,
|
package/wai-aria.idl
CHANGED
|
@@ -58,3 +58,14 @@ interface mixin ARIAMixin {
|
|
|
58
58
|
[CEReactions, Reflect="aria-valuetext"] attribute DOMString? ariaValueText;
|
|
59
59
|
};
|
|
60
60
|
Element includes ARIAMixin;
|
|
61
|
+
|
|
62
|
+
enum AriaNotifyPriority { "normal", "high" };
|
|
63
|
+
|
|
64
|
+
dictionary AriaNotificationOptions {
|
|
65
|
+
AriaNotifyPriority priority = "normal";
|
|
66
|
+
};
|
|
67
|
+
interface mixin ARIANotifyMixin {
|
|
68
|
+
undefined ariaNotify(DOMString announcement, optional AriaNotificationOptions options = {});
|
|
69
|
+
};
|
|
70
|
+
Element includes ARIANotifyMixin;
|
|
71
|
+
Document includes ARIANotifyMixin;
|
|
@@ -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: Payment Handler API (https://w3c.github.io/payment-handler/)
|
|
4
|
+
// Source: Web-based Payment Handler API (https://w3c.github.io/web-based-payment-handler/)
|
|
5
5
|
|
|
6
6
|
partial interface ServiceWorkerRegistration {
|
|
7
7
|
[SameObject] readonly attribute PaymentManager paymentManager;
|
|
@@ -75,7 +75,7 @@ dictionary AeadParams : Algorithm {
|
|
|
75
75
|
};
|
|
76
76
|
|
|
77
77
|
dictionary CShakeParams : Algorithm {
|
|
78
|
-
required [EnforceRange] unsigned long
|
|
78
|
+
required [EnforceRange] unsigned long outputLength;
|
|
79
79
|
BufferSource functionName;
|
|
80
80
|
BufferSource customization;
|
|
81
81
|
};
|
|
@@ -93,7 +93,7 @@ dictionary KmacKeyAlgorithm : KeyAlgorithm {
|
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
dictionary KmacParams : Algorithm {
|
|
96
|
-
required [EnforceRange] unsigned long
|
|
96
|
+
required [EnforceRange] unsigned long outputLength;
|
|
97
97
|
BufferSource customization;
|
|
98
98
|
};
|
|
99
99
|
|
package/webmcp.idl
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebMCP (https://webmachinelearning.github.io/webmcp/)
|
|
5
|
+
|
|
6
|
+
partial interface Navigator {
|
|
7
|
+
[SecureContext, SameObject] readonly attribute ModelContext modelContext;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=Window, SecureContext]
|
|
11
|
+
interface ModelContext {
|
|
12
|
+
undefined provideContext(optional ModelContextOptions options = {});
|
|
13
|
+
undefined clearContext();
|
|
14
|
+
undefined registerTool(ModelContextTool tool);
|
|
15
|
+
undefined unregisterTool(DOMString name);
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
dictionary ModelContextOptions {
|
|
19
|
+
sequence<ModelContextTool> tools = [];
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
dictionary ModelContextTool {
|
|
23
|
+
required DOMString name;
|
|
24
|
+
required DOMString description;
|
|
25
|
+
object inputSchema;
|
|
26
|
+
required ToolExecuteCallback execute;
|
|
27
|
+
ToolAnnotations annotations;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
dictionary ToolAnnotations {
|
|
31
|
+
boolean readOnlyHint;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
callback ToolExecuteCallback = Promise<any> (object input, ModelContextClient client);
|
|
35
|
+
|
|
36
|
+
[Exposed=Window, SecureContext]
|
|
37
|
+
interface ModelContextClient {
|
|
38
|
+
Promise<any> requestUserInteraction(UserInteractionCallback callback);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
callback UserInteractionCallback = Promise<any> ();
|
package/geolocation-sensor.idl
DELETED
|
@@ -1,37 +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: Geolocation Sensor (https://w3c.github.io/geolocation-sensor/)
|
|
5
|
-
|
|
6
|
-
[SecureContext,
|
|
7
|
-
Exposed=(DedicatedWorker, Window)]
|
|
8
|
-
interface GeolocationSensor : Sensor {
|
|
9
|
-
constructor(optional GeolocationSensorOptions options = {});
|
|
10
|
-
static Promise<GeolocationSensorReading> read(optional ReadOptions readOptions = {});
|
|
11
|
-
readonly attribute unrestricted double? latitude;
|
|
12
|
-
readonly attribute unrestricted double? longitude;
|
|
13
|
-
readonly attribute unrestricted double? altitude;
|
|
14
|
-
readonly attribute unrestricted double? accuracy;
|
|
15
|
-
readonly attribute unrestricted double? altitudeAccuracy;
|
|
16
|
-
readonly attribute unrestricted double? heading;
|
|
17
|
-
readonly attribute unrestricted double? speed;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
dictionary GeolocationSensorOptions : SensorOptions {
|
|
21
|
-
// placeholder for GeolocationSensor-specific options
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
dictionary ReadOptions : GeolocationSensorOptions {
|
|
25
|
-
AbortSignal? signal;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
dictionary GeolocationSensorReading {
|
|
29
|
-
DOMHighResTimeStamp? timestamp;
|
|
30
|
-
double? latitude;
|
|
31
|
-
double? longitude;
|
|
32
|
-
double? altitude;
|
|
33
|
-
double? accuracy;
|
|
34
|
-
double? altitudeAccuracy;
|
|
35
|
-
double? heading;
|
|
36
|
-
double? speed;
|
|
37
|
-
};
|