@webref/idl 3.39.2 → 3.40.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 +17 -0
- package/accelerometer.idl +0 -12
- package/ambient-light.idl +0 -4
- package/css-view-transitions-2.idl +7 -7
- package/dom.idl +1 -0
- package/edit-context.idl +1 -8
- package/fetch.idl +1 -1
- package/geolocation-sensor.idl +0 -10
- package/gyroscope.idl +0 -6
- package/html.idl +18 -0
- package/magnetometer.idl +0 -15
- package/managed-configuration.idl +20 -0
- package/media-source.idl +7 -7
- package/orientation-sensor.idl +0 -7
- package/package.json +1 -1
- package/proximity.idl +0 -6
- package/turtledove.idl +33 -1
- package/urlpattern.idl +1 -1
- package/web-bluetooth-scanning.idl +67 -0
- package/webcodecs.idl +3 -0
- package/webgpu.idl +5 -1
- package/webnn.idl +4 -4
- package/webrtc-encoded-transform.idl +2 -0
- package/webtransport.idl +2 -6
- package/webxr-plane-detection.idl +32 -0
package/FedCM.idl
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Federated Credential Management API (https://fedidcg.github.io/FedCM/)
|
|
5
5
|
|
|
6
|
+
enum LoginStatus {
|
|
7
|
+
"logged-in",
|
|
8
|
+
"logged-out",
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed=Window, SecureContext]
|
|
12
|
+
|
|
13
|
+
interface NavigatorLogin {
|
|
14
|
+
Promise<undefined> setStatus(LoginStatus status);
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
partial interface Navigator {
|
|
18
|
+
[SecureContext] readonly attribute NavigatorLogin login;
|
|
19
|
+
};
|
|
20
|
+
|
|
6
21
|
[Exposed=Window, SecureContext]
|
|
7
22
|
interface IdentityCredential : Credential {
|
|
8
23
|
readonly attribute USVString? token;
|
|
@@ -51,6 +66,7 @@ dictionary IdentityProviderAPIConfig {
|
|
|
51
66
|
required USVString accounts_endpoint;
|
|
52
67
|
required USVString client_metadata_endpoint;
|
|
53
68
|
required USVString id_assertion_endpoint;
|
|
69
|
+
required USVString login_url;
|
|
54
70
|
IdentityProviderBranding branding;
|
|
55
71
|
};
|
|
56
72
|
|
|
@@ -84,5 +100,6 @@ dictionary IdentityUserInfo {
|
|
|
84
100
|
};
|
|
85
101
|
|
|
86
102
|
[Exposed=Window, SecureContext] interface IdentityProvider {
|
|
103
|
+
static undefined close();
|
|
87
104
|
static Promise<sequence<IdentityUserInfo>> getUserInfo(IdentityProviderConfig config);
|
|
88
105
|
};
|
package/accelerometer.idl
CHANGED
|
@@ -26,15 +26,3 @@ interface LinearAccelerationSensor : Accelerometer {
|
|
|
26
26
|
interface GravitySensor : Accelerometer {
|
|
27
27
|
constructor(optional AccelerometerSensorOptions options = {});
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
dictionary AccelerometerReadingValues {
|
|
31
|
-
required double? x;
|
|
32
|
-
required double? y;
|
|
33
|
-
required double? z;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
dictionary LinearAccelerationReadingValues : AccelerometerReadingValues {
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
dictionary GravityReadingValues : AccelerometerReadingValues {
|
|
40
|
-
};
|
package/ambient-light.idl
CHANGED
|
@@ -4,27 +4,27 @@
|
|
|
4
4
|
// Source: CSS View Transitions Module Level 2 (https://drafts.csswg.org/css-view-transitions-2/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
|
-
interface
|
|
7
|
+
interface PageRevealEvent : Event {
|
|
8
8
|
readonly attribute ViewTransition? viewTransition;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
dictionary StartViewTransitionOptions {
|
|
12
12
|
UpdateCallback? update = null;
|
|
13
|
-
sequence<DOMString>?
|
|
13
|
+
sequence<DOMString>? type = null;
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
partial interface Document {
|
|
17
17
|
|
|
18
|
-
ViewTransition startViewTransition((UpdateCallback or StartViewTransitionOptions
|
|
18
|
+
ViewTransition startViewTransition(optional (UpdateCallback or StartViewTransitionOptions) callbackOptions = {});
|
|
19
19
|
};
|
|
20
20
|
|
|
21
21
|
partial interface CSSRule {
|
|
22
|
-
|
|
22
|
+
const unsigned short VIEW_TRANSITION_RULE = 15;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
enum
|
|
25
|
+
enum ViewTransitionNavigation { "auto", "none" };
|
|
26
26
|
[Exposed=Window]
|
|
27
27
|
interface CSSViewTransitionRule : CSSRule {
|
|
28
|
-
|
|
29
|
-
attribute
|
|
28
|
+
attribute ViewTransitionNavigation navigation;
|
|
29
|
+
attribute DOMTokenList type;
|
|
30
30
|
};
|
package/dom.idl
CHANGED
package/edit-context.idl
CHANGED
|
@@ -24,16 +24,11 @@ interface EditContext : EventTarget {
|
|
|
24
24
|
undefined updateSelectionBounds(DOMRect selectionBounds);
|
|
25
25
|
undefined updateCharacterBounds(unsigned long rangeStart, sequence<DOMRect> characterBounds);
|
|
26
26
|
|
|
27
|
-
sequence<
|
|
27
|
+
sequence<HTMLElement> attachedElements();
|
|
28
28
|
|
|
29
29
|
readonly attribute DOMString text;
|
|
30
30
|
readonly attribute unsigned long selectionStart;
|
|
31
31
|
readonly attribute unsigned long selectionEnd;
|
|
32
|
-
readonly attribute unsigned long compositionRangeStart;
|
|
33
|
-
readonly attribute unsigned long compositionRangeEnd;
|
|
34
|
-
readonly attribute boolean isComposing;
|
|
35
|
-
readonly attribute DOMRect controlBounds;
|
|
36
|
-
readonly attribute DOMRect selectionBounds;
|
|
37
32
|
readonly attribute unsigned long characterBoundsRangeStart;
|
|
38
33
|
sequence<DOMRect> characterBounds();
|
|
39
34
|
|
|
@@ -62,8 +57,6 @@ interface TextUpdateEvent : Event {
|
|
|
62
57
|
readonly attribute DOMString text;
|
|
63
58
|
readonly attribute unsigned long selectionStart;
|
|
64
59
|
readonly attribute unsigned long selectionEnd;
|
|
65
|
-
readonly attribute unsigned long compositionStart;
|
|
66
|
-
readonly attribute unsigned long compositionEnd;
|
|
67
60
|
};
|
|
68
61
|
|
|
69
62
|
enum UnderlineStyle { "none", "solid", "double", "dotted", "dashed", "wavy" };
|
package/fetch.idl
CHANGED
|
@@ -76,7 +76,7 @@ dictionary RequestInit {
|
|
|
76
76
|
any window; // can only be set to null
|
|
77
77
|
};
|
|
78
78
|
|
|
79
|
-
enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
|
|
79
|
+
enum RequestDestination { "", "audio", "audioworklet", "document", "embed", "font", "frame", "iframe", "image", "json", "manifest", "object", "paintworklet", "report", "script", "sharedworker", "style", "track", "video", "worker", "xslt" };
|
|
80
80
|
enum RequestMode { "navigate", "same-origin", "no-cors", "cors" };
|
|
81
81
|
enum RequestCredentials { "omit", "same-origin", "include" };
|
|
82
82
|
enum RequestCache { "default", "no-store", "reload", "no-cache", "force-cache", "only-if-cached" };
|
package/geolocation-sensor.idl
CHANGED
|
@@ -35,13 +35,3 @@ dictionary GeolocationSensorReading {
|
|
|
35
35
|
double? heading;
|
|
36
36
|
double? speed;
|
|
37
37
|
};
|
|
38
|
-
|
|
39
|
-
dictionary GeolocationReadingValues {
|
|
40
|
-
required double? latitude;
|
|
41
|
-
required double? longitude;
|
|
42
|
-
required double? altitude;
|
|
43
|
-
required double? accuracy;
|
|
44
|
-
required double? altitudeAccuracy;
|
|
45
|
-
required double? heading;
|
|
46
|
-
required double? speed;
|
|
47
|
-
};
|
package/gyroscope.idl
CHANGED
|
@@ -16,9 +16,3 @@ enum GyroscopeLocalCoordinateSystem { "device", "screen" };
|
|
|
16
16
|
dictionary GyroscopeSensorOptions : SensorOptions {
|
|
17
17
|
GyroscopeLocalCoordinateSystem referenceFrame = "device";
|
|
18
18
|
};
|
|
19
|
-
|
|
20
|
-
dictionary GyroscopeReadingValues {
|
|
21
|
-
required double? x;
|
|
22
|
-
required double? y;
|
|
23
|
-
required double? z;
|
|
24
|
-
};
|
package/html.idl
CHANGED
|
@@ -1239,6 +1239,8 @@ interface HTMLTemplateElement : HTMLElement {
|
|
|
1239
1239
|
[HTMLConstructor] constructor();
|
|
1240
1240
|
|
|
1241
1241
|
readonly attribute DocumentFragment content;
|
|
1242
|
+
[CEReactions] attribute DOMString shadowRootMode;
|
|
1243
|
+
[CEReactions] attribute boolean shadowRootDelegatesFocus;
|
|
1242
1244
|
};
|
|
1243
1245
|
|
|
1244
1246
|
[Exposed=Window]
|
|
@@ -1689,6 +1691,22 @@ interface mixin ElementContentEditable {
|
|
|
1689
1691
|
[CEReactions] attribute DOMString inputMode;
|
|
1690
1692
|
};
|
|
1691
1693
|
|
|
1694
|
+
[Exposed=Window]
|
|
1695
|
+
interface CloseWatcher : EventTarget {
|
|
1696
|
+
constructor(optional CloseWatcherOptions options = {});
|
|
1697
|
+
|
|
1698
|
+
undefined requestClose();
|
|
1699
|
+
undefined close();
|
|
1700
|
+
undefined destroy();
|
|
1701
|
+
|
|
1702
|
+
attribute EventHandler oncancel;
|
|
1703
|
+
attribute EventHandler onclose;
|
|
1704
|
+
};
|
|
1705
|
+
|
|
1706
|
+
dictionary CloseWatcherOptions {
|
|
1707
|
+
AbortSignal signal;
|
|
1708
|
+
};
|
|
1709
|
+
|
|
1692
1710
|
[Exposed=Window]
|
|
1693
1711
|
interface DataTransfer {
|
|
1694
1712
|
constructor();
|
package/magnetometer.idl
CHANGED
|
@@ -29,18 +29,3 @@ interface UncalibratedMagnetometer : Sensor {
|
|
|
29
29
|
readonly attribute double? yBias;
|
|
30
30
|
readonly attribute double? zBias;
|
|
31
31
|
};
|
|
32
|
-
|
|
33
|
-
dictionary MagnetometerReadingValues {
|
|
34
|
-
required double? x;
|
|
35
|
-
required double? y;
|
|
36
|
-
required double? z;
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
dictionary UncalibratedMagnetometerReadingValues {
|
|
40
|
-
required double? x;
|
|
41
|
-
required double? y;
|
|
42
|
-
required double? z;
|
|
43
|
-
required double? xBias;
|
|
44
|
-
required double? yBias;
|
|
45
|
-
required double? zBias;
|
|
46
|
-
};
|
|
@@ -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: Managed Configuration API (https://wicg.github.io/WebApiDevice/managed_config/)
|
|
5
|
+
|
|
6
|
+
[
|
|
7
|
+
SecureContext
|
|
8
|
+
] partial interface Navigator {
|
|
9
|
+
[SecureContext, SameObject]
|
|
10
|
+
readonly attribute NavigatorManagedData managed;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
[
|
|
14
|
+
SecureContext,
|
|
15
|
+
Exposed=Window
|
|
16
|
+
] interface NavigatorManagedData : EventTarget {
|
|
17
|
+
// Managed Configuration API.
|
|
18
|
+
Promise<record<DOMString, object>> getManagedConfiguration(sequence<DOMString> keys);
|
|
19
|
+
attribute EventHandler onmanagedconfigurationchange;
|
|
20
|
+
};
|
package/media-source.idl
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
// Source: Media Source Extensions™ (https://w3c.github.io/media-source/)
|
|
5
5
|
|
|
6
6
|
enum ReadyState {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
"closed",
|
|
8
|
+
"open",
|
|
9
|
+
"ended",
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
enum EndOfStreamError {
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
"network",
|
|
14
|
+
"decode",
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
[Exposed=(Window,DedicatedWorker)]
|
|
@@ -41,8 +41,8 @@ interface MediaSource : EventTarget {
|
|
|
41
41
|
interface MediaSourceHandle {};
|
|
42
42
|
|
|
43
43
|
enum AppendMode {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
"segments",
|
|
45
|
+
"sequence",
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
[Exposed=(Window,DedicatedWorker)]
|
package/orientation-sensor.idl
CHANGED
|
@@ -26,10 +26,3 @@ interface AbsoluteOrientationSensor : OrientationSensor {
|
|
|
26
26
|
interface RelativeOrientationSensor : OrientationSensor {
|
|
27
27
|
constructor(optional OrientationSensorOptions sensorOptions = {});
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
dictionary AbsoluteOrientationReadingValues {
|
|
31
|
-
required FrozenArray<double>? quaternion;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
dictionary RelativeOrientationReadingValues : AbsoluteOrientationReadingValues {
|
|
35
|
-
};
|
package/package.json
CHANGED
package/proximity.idl
CHANGED
package/turtledove.idl
CHANGED
|
@@ -39,6 +39,7 @@ dictionary GenerateBidInterestGroup {
|
|
|
39
39
|
dictionary AuctionAdInterestGroup : GenerateBidInterestGroup {
|
|
40
40
|
double priority = 0.0;
|
|
41
41
|
record<DOMString, double> prioritySignalsOverrides;
|
|
42
|
+
DOMString additionalBidKey;
|
|
42
43
|
};
|
|
43
44
|
|
|
44
45
|
[SecureContext]
|
|
@@ -51,6 +52,12 @@ dictionary AuctionAdInterestGroupKey {
|
|
|
51
52
|
required USVString name;
|
|
52
53
|
};
|
|
53
54
|
|
|
55
|
+
[SecureContext]
|
|
56
|
+
partial interface Navigator {
|
|
57
|
+
Promise<undefined> clearOriginJoinedAdInterestGroups(
|
|
58
|
+
USVString owner, optional sequence<USVString> interestGroupsToKeep = []);
|
|
59
|
+
};
|
|
60
|
+
|
|
54
61
|
[SecureContext]
|
|
55
62
|
partial interface Navigator {
|
|
56
63
|
Promise<(USVString or FencedFrameConfig)?> runAdAuction(AuctionAdConfig config);
|
|
@@ -63,21 +70,29 @@ dictionary AuctionAdConfig {
|
|
|
63
70
|
sequence<USVString> interestGroupBuyers;
|
|
64
71
|
Promise<any> auctionSignals;
|
|
65
72
|
Promise<any> sellerSignals;
|
|
66
|
-
Promise<
|
|
73
|
+
Promise<DOMString> directFromSellerSignalsHeaderAdSlot;
|
|
67
74
|
unsigned long long sellerTimeout;
|
|
68
75
|
unsigned short sellerExperimentGroupId;
|
|
69
76
|
USVString sellerCurrency;
|
|
70
77
|
Promise<record<USVString, any>> perBuyerSignals;
|
|
71
78
|
Promise<record<USVString, unsigned long long>> perBuyerTimeouts;
|
|
79
|
+
Promise<record<USVString, unsigned long long>> perBuyerCumulativeTimeouts;
|
|
72
80
|
record<USVString, unsigned short> perBuyerGroupLimits;
|
|
73
81
|
record<USVString, unsigned short> perBuyerExperimentGroupIds;
|
|
74
82
|
record<USVString, record<USVString, double>> perBuyerPrioritySignals;
|
|
75
83
|
Promise<record<USVString, USVString>> perBuyerCurrencies;
|
|
76
84
|
sequence<AuctionAdConfig> componentAuctions = [];
|
|
85
|
+
Promise<undefined> additionalBids;
|
|
86
|
+
DOMString auctionNonce;
|
|
77
87
|
AbortSignal? signal;
|
|
78
88
|
Promise<boolean> resolveToConfig;
|
|
79
89
|
};
|
|
80
90
|
|
|
91
|
+
[SecureContext]
|
|
92
|
+
partial interface Navigator {
|
|
93
|
+
Promise<DOMString> createAuctionNonce();
|
|
94
|
+
};
|
|
95
|
+
|
|
81
96
|
[Exposed=InterestGroupScriptRunnerGlobalScope]
|
|
82
97
|
interface InterestGroupScriptRunnerGlobalScope {
|
|
83
98
|
};
|
|
@@ -131,6 +146,10 @@ partial interface Navigator {
|
|
|
131
146
|
undefined updateAdInterestGroups();
|
|
132
147
|
};
|
|
133
148
|
|
|
149
|
+
partial dictionary RequestInit {
|
|
150
|
+
boolean adAuctionHeaders;
|
|
151
|
+
};
|
|
152
|
+
|
|
134
153
|
dictionary PreviousWin {
|
|
135
154
|
required long long timeDelta;
|
|
136
155
|
required DOMString adJSON;
|
|
@@ -191,6 +210,19 @@ dictionary ReportWinBrowserSignals : ReportingBrowserSignals {
|
|
|
191
210
|
DOMString buyerReportingId;
|
|
192
211
|
unsigned short modelingSignals;
|
|
193
212
|
unsigned long dataVersion;
|
|
213
|
+
KAnonStatus kAnonStatus;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
enum KAnonStatus { "passedAndEnforced", "passedNotEnforced", "belowThreshold", "notCalculated" };
|
|
217
|
+
|
|
218
|
+
dictionary DirectFromSellerSignalsForBuyer {
|
|
219
|
+
any auctionSignals = null;
|
|
220
|
+
any perBuyerSignals = null;
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
dictionary DirectFromSellerSignalsForSeller {
|
|
224
|
+
any auctionSignals = null;
|
|
225
|
+
any sellerSignals = null;
|
|
194
226
|
};
|
|
195
227
|
|
|
196
228
|
dictionary ScoreAdOutput {
|
package/urlpattern.idl
CHANGED
|
@@ -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:
|
|
4
|
+
// Source: URL Pattern Standard (https://urlpattern.spec.whatwg.org/)
|
|
5
5
|
|
|
6
6
|
typedef (USVString or URLPatternInit) URLPatternInput;
|
|
7
7
|
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Web Bluetooth Scanning (https://webbluetoothcg.github.io/web-bluetooth/scanning.html)
|
|
5
|
+
|
|
6
|
+
dictionary BluetoothLEScanOptions {
|
|
7
|
+
sequence<BluetoothLEScanFilterInit> filters;
|
|
8
|
+
boolean keepRepeatedDevices = false;
|
|
9
|
+
boolean acceptAllAdvertisements = false;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
partial interface Bluetooth {
|
|
13
|
+
[SecureContext]
|
|
14
|
+
Promise<BluetoothLEScan> requestLEScan(optional BluetoothLEScanOptions options = {});
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
[Exposed=Window, SecureContext]
|
|
18
|
+
interface BluetoothDataFilter {
|
|
19
|
+
constructor(optional BluetoothDataFilterInit init = {});
|
|
20
|
+
readonly attribute ArrayBuffer dataPrefix;
|
|
21
|
+
readonly attribute ArrayBuffer mask;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
[Exposed=Window, SecureContext]
|
|
25
|
+
interface BluetoothManufacturerDataFilter {
|
|
26
|
+
constructor(optional object init);
|
|
27
|
+
readonly maplike<unsigned short, BluetoothDataFilter>;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
[Exposed=Window, SecureContext]
|
|
31
|
+
interface BluetoothServiceDataFilter {
|
|
32
|
+
constructor(optional object init);
|
|
33
|
+
readonly maplike<UUID, BluetoothDataFilter>;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
[Exposed=Window, SecureContext]
|
|
37
|
+
interface BluetoothLEScanFilter {
|
|
38
|
+
constructor(optional BluetoothLEScanFilterInit init = {});
|
|
39
|
+
readonly attribute DOMString? name;
|
|
40
|
+
readonly attribute DOMString? namePrefix;
|
|
41
|
+
readonly attribute FrozenArray<UUID> services;
|
|
42
|
+
readonly attribute BluetoothManufacturerDataFilter manufacturerData;
|
|
43
|
+
readonly attribute BluetoothServiceDataFilter serviceData;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
[Exposed=Window, SecureContext]
|
|
47
|
+
interface BluetoothLEScan {
|
|
48
|
+
readonly attribute FrozenArray<BluetoothLEScanFilter> filters;
|
|
49
|
+
readonly attribute boolean keepRepeatedDevices;
|
|
50
|
+
readonly attribute boolean acceptAllAdvertisements;
|
|
51
|
+
|
|
52
|
+
readonly attribute boolean active;
|
|
53
|
+
|
|
54
|
+
undefined stop();
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
dictionary BluetoothLEScanPermissionDescriptor : PermissionDescriptor {
|
|
58
|
+
// These match BluetoothLEScanOptions.
|
|
59
|
+
sequence<BluetoothLEScanFilterInit> filters;
|
|
60
|
+
boolean keepRepeatedDevices = false;
|
|
61
|
+
boolean acceptAllAdvertisements = false;
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
[Exposed=Window, SecureContext]
|
|
65
|
+
interface BluetoothLEScanPermissionResult : PermissionStatus {
|
|
66
|
+
attribute FrozenArray<BluetoothLEScan> scans;
|
|
67
|
+
};
|
package/webcodecs.idl
CHANGED
|
@@ -177,6 +177,7 @@ dictionary VideoEncoderConfig {
|
|
|
177
177
|
DOMString scalabilityMode;
|
|
178
178
|
VideoEncoderBitrateMode bitrateMode = "variable";
|
|
179
179
|
LatencyMode latencyMode = "quality";
|
|
180
|
+
DOMString contentHint;
|
|
180
181
|
};
|
|
181
182
|
|
|
182
183
|
enum HardwareAcceleration {
|
|
@@ -229,6 +230,7 @@ dictionary EncodedAudioChunkInit {
|
|
|
229
230
|
[EnforceRange] required long long timestamp; // microseconds
|
|
230
231
|
[EnforceRange] unsigned long long duration; // microseconds
|
|
231
232
|
required BufferSource data;
|
|
233
|
+
sequence<ArrayBuffer> transfer = [];
|
|
232
234
|
};
|
|
233
235
|
|
|
234
236
|
enum EncodedAudioChunkType {
|
|
@@ -252,6 +254,7 @@ dictionary EncodedVideoChunkInit {
|
|
|
252
254
|
[EnforceRange] required long long timestamp; // microseconds
|
|
253
255
|
[EnforceRange] unsigned long long duration; // microseconds
|
|
254
256
|
required AllowSharedBufferSource data;
|
|
257
|
+
sequence<ArrayBuffer> transfer = [];
|
|
255
258
|
};
|
|
256
259
|
|
|
257
260
|
enum EncodedVideoChunkType {
|
package/webgpu.idl
CHANGED
|
@@ -520,6 +520,8 @@ dictionary GPUTextureBindingLayout {
|
|
|
520
520
|
|
|
521
521
|
enum GPUStorageTextureAccess {
|
|
522
522
|
"write-only",
|
|
523
|
+
"read-only",
|
|
524
|
+
"read-write",
|
|
523
525
|
};
|
|
524
526
|
|
|
525
527
|
dictionary GPUStorageTextureBindingLayout {
|
|
@@ -575,10 +577,11 @@ dictionary GPUShaderModuleDescriptor
|
|
|
575
577
|
: GPUObjectDescriptorBase {
|
|
576
578
|
required USVString code;
|
|
577
579
|
object sourceMap;
|
|
578
|
-
|
|
580
|
+
sequence<GPUShaderModuleCompilationHint> compilationHints = [];
|
|
579
581
|
};
|
|
580
582
|
|
|
581
583
|
dictionary GPUShaderModuleCompilationHint {
|
|
584
|
+
required USVString entryPoint;
|
|
582
585
|
(GPUPipelineLayout or GPUAutoLayoutMode) layout;
|
|
583
586
|
};
|
|
584
587
|
|
|
@@ -1036,6 +1039,7 @@ dictionary GPURenderPassDescriptor
|
|
|
1036
1039
|
|
|
1037
1040
|
dictionary GPURenderPassColorAttachment {
|
|
1038
1041
|
required GPUTextureView view;
|
|
1042
|
+
GPUIntegerCoordinate depthSlice;
|
|
1039
1043
|
GPUTextureView resolveTarget;
|
|
1040
1044
|
|
|
1041
1045
|
GPUColor clearValue;
|
package/webnn.idl
CHANGED
|
@@ -44,7 +44,7 @@ enum MLInputOperandLayout {
|
|
|
44
44
|
"nhwc"
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
enum
|
|
47
|
+
enum MLOperandDataType {
|
|
48
48
|
"float32",
|
|
49
49
|
"float16",
|
|
50
50
|
"int32",
|
|
@@ -54,8 +54,8 @@ enum MLOperandType {
|
|
|
54
54
|
};
|
|
55
55
|
|
|
56
56
|
dictionary MLOperandDescriptor {
|
|
57
|
-
// The operand type.
|
|
58
|
-
required
|
|
57
|
+
// The operand data type.
|
|
58
|
+
required MLOperandDataType dataType;
|
|
59
59
|
|
|
60
60
|
// The dimensions field is only required for tensor operands.
|
|
61
61
|
sequence<unsigned long> dimensions;
|
|
@@ -134,7 +134,7 @@ interface MLGraphBuilder {
|
|
|
134
134
|
MLOperand constant(MLOperandDescriptor descriptor, MLBufferView bufferView);
|
|
135
135
|
|
|
136
136
|
// Create a single-value operand from the specified number of the specified type.
|
|
137
|
-
MLOperand constant(double value, optional
|
|
137
|
+
MLOperand constant(double value, optional MLOperandDataType dataType = "float32");
|
|
138
138
|
|
|
139
139
|
// Compile the graph up to the specified output operands asynchronously.
|
|
140
140
|
Promise<MLGraph> build(MLNamedOperands outputs);
|
|
@@ -75,6 +75,7 @@ dictionary RTCEncodedVideoFrameMetadata {
|
|
|
75
75
|
sequence<unsigned long> contributingSources;
|
|
76
76
|
long long timestamp; // microseconds
|
|
77
77
|
unsigned long rtpTimestamp;
|
|
78
|
+
DOMString mimeType;
|
|
78
79
|
};
|
|
79
80
|
|
|
80
81
|
// New interfaces to define encoded video and audio frames. Will eventually
|
|
@@ -92,6 +93,7 @@ dictionary RTCEncodedAudioFrameMetadata {
|
|
|
92
93
|
sequence<unsigned long> contributingSources;
|
|
93
94
|
short sequenceNumber;
|
|
94
95
|
unsigned long rtpTimestamp;
|
|
96
|
+
DOMString mimeType;
|
|
95
97
|
};
|
|
96
98
|
|
|
97
99
|
[Exposed=(Window,DedicatedWorker), Serializable]
|
package/webtransport.idl
CHANGED
|
@@ -9,8 +9,8 @@ interface WebTransportDatagramDuplexStream {
|
|
|
9
9
|
readonly attribute WritableStream writable;
|
|
10
10
|
|
|
11
11
|
readonly attribute unsigned long maxDatagramSize;
|
|
12
|
-
attribute unrestricted double incomingMaxAge;
|
|
13
|
-
attribute unrestricted double outgoingMaxAge;
|
|
12
|
+
attribute unrestricted double? incomingMaxAge;
|
|
13
|
+
attribute unrestricted double? outgoingMaxAge;
|
|
14
14
|
attribute unrestricted double incomingHighWaterMark;
|
|
15
15
|
attribute unrestricted double outgoingHighWaterMark;
|
|
16
16
|
};
|
|
@@ -76,7 +76,6 @@ dictionary WebTransportSendStreamOptions {
|
|
|
76
76
|
};
|
|
77
77
|
|
|
78
78
|
dictionary WebTransportConnectionStats {
|
|
79
|
-
DOMHighResTimeStamp timestamp;
|
|
80
79
|
unsigned long long bytesSent;
|
|
81
80
|
unsigned long long packetsSent;
|
|
82
81
|
unsigned long long bytesLost;
|
|
@@ -91,7 +90,6 @@ dictionary WebTransportConnectionStats {
|
|
|
91
90
|
};
|
|
92
91
|
|
|
93
92
|
dictionary WebTransportDatagramStats {
|
|
94
|
-
DOMHighResTimeStamp timestamp;
|
|
95
93
|
unsigned long long expiredOutgoing;
|
|
96
94
|
unsigned long long droppedIncoming;
|
|
97
95
|
unsigned long long lostOutgoing;
|
|
@@ -105,7 +103,6 @@ interface WebTransportSendStream : WritableStream {
|
|
|
105
103
|
};
|
|
106
104
|
|
|
107
105
|
dictionary WebTransportSendStreamStats {
|
|
108
|
-
DOMHighResTimeStamp timestamp;
|
|
109
106
|
unsigned long long bytesWritten;
|
|
110
107
|
unsigned long long bytesSent;
|
|
111
108
|
unsigned long long bytesAcknowledged;
|
|
@@ -122,7 +119,6 @@ interface WebTransportReceiveStream : ReadableStream {
|
|
|
122
119
|
};
|
|
123
120
|
|
|
124
121
|
dictionary WebTransportReceiveStreamStats {
|
|
125
|
-
DOMHighResTimeStamp timestamp;
|
|
126
122
|
unsigned long long bytesReceived;
|
|
127
123
|
unsigned long long bytesRead;
|
|
128
124
|
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: WebXR Plane Detection Module (https://immersive-web.github.io/real-world-geometry/plane-detection.html)
|
|
5
|
+
|
|
6
|
+
enum XRPlaneOrientation {
|
|
7
|
+
"horizontal",
|
|
8
|
+
"vertical"
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
[Exposed=Window]
|
|
12
|
+
interface XRPlane {
|
|
13
|
+
[SameObject] readonly attribute XRSpace planeSpace;
|
|
14
|
+
|
|
15
|
+
readonly attribute FrozenArray<DOMPointReadOnly> polygon;
|
|
16
|
+
readonly attribute XRPlaneOrientation? orientation;
|
|
17
|
+
readonly attribute DOMHighResTimeStamp lastChangedTime;
|
|
18
|
+
readonly attribute DOMString? semanticLabel;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
[Exposed=Window]
|
|
22
|
+
interface XRPlaneSet {
|
|
23
|
+
readonly setlike<XRPlane>;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
partial interface XRFrame {
|
|
27
|
+
readonly attribute XRPlaneSet detectedPlanes;
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
partial interface XRSession {
|
|
31
|
+
Promise<undefined> initiateRoomCapture();
|
|
32
|
+
};
|