@webref/idl 3.59.4 → 3.60.1
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 +1 -1
- package/gamepad-extensions.idl +0 -9
- package/gamepad.idl +8 -0
- package/html.idl +18 -3
- package/media-capabilities.idl +1 -1
- package/mediacapture-surface-control.idl +1 -1
- package/package.json +1 -1
- package/ppa.idl +66 -0
- package/sanitizer-api.idl +1 -1
- package/speech-api.idl +2 -2
- package/webnn.idl +0 -7
package/fedcm.idl
CHANGED
|
@@ -9,7 +9,7 @@ dictionary IdentityCredentialDisconnectOptions : IdentityProviderConfig {
|
|
|
9
9
|
|
|
10
10
|
[Exposed=Window, SecureContext]
|
|
11
11
|
interface IdentityCredential : Credential {
|
|
12
|
-
static Promise<undefined> disconnect(
|
|
12
|
+
static Promise<undefined> disconnect(IdentityCredentialDisconnectOptions options);
|
|
13
13
|
readonly attribute USVString? token;
|
|
14
14
|
readonly attribute boolean isAutoSelected;
|
|
15
15
|
};
|
package/gamepad-extensions.idl
CHANGED
|
@@ -22,19 +22,10 @@ interface GamepadPose {
|
|
|
22
22
|
readonly attribute Float32Array? angularAcceleration;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
[Exposed=Window, SecureContext]
|
|
26
|
-
interface GamepadTouch {
|
|
27
|
-
readonly attribute unsigned long touchId;
|
|
28
|
-
readonly attribute octet surfaceId;
|
|
29
|
-
readonly attribute Float32Array position;
|
|
30
|
-
readonly attribute Uint32Array? surfaceDimensions;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
25
|
partial interface Gamepad {
|
|
34
26
|
readonly attribute GamepadHand hand;
|
|
35
27
|
readonly attribute FrozenArray<GamepadHapticActuator> hapticActuators;
|
|
36
28
|
readonly attribute GamepadPose? pose;
|
|
37
|
-
readonly attribute FrozenArray<GamepadTouch>? touchEvents;
|
|
38
29
|
};
|
|
39
30
|
|
|
40
31
|
[Exposed=Window]
|
package/gamepad.idl
CHANGED
|
@@ -12,6 +12,7 @@ interface Gamepad {
|
|
|
12
12
|
readonly attribute GamepadMappingType mapping;
|
|
13
13
|
readonly attribute FrozenArray<double> axes;
|
|
14
14
|
readonly attribute FrozenArray<GamepadButton> buttons;
|
|
15
|
+
readonly attribute FrozenArray<GamepadTouch> touches;
|
|
15
16
|
[SameObject] readonly attribute GamepadHapticActuator vibrationActuator;
|
|
16
17
|
};
|
|
17
18
|
|
|
@@ -22,6 +23,13 @@ interface GamepadButton {
|
|
|
22
23
|
readonly attribute double value;
|
|
23
24
|
};
|
|
24
25
|
|
|
26
|
+
dictionary GamepadTouch {
|
|
27
|
+
unsigned long touchId;
|
|
28
|
+
octet surfaceId;
|
|
29
|
+
DOMPointReadOnly position;
|
|
30
|
+
DOMRectReadOnly? surfaceDimensions;
|
|
31
|
+
};
|
|
32
|
+
|
|
25
33
|
enum GamepadMappingType {
|
|
26
34
|
"",
|
|
27
35
|
"standard",
|
package/html.idl
CHANGED
|
@@ -957,6 +957,8 @@ HTMLInputElement includes PopoverInvokerElement;
|
|
|
957
957
|
interface HTMLButtonElement : HTMLElement {
|
|
958
958
|
[HTMLConstructor] constructor();
|
|
959
959
|
|
|
960
|
+
[CEReactions] attribute DOMString command;
|
|
961
|
+
[CEReactions] attribute Element? commandForElement;
|
|
960
962
|
[CEReactions] attribute boolean disabled;
|
|
961
963
|
readonly attribute HTMLFormElement? form;
|
|
962
964
|
[CEReactions] attribute USVString formAction;
|
|
@@ -1450,10 +1452,10 @@ interface mixin CanvasDrawImage {
|
|
|
1450
1452
|
interface mixin CanvasImageData {
|
|
1451
1453
|
// pixel manipulation
|
|
1452
1454
|
ImageData createImageData([EnforceRange] long sw, [EnforceRange] long sh, optional ImageDataSettings settings = {});
|
|
1453
|
-
ImageData createImageData(ImageData
|
|
1455
|
+
ImageData createImageData(ImageData imageData);
|
|
1454
1456
|
ImageData getImageData([EnforceRange] long sx, [EnforceRange] long sy, [EnforceRange] long sw, [EnforceRange] long sh, optional ImageDataSettings settings = {});
|
|
1455
|
-
undefined putImageData(ImageData
|
|
1456
|
-
undefined putImageData(ImageData
|
|
1457
|
+
undefined putImageData(ImageData imageData, [EnforceRange] long dx, [EnforceRange] long dy);
|
|
1458
|
+
undefined putImageData(ImageData imageData, [EnforceRange] long dx, [EnforceRange] long dy, [EnforceRange] long dirtyX, [EnforceRange] long dirtyY, [EnforceRange] long dirtyWidth, [EnforceRange] long dirtyHeight);
|
|
1457
1459
|
};
|
|
1458
1460
|
|
|
1459
1461
|
enum CanvasLineCap { "butt", "round", "square" };
|
|
@@ -1710,6 +1712,18 @@ dictionary ToggleEventInit : EventInit {
|
|
|
1710
1712
|
DOMString newState = "";
|
|
1711
1713
|
};
|
|
1712
1714
|
|
|
1715
|
+
[Exposed=Window]
|
|
1716
|
+
interface CommandEvent : Event {
|
|
1717
|
+
constructor(DOMString type, optional CommandEventInit eventInitDict = {});
|
|
1718
|
+
readonly attribute Element? source;
|
|
1719
|
+
readonly attribute DOMString command;
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
dictionary CommandEventInit : EventInit {
|
|
1723
|
+
Element? source = null;
|
|
1724
|
+
DOMString command = "";
|
|
1725
|
+
};
|
|
1726
|
+
|
|
1713
1727
|
dictionary FocusOptions {
|
|
1714
1728
|
boolean preventScroll = false;
|
|
1715
1729
|
boolean focusVisible;
|
|
@@ -2195,6 +2209,7 @@ interface mixin GlobalEventHandlers {
|
|
|
2195
2209
|
attribute EventHandler onchange;
|
|
2196
2210
|
attribute EventHandler onclick;
|
|
2197
2211
|
attribute EventHandler onclose;
|
|
2212
|
+
attribute EventHandler oncommand;
|
|
2198
2213
|
attribute EventHandler oncontextlost;
|
|
2199
2214
|
attribute EventHandler oncontextmenu;
|
|
2200
2215
|
attribute EventHandler oncontextrestored;
|
package/media-capabilities.idl
CHANGED
|
@@ -90,7 +90,7 @@ dictionary MediaCapabilitiesInfo {
|
|
|
90
90
|
};
|
|
91
91
|
|
|
92
92
|
dictionary MediaCapabilitiesDecodingInfo : MediaCapabilitiesInfo {
|
|
93
|
-
required MediaKeySystemAccess keySystemAccess;
|
|
93
|
+
required MediaKeySystemAccess? keySystemAccess;
|
|
94
94
|
MediaDecodingConfiguration configuration;
|
|
95
95
|
};
|
|
96
96
|
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
partial interface CaptureController {
|
|
7
7
|
sequence<long> getSupportedZoomLevels();
|
|
8
|
-
long
|
|
8
|
+
readonly attribute long? zoomLevel;
|
|
9
9
|
Promise<undefined> increaseZoomLevel();
|
|
10
10
|
Promise<undefined> decreaseZoomLevel();
|
|
11
11
|
Promise<undefined> resetZoomLevel();
|
package/package.json
CHANGED
package/ppa.idl
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Privacy-Preserving Attribution: Level 1 (https://w3c.github.io/ppa/)
|
|
5
|
+
|
|
6
|
+
partial interface Navigator {
|
|
7
|
+
[SecureContext, SameObject] readonly attribute PrivateAttribution privateAttribution;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
enum PrivateAttributionProtocol { "dap-12-histogram", "tee-00" };
|
|
11
|
+
|
|
12
|
+
dictionary PrivateAttributionAggregationService {
|
|
13
|
+
required DOMString url;
|
|
14
|
+
required DOMString protocol;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
[SecureContext, Exposed=Window]
|
|
18
|
+
interface PrivateAttributionAggregationServices {
|
|
19
|
+
readonly setlike<PrivateAttributionAggregationService>;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
[SecureContext, Exposed=Window]
|
|
23
|
+
interface PrivateAttribution {
|
|
24
|
+
readonly attribute PrivateAttributionAggregationServices aggregationServices;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
dictionary PrivateAttributionImpressionOptions {
|
|
28
|
+
required unsigned long histogramIndex;
|
|
29
|
+
unsigned long filterData = 0;
|
|
30
|
+
required DOMString conversionSite;
|
|
31
|
+
unsigned long lifetimeDays = 30;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
[SecureContext, Exposed=Window]
|
|
35
|
+
partial interface PrivateAttribution {
|
|
36
|
+
undefined saveImpression(PrivateAttributionImpressionOptions options);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
dictionary PrivateAttributionConversionOptions {
|
|
40
|
+
required DOMString aggregationService;
|
|
41
|
+
double epsilon = 1.0;
|
|
42
|
+
|
|
43
|
+
required unsigned long histogramSize;
|
|
44
|
+
|
|
45
|
+
PrivateAttributionLogic logic = "last-touch";
|
|
46
|
+
unsigned long value = 1;
|
|
47
|
+
unsigned long maxValue = 1;
|
|
48
|
+
|
|
49
|
+
unsigned long lookbackDays;
|
|
50
|
+
unsigned long filterData;
|
|
51
|
+
sequence<DOMString> impressionSites = [];
|
|
52
|
+
sequence<DOMString> intermediarySites = [];
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
dictionary PrivateAttributionConversionResult {
|
|
56
|
+
required Uint8Array report;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
[SecureContext, Exposed=Window]
|
|
60
|
+
partial interface PrivateAttribution {
|
|
61
|
+
Promise<PrivateAttributionConversionResult> measureConversion(PrivateAttributionConversionOptions options);
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
enum PrivateAttributionLogic {
|
|
65
|
+
"last-touch",
|
|
66
|
+
};
|
package/sanitizer-api.idl
CHANGED
|
@@ -11,7 +11,7 @@ dictionary SetHTMLUnsafeOptions {
|
|
|
11
11
|
(Sanitizer or SanitizerConfig or SanitizerPresets) sanitizer = {};
|
|
12
12
|
};
|
|
13
13
|
|
|
14
|
-
[Exposed=
|
|
14
|
+
[Exposed=Window]
|
|
15
15
|
interface Sanitizer {
|
|
16
16
|
constructor(optional (SanitizerConfig or SanitizerPresets) configuration = "default");
|
|
17
17
|
|
package/speech-api.idl
CHANGED
|
@@ -19,8 +19,8 @@ interface SpeechRecognition : EventTarget {
|
|
|
19
19
|
undefined start(MediaStreamTrack audioTrack);
|
|
20
20
|
undefined stop();
|
|
21
21
|
undefined abort();
|
|
22
|
-
boolean
|
|
23
|
-
boolean
|
|
22
|
+
static Promise<boolean> availableOnDevice(DOMString lang);
|
|
23
|
+
static Promise<boolean> installOnDevice(DOMString lang);
|
|
24
24
|
|
|
25
25
|
// event methods
|
|
26
26
|
attribute EventHandler onaudiostart;
|
package/webnn.idl
CHANGED
|
@@ -9,12 +9,6 @@ interface mixin NavigatorML {
|
|
|
9
9
|
Navigator includes NavigatorML;
|
|
10
10
|
WorkerNavigator includes NavigatorML;
|
|
11
11
|
|
|
12
|
-
enum MLDeviceType {
|
|
13
|
-
"cpu",
|
|
14
|
-
"gpu",
|
|
15
|
-
"npu"
|
|
16
|
-
};
|
|
17
|
-
|
|
18
12
|
enum MLPowerPreference {
|
|
19
13
|
"default",
|
|
20
14
|
"high-performance",
|
|
@@ -22,7 +16,6 @@ enum MLPowerPreference {
|
|
|
22
16
|
};
|
|
23
17
|
|
|
24
18
|
dictionary MLContextOptions {
|
|
25
|
-
MLDeviceType deviceType = "cpu";
|
|
26
19
|
MLPowerPreference powerPreference = "default";
|
|
27
20
|
};
|
|
28
21
|
|