@webref/idl 3.37.1 → 3.38.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/cookie-store.idl +3 -0
- package/edit-context.idl +0 -6
- package/fenced-frame.idl +1 -0
- package/html.idl +4 -0
- package/mediacapture-streams.idl +1 -5
- package/package.json +2 -2
- package/private-network-access.idl +15 -0
- package/real-world-meshing.idl +1 -1
- package/serial.idl +3 -0
- package/shared-storage.idl +6 -0
- package/turtledove.idl +2 -1
- package/webauthn.idl +4 -0
- package/webcodecs-hevc-codec-registration.idl +8 -0
- package/webcodecs.idl +1 -1
- package/webgpu.idl +3 -0
- package/webhid.idl +1 -1
- package/webrtc-stats.idl +3 -1
- package/close-watcher.idl +0 -19
- package/gpc-spec.idl +0 -10
package/FedCM.idl
CHANGED
|
@@ -20,7 +20,7 @@ enum IdentityCredentialRequestOptionsContext {
|
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
dictionary IdentityCredentialRequestOptions {
|
|
23
|
-
sequence<IdentityProviderConfig> providers;
|
|
23
|
+
required sequence<IdentityProviderConfig> providers;
|
|
24
24
|
IdentityCredentialRequestOptionsContext context = "signin";
|
|
25
25
|
};
|
|
26
26
|
|
package/cookie-store.idl
CHANGED
|
@@ -40,12 +40,14 @@ dictionary CookieInit {
|
|
|
40
40
|
USVString? domain = null;
|
|
41
41
|
USVString path = "/";
|
|
42
42
|
CookieSameSite sameSite = "strict";
|
|
43
|
+
boolean partitioned = false;
|
|
43
44
|
};
|
|
44
45
|
|
|
45
46
|
dictionary CookieStoreDeleteOptions {
|
|
46
47
|
required USVString name;
|
|
47
48
|
USVString? domain = null;
|
|
48
49
|
USVString path = "/";
|
|
50
|
+
boolean partitioned = false;
|
|
49
51
|
};
|
|
50
52
|
|
|
51
53
|
dictionary CookieListItem {
|
|
@@ -56,6 +58,7 @@ dictionary CookieListItem {
|
|
|
56
58
|
DOMHighResTimeStamp? expires;
|
|
57
59
|
boolean secure;
|
|
58
60
|
CookieSameSite sameSite;
|
|
61
|
+
boolean partitioned;
|
|
59
62
|
};
|
|
60
63
|
|
|
61
64
|
typedef sequence<CookieListItem> CookieList;
|
package/edit-context.idl
CHANGED
|
@@ -69,11 +69,8 @@ interface TextUpdateEvent : Event {
|
|
|
69
69
|
dictionary TextFormatInit {
|
|
70
70
|
unsigned long rangeStart;
|
|
71
71
|
unsigned long rangeEnd;
|
|
72
|
-
DOMString textColor;
|
|
73
|
-
DOMString backgroundColor;
|
|
74
72
|
DOMString underlineStyle;
|
|
75
73
|
DOMString underlineThickness;
|
|
76
|
-
DOMString underlineColor;
|
|
77
74
|
};
|
|
78
75
|
|
|
79
76
|
[Exposed=Window]
|
|
@@ -81,11 +78,8 @@ interface TextFormat {
|
|
|
81
78
|
constructor(optional TextFormatInit options = {});
|
|
82
79
|
readonly attribute unsigned long rangeStart;
|
|
83
80
|
readonly attribute unsigned long rangeEnd;
|
|
84
|
-
readonly attribute DOMString textColor;
|
|
85
|
-
readonly attribute DOMString backgroundColor;
|
|
86
81
|
readonly attribute DOMString underlineStyle;
|
|
87
82
|
readonly attribute DOMString underlineThickness;
|
|
88
|
-
readonly attribute DOMString underlineColor;
|
|
89
83
|
};
|
|
90
84
|
|
|
91
85
|
dictionary TextFormatUpdateEventInit : EventInit {
|
package/fenced-frame.idl
CHANGED
package/html.idl
CHANGED
|
@@ -1934,6 +1934,7 @@ interface NavigateEvent : Event {
|
|
|
1934
1934
|
readonly attribute FormData? formData;
|
|
1935
1935
|
readonly attribute DOMString? downloadRequest;
|
|
1936
1936
|
readonly attribute any info;
|
|
1937
|
+
readonly attribute boolean hasUAVisualTransition;
|
|
1937
1938
|
|
|
1938
1939
|
undefined intercept(optional NavigationInterceptOptions options = {});
|
|
1939
1940
|
undefined scroll();
|
|
@@ -1949,6 +1950,7 @@ dictionary NavigateEventInit : EventInit {
|
|
|
1949
1950
|
FormData? formData = null;
|
|
1950
1951
|
DOMString? downloadRequest = null;
|
|
1951
1952
|
any info;
|
|
1953
|
+
boolean hasUAVisualTransition = false;
|
|
1952
1954
|
};
|
|
1953
1955
|
|
|
1954
1956
|
dictionary NavigationInterceptOptions {
|
|
@@ -1998,10 +2000,12 @@ interface PopStateEvent : Event {
|
|
|
1998
2000
|
constructor(DOMString type, optional PopStateEventInit eventInitDict = {});
|
|
1999
2001
|
|
|
2000
2002
|
readonly attribute any state;
|
|
2003
|
+
readonly attribute boolean hasUAVisualTransition;
|
|
2001
2004
|
};
|
|
2002
2005
|
|
|
2003
2006
|
dictionary PopStateEventInit : EventInit {
|
|
2004
2007
|
any state = null;
|
|
2008
|
+
boolean hasUAVisualTransition = false;
|
|
2005
2009
|
};
|
|
2006
2010
|
|
|
2007
2011
|
[Exposed=Window]
|
package/mediacapture-streams.idl
CHANGED
|
@@ -239,10 +239,6 @@ typedef (DOMString or
|
|
|
239
239
|
sequence<DOMString> or
|
|
240
240
|
ConstrainDOMStringParameters) ConstrainDOMString;
|
|
241
241
|
|
|
242
|
-
dictionary
|
|
243
|
-
DOMString deviceId;
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
dictionary CameraDevicePermissionDescriptor : DevicePermissionDescriptor {
|
|
242
|
+
dictionary CameraDevicePermissionDescriptor : PermissionDescriptor {
|
|
247
243
|
boolean panTiltZoom = false;
|
|
248
244
|
};
|
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.
|
|
4
|
+
"version": "3.38.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/w3c/webref.git"
|
|
@@ -12,6 +12,6 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"main": "index.js",
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"webidl2": "^24.4.
|
|
15
|
+
"webidl2": "^24.4.1"
|
|
16
16
|
}
|
|
17
17
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Private Network Access (https://wicg.github.io/private-network-access/)
|
|
5
|
+
|
|
6
|
+
dictionary PrivateNetworkAccessPermissionDescriptor
|
|
7
|
+
: PermissionDescriptor {
|
|
8
|
+
DOMString id;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
partial dictionary RequestInit {
|
|
12
|
+
RequestTargetAddressSpace targetAddressSpace;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
enum RequestTargetAddressSpace { "private", "local" };
|
package/real-world-meshing.idl
CHANGED
package/serial.idl
CHANGED
|
@@ -23,11 +23,13 @@ interface Serial : EventTarget {
|
|
|
23
23
|
|
|
24
24
|
dictionary SerialPortRequestOptions {
|
|
25
25
|
sequence<SerialPortFilter> filters;
|
|
26
|
+
sequence<BluetoothServiceUUID> allowedBluetoothServiceClassIds;
|
|
26
27
|
};
|
|
27
28
|
|
|
28
29
|
dictionary SerialPortFilter {
|
|
29
30
|
unsigned short usbVendorId;
|
|
30
31
|
unsigned short usbProductId;
|
|
32
|
+
BluetoothServiceUUID bluetoothServiceClassId;
|
|
31
33
|
};
|
|
32
34
|
|
|
33
35
|
[Exposed=(DedicatedWorker,Window), SecureContext]
|
|
@@ -49,6 +51,7 @@ interface SerialPort : EventTarget {
|
|
|
49
51
|
dictionary SerialPortInfo {
|
|
50
52
|
unsigned short usbVendorId;
|
|
51
53
|
unsigned short usbProductId;
|
|
54
|
+
BluetoothServiceUUID bluetoothServiceClassId;
|
|
52
55
|
};
|
|
53
56
|
|
|
54
57
|
dictionary SerialOptions {
|
package/shared-storage.idl
CHANGED
|
@@ -11,6 +11,8 @@ interface SharedStorageWorklet : Worklet {
|
|
|
11
11
|
interface SharedStorageWorkletGlobalScope : WorkletGlobalScope {
|
|
12
12
|
undefined register(DOMString name,
|
|
13
13
|
SharedStorageOperationConstructor operationCtor);
|
|
14
|
+
|
|
15
|
+
readonly attribute WorkletSharedStorage sharedStorage;
|
|
14
16
|
};
|
|
15
17
|
|
|
16
18
|
callback SharedStorageOperationConstructor =
|
|
@@ -70,6 +72,10 @@ dictionary SharedStorageUrlWithMetadata {
|
|
|
70
72
|
object reportingMetadata;
|
|
71
73
|
};
|
|
72
74
|
|
|
75
|
+
partial interface Window {
|
|
76
|
+
[SecureContext] readonly attribute WindowSharedStorage? sharedStorage;
|
|
77
|
+
};
|
|
78
|
+
|
|
73
79
|
[Exposed=(SharedStorageWorklet)]
|
|
74
80
|
interface WorkletSharedStorage : SharedStorage {
|
|
75
81
|
Promise<DOMString> get(DOMString key);
|
package/turtledove.idl
CHANGED
|
@@ -87,7 +87,7 @@ interface InterestGroupBiddingScriptRunnerGlobalScope
|
|
|
87
87
|
: InterestGroupScriptRunnerGlobalScope {
|
|
88
88
|
boolean setBid(optional GenerateBidOutput generateBidOutput = {});
|
|
89
89
|
undefined setPriority(double priority);
|
|
90
|
-
undefined setPrioritySignalsOverride(DOMString key, double priority);
|
|
90
|
+
undefined setPrioritySignalsOverride(DOMString key, optional double? priority);
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
dictionary AdRender {
|
|
@@ -138,6 +138,7 @@ dictionary BiddingBrowserSignals {
|
|
|
138
138
|
required USVString seller;
|
|
139
139
|
required long joinCount;
|
|
140
140
|
required long bidCount;
|
|
141
|
+
required long recency;
|
|
141
142
|
|
|
142
143
|
USVString topLevelSeller;
|
|
143
144
|
sequence<PreviousWin> prevWinsMs;
|
package/webauthn.idl
CHANGED
|
@@ -56,6 +56,7 @@ dictionary AuthenticatorAssertionResponseJSON {
|
|
|
56
56
|
required Base64URLString authenticatorData;
|
|
57
57
|
required Base64URLString signature;
|
|
58
58
|
Base64URLString userHandle;
|
|
59
|
+
Base64URLString attestationObject;
|
|
59
60
|
};
|
|
60
61
|
|
|
61
62
|
dictionary AuthenticationExtensionsClientOutputsJSON {
|
|
@@ -90,6 +91,7 @@ dictionary PublicKeyCredentialCreationOptionsJSON {
|
|
|
90
91
|
sequence<PublicKeyCredentialDescriptorJSON> excludeCredentials = [];
|
|
91
92
|
AuthenticatorSelectionCriteria authenticatorSelection;
|
|
92
93
|
DOMString attestation = "none";
|
|
94
|
+
sequence<DOMString> attestationFormats = [];
|
|
93
95
|
AuthenticationExtensionsClientInputsJSON extensions;
|
|
94
96
|
};
|
|
95
97
|
|
|
@@ -118,6 +120,8 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
|
|
|
118
120
|
DOMString rpId;
|
|
119
121
|
sequence<PublicKeyCredentialDescriptorJSON> allowCredentials = [];
|
|
120
122
|
DOMString userVerification = "preferred";
|
|
123
|
+
DOMString attestation = "none";
|
|
124
|
+
sequence<DOMString> attestationFormats = [];
|
|
121
125
|
AuthenticationExtensionsClientInputsJSON extensions;
|
|
122
126
|
};
|
|
123
127
|
|
package/webcodecs.idl
CHANGED
|
@@ -161,7 +161,7 @@ dictionary AudioEncoderConfig {
|
|
|
161
161
|
[EnforceRange] unsigned long sampleRate;
|
|
162
162
|
[EnforceRange] unsigned long numberOfChannels;
|
|
163
163
|
[EnforceRange] unsigned long long bitrate;
|
|
164
|
-
BitrateMode bitrateMode;
|
|
164
|
+
BitrateMode bitrateMode = "variable";
|
|
165
165
|
};
|
|
166
166
|
|
|
167
167
|
dictionary VideoEncoderConfig {
|
package/webgpu.idl
CHANGED
|
@@ -307,6 +307,7 @@ enum GPUTextureFormat {
|
|
|
307
307
|
"bgra8unorm-srgb",
|
|
308
308
|
// Packed 32-bit formats
|
|
309
309
|
"rgb9e5ufloat",
|
|
310
|
+
"rgb10a2uint",
|
|
310
311
|
"rgb10a2unorm",
|
|
311
312
|
"rg11b10ufloat",
|
|
312
313
|
|
|
@@ -877,6 +878,8 @@ dictionary GPUImageCopyTextureTagged
|
|
|
877
878
|
};
|
|
878
879
|
|
|
879
880
|
typedef (ImageBitmap or
|
|
881
|
+
ImageData or
|
|
882
|
+
HTMLImageElement or
|
|
880
883
|
HTMLVideoElement or
|
|
881
884
|
VideoFrame or
|
|
882
885
|
HTMLCanvasElement or
|
package/webhid.idl
CHANGED
|
@@ -17,7 +17,7 @@ interface HID : EventTarget {
|
|
|
17
17
|
attribute EventHandler onconnect;
|
|
18
18
|
attribute EventHandler ondisconnect;
|
|
19
19
|
Promise<sequence<HIDDevice>> getDevices();
|
|
20
|
-
Promise<sequence<HIDDevice>> requestDevice(
|
|
20
|
+
[Exposed=Window] Promise<sequence<HIDDevice>> requestDevice(
|
|
21
21
|
HIDDeviceRequestOptions options);
|
|
22
22
|
};
|
|
23
23
|
|
package/webrtc-stats.idl
CHANGED
|
@@ -44,7 +44,6 @@ dictionary RTCReceivedRtpStreamStats : RTCRtpStreamStats {
|
|
|
44
44
|
|
|
45
45
|
dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
46
46
|
required DOMString trackIdentifier;
|
|
47
|
-
required DOMString kind;
|
|
48
47
|
DOMString mid;
|
|
49
48
|
DOMString remoteId;
|
|
50
49
|
unsigned long framesDecoded;
|
|
@@ -95,6 +94,8 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
|
95
94
|
double totalAssemblyTime;
|
|
96
95
|
unsigned long long retransmittedPacketsReceived;
|
|
97
96
|
unsigned long long retransmittedBytesReceived;
|
|
97
|
+
unsigned long rtxSsrc;
|
|
98
|
+
unsigned long fecSsrc;
|
|
98
99
|
};
|
|
99
100
|
|
|
100
101
|
dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
@@ -118,6 +119,7 @@ dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
|
|
|
118
119
|
unsigned long long headerBytesSent;
|
|
119
120
|
unsigned long long retransmittedPacketsSent;
|
|
120
121
|
unsigned long long retransmittedBytesSent;
|
|
122
|
+
unsigned long rtxSsrc;
|
|
121
123
|
double targetBitrate;
|
|
122
124
|
unsigned long long totalEncodedBytesTarget;
|
|
123
125
|
unsigned long frameWidth;
|
package/close-watcher.idl
DELETED
|
@@ -1,19 +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: Close Watcher API (https://wicg.github.io/close-watcher/)
|
|
5
|
-
|
|
6
|
-
[Exposed=Window]
|
|
7
|
-
interface CloseWatcher : EventTarget {
|
|
8
|
-
constructor(optional CloseWatcherOptions options = {});
|
|
9
|
-
|
|
10
|
-
undefined destroy();
|
|
11
|
-
undefined close();
|
|
12
|
-
|
|
13
|
-
attribute EventHandler oncancel;
|
|
14
|
-
attribute EventHandler onclose;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
dictionary CloseWatcherOptions {
|
|
18
|
-
AbortSignal signal;
|
|
19
|
-
};
|
package/gpc-spec.idl
DELETED
|
@@ -1,10 +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: 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;
|