@webref/idl 3.59.4 → 3.60.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 +1 -1
- package/gamepad-extensions.idl +0 -9
- package/gamepad.idl +8 -0
- package/media-capabilities.idl +1 -1
- package/mediacapture-surface-control.idl +1 -1
- package/package.json +1 -1
- package/ppa.idl +66 -0
- 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/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
|
+
required unsigned long filterData;
|
|
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/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
|
|