@webref/idl 3.47.4 → 3.48.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/FileAPI.idl +1 -0
- package/compression.idl +1 -1
- package/credential-management.idl +2 -0
- package/cssom-view.idl +5 -1
- package/fenced-frame.idl +1 -0
- package/html.idl +3 -3
- package/mediacapture-transform.idl +1 -1
- package/mediasession.idl +3 -0
- package/package.json +1 -1
- package/push-api.idl +1 -0
- package/saa-non-cookie-storage.idl +45 -0
- package/scheduling-apis.idl +17 -0
- package/turtledove.idl +2 -0
- package/webgpu.idl +2 -1
- package/webnn.idl +3 -3
- package/webrtc.idl +4 -3
- package/webxr-depth-sensing.idl +5 -1
package/FileAPI.idl
CHANGED
package/compression.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: Compression
|
|
4
|
+
// Source: Compression Standard (https://compression.spec.whatwg.org/)
|
|
5
5
|
|
|
6
6
|
enum CompressionFormat {
|
|
7
7
|
"deflate",
|
|
@@ -8,6 +8,7 @@ interface Credential {
|
|
|
8
8
|
readonly attribute USVString id;
|
|
9
9
|
readonly attribute DOMString type;
|
|
10
10
|
static Promise<boolean> isConditionalMediationAvailable();
|
|
11
|
+
static Promise<undefined> willRequestConditionalCreation();
|
|
11
12
|
};
|
|
12
13
|
|
|
13
14
|
[SecureContext]
|
|
@@ -45,6 +46,7 @@ enum CredentialMediationRequirement {
|
|
|
45
46
|
};
|
|
46
47
|
|
|
47
48
|
dictionary CredentialCreationOptions {
|
|
49
|
+
CredentialMediationRequirement mediation = "optional";
|
|
48
50
|
AbortSignal signal;
|
|
49
51
|
};
|
|
50
52
|
|
package/cssom-view.idl
CHANGED
|
@@ -84,10 +84,14 @@ interface Screen {
|
|
|
84
84
|
partial interface Document {
|
|
85
85
|
Element? elementFromPoint(double x, double y);
|
|
86
86
|
sequence<Element> elementsFromPoint(double x, double y);
|
|
87
|
-
CaretPosition? caretPositionFromPoint(double x, double y,
|
|
87
|
+
CaretPosition? caretPositionFromPoint(double x, double y, optional CaretPositionFromPointOptions options = {});
|
|
88
88
|
readonly attribute Element? scrollingElement;
|
|
89
89
|
};
|
|
90
90
|
|
|
91
|
+
dictionary CaretPositionFromPointOptions {
|
|
92
|
+
sequence<ShadowRoot> shadowRoots = [];
|
|
93
|
+
};
|
|
94
|
+
|
|
91
95
|
[Exposed=Window]
|
|
92
96
|
interface CaretPosition {
|
|
93
97
|
readonly attribute Node offsetNode;
|
package/fenced-frame.idl
CHANGED
|
@@ -35,6 +35,7 @@ typedef (USVString or FencedFrameConfig) UrnOrConfig;
|
|
|
35
35
|
partial interface Navigator {
|
|
36
36
|
Promise<undefined> deprecatedReplaceInURN(
|
|
37
37
|
UrnOrConfig urnOrConfig, record<USVString, USVString> replacements);
|
|
38
|
+
sequence<USVString> adAuctionComponents(unsigned short numAdComponents);
|
|
38
39
|
};
|
|
39
40
|
|
|
40
41
|
enum FenceReportingDestination {
|
package/html.idl
CHANGED
|
@@ -77,8 +77,8 @@ partial interface Document {
|
|
|
77
77
|
[CEReactions] Document open(optional DOMString unused1, optional DOMString unused2); // both arguments are ignored
|
|
78
78
|
WindowProxy? open(USVString url, DOMString name, DOMString features);
|
|
79
79
|
[CEReactions] undefined close();
|
|
80
|
-
[CEReactions] undefined write(
|
|
81
|
-
[CEReactions] undefined writeln(
|
|
80
|
+
[CEReactions] undefined write((TrustedHTML or DOMString)... text);
|
|
81
|
+
[CEReactions] undefined writeln((TrustedHTML or DOMString)... text);
|
|
82
82
|
|
|
83
83
|
// user interaction
|
|
84
84
|
readonly attribute WindowProxy? defaultView;
|
|
@@ -2260,7 +2260,7 @@ interface mixin WindowEventHandlers {
|
|
|
2260
2260
|
attribute EventHandler onunload;
|
|
2261
2261
|
};
|
|
2262
2262
|
|
|
2263
|
-
typedef (DOMString or Function) TimerHandler;
|
|
2263
|
+
typedef (DOMString or Function or TrustedScript) TimerHandler;
|
|
2264
2264
|
|
|
2265
2265
|
interface mixin WindowOrWorkerGlobalScope {
|
|
2266
2266
|
[Replaceable] readonly attribute USVString origin;
|
package/mediasession.idl
CHANGED
|
@@ -26,6 +26,7 @@ enum MediaSessionAction {
|
|
|
26
26
|
"seekto",
|
|
27
27
|
"togglemicrophone",
|
|
28
28
|
"togglecamera",
|
|
29
|
+
"togglescreenshare",
|
|
29
30
|
"hangup",
|
|
30
31
|
"previousslide",
|
|
31
32
|
"nextslide",
|
|
@@ -47,6 +48,8 @@ interface MediaSession {
|
|
|
47
48
|
Promise<undefined> setMicrophoneActive(boolean active);
|
|
48
49
|
|
|
49
50
|
Promise<undefined> setCameraActive(boolean active);
|
|
51
|
+
|
|
52
|
+
Promise<undefined> setScreenshareActive(boolean active);
|
|
50
53
|
};
|
|
51
54
|
|
|
52
55
|
[Exposed=Window]
|
package/package.json
CHANGED
package/push-api.idl
CHANGED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Extending Storage Access API (SAA) to non-cookie storage (https://privacycg.github.io/saa-non-cookie-storage/)
|
|
5
|
+
|
|
6
|
+
dictionary StorageAccessTypes {
|
|
7
|
+
boolean all = false;
|
|
8
|
+
boolean cookies = false;
|
|
9
|
+
boolean sessionStorage = false;
|
|
10
|
+
boolean localStorage = false;
|
|
11
|
+
boolean indexedDB = false;
|
|
12
|
+
boolean locks = false;
|
|
13
|
+
boolean caches = false;
|
|
14
|
+
boolean getDirectory = false;
|
|
15
|
+
boolean estimate = false;
|
|
16
|
+
boolean createObjectURL = false;
|
|
17
|
+
boolean revokeObjectURL = false;
|
|
18
|
+
boolean BroadcastChannel = false;
|
|
19
|
+
boolean SharedWorker = false;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
[Exposed=Window]
|
|
23
|
+
interface StorageAccessHandle {
|
|
24
|
+
readonly attribute Storage sessionStorage;
|
|
25
|
+
readonly attribute Storage localStorage;
|
|
26
|
+
readonly attribute IDBFactory indexedDB;
|
|
27
|
+
readonly attribute LockManager locks;
|
|
28
|
+
readonly attribute CacheStorage caches;
|
|
29
|
+
Promise<FileSystemDirectoryHandle> getDirectory();
|
|
30
|
+
Promise<StorageEstimate> estimate();
|
|
31
|
+
DOMString createObjectURL((Blob or MediaSource) obj);
|
|
32
|
+
undefined revokeObjectURL(DOMString url);
|
|
33
|
+
BroadcastChannel BroadcastChannel(DOMString name);
|
|
34
|
+
SharedWorker SharedWorker(USVString scriptURL, optional (DOMString or SharedWorkerOptions) options = {});
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
partial interface Document {
|
|
38
|
+
Promise<boolean> hasUnpartitionedCookieAccess();
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
enum SameSiteCookiesType { "all", "none" };
|
|
42
|
+
|
|
43
|
+
dictionary SharedWorkerOptions : WorkerOptions {
|
|
44
|
+
SameSiteCookiesType sameSiteCookies;
|
|
45
|
+
};
|
package/scheduling-apis.idl
CHANGED
|
@@ -9,18 +9,35 @@ enum TaskPriority {
|
|
|
9
9
|
"background"
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
+
enum ContinuationPriority {
|
|
13
|
+
"user-blocking",
|
|
14
|
+
"user-visible",
|
|
15
|
+
"background",
|
|
16
|
+
"inherit"
|
|
17
|
+
};
|
|
18
|
+
|
|
12
19
|
dictionary SchedulerPostTaskOptions {
|
|
13
20
|
AbortSignal signal;
|
|
14
21
|
TaskPriority priority;
|
|
15
22
|
[EnforceRange] unsigned long long delay = 0;
|
|
16
23
|
};
|
|
17
24
|
|
|
25
|
+
enum SchedulerSignalInherit {
|
|
26
|
+
"inherit"
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
dictionary SchedulerYieldOptions {
|
|
30
|
+
(AbortSignal or SchedulerSignalInherit) signal;
|
|
31
|
+
ContinuationPriority priority;
|
|
32
|
+
};
|
|
33
|
+
|
|
18
34
|
callback SchedulerPostTaskCallback = any ();
|
|
19
35
|
|
|
20
36
|
[Exposed=(Window, Worker)]
|
|
21
37
|
interface Scheduler {
|
|
22
38
|
Promise<any> postTask(SchedulerPostTaskCallback callback,
|
|
23
39
|
optional SchedulerPostTaskOptions options = {});
|
|
40
|
+
Promise<undefined> yield(optional SchedulerYieldOptions options = {});
|
|
24
41
|
};
|
|
25
42
|
|
|
26
43
|
[Exposed=(Window, Worker)]
|
package/turtledove.idl
CHANGED
|
@@ -204,6 +204,7 @@ dictionary BiddingBrowserSignals {
|
|
|
204
204
|
required long adComponentsLimit;
|
|
205
205
|
required unsigned short multiBidLimit;
|
|
206
206
|
|
|
207
|
+
record<DOMString, DOMString> requestedSize;
|
|
207
208
|
USVString topLevelSeller;
|
|
208
209
|
sequence<PreviousWin> prevWinsMs;
|
|
209
210
|
object wasmHelper;
|
|
@@ -218,6 +219,7 @@ dictionary ScoringBrowserSignals {
|
|
|
218
219
|
required unsigned long biddingDurationMsec;
|
|
219
220
|
required DOMString bidCurrency;
|
|
220
221
|
|
|
222
|
+
record<DOMString, DOMString> renderSize;
|
|
221
223
|
unsigned long dataVersion;
|
|
222
224
|
sequence<USVString> adComponents;
|
|
223
225
|
boolean forDebuggingOnlyInCooldownOrLockout = false;
|
package/webgpu.idl
CHANGED
|
@@ -92,10 +92,10 @@ enum GPUPowerPreference {
|
|
|
92
92
|
interface GPUAdapter {
|
|
93
93
|
[SameObject] readonly attribute GPUSupportedFeatures features;
|
|
94
94
|
[SameObject] readonly attribute GPUSupportedLimits limits;
|
|
95
|
+
[SameObject] readonly attribute GPUAdapterInfo info;
|
|
95
96
|
readonly attribute boolean isFallbackAdapter;
|
|
96
97
|
|
|
97
98
|
Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {});
|
|
98
|
-
Promise<GPUAdapterInfo> requestAdapterInfo();
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
dictionary GPUDeviceDescriptor
|
|
@@ -117,6 +117,7 @@ enum GPUFeatureName {
|
|
|
117
117
|
"rg11b10ufloat-renderable",
|
|
118
118
|
"bgra8unorm-storage",
|
|
119
119
|
"float32-filterable",
|
|
120
|
+
"clip-distances",
|
|
120
121
|
};
|
|
121
122
|
|
|
122
123
|
[Exposed=(Window, Worker), SecureContext]
|
package/webnn.idl
CHANGED
|
@@ -90,8 +90,8 @@ interface MLGraphBuilder {
|
|
|
90
90
|
// Create an operand for a graph constant.
|
|
91
91
|
MLOperand constant(MLOperandDescriptor descriptor, ArrayBufferView bufferView);
|
|
92
92
|
|
|
93
|
-
// Create a
|
|
94
|
-
MLOperand constant(
|
|
93
|
+
// Create a scalar operand from the specified number of the specified type.
|
|
94
|
+
MLOperand constant(MLOperandDataType type, double value);
|
|
95
95
|
|
|
96
96
|
// Compile the graph up to the specified output operands asynchronously.
|
|
97
97
|
Promise<MLGraph> build(MLNamedOperands outputs);
|
|
@@ -200,7 +200,7 @@ partial interface MLGraphBuilder {
|
|
|
200
200
|
MLOperand greaterOrEqual(MLOperand a, MLOperand b);
|
|
201
201
|
MLOperand lesser(MLOperand a, MLOperand b);
|
|
202
202
|
MLOperand lesserOrEqual(MLOperand a, MLOperand b);
|
|
203
|
-
MLOperand
|
|
203
|
+
MLOperand logicalNot(MLOperand a);
|
|
204
204
|
};
|
|
205
205
|
|
|
206
206
|
partial interface MLGraphBuilder {
|
package/webrtc.idl
CHANGED
|
@@ -434,9 +434,10 @@ dictionary RTCIceParameters {
|
|
|
434
434
|
DOMString password;
|
|
435
435
|
};
|
|
436
436
|
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
437
|
+
[Exposed=Window]
|
|
438
|
+
interface RTCIceCandidatePair {
|
|
439
|
+
[SameObject] readonly attribute RTCIceCandidate local;
|
|
440
|
+
[SameObject] readonly attribute RTCIceCandidate remote;
|
|
440
441
|
};
|
|
441
442
|
|
|
442
443
|
enum RTCIceGathererState {
|
package/webxr-depth-sensing.idl
CHANGED
|
@@ -10,7 +10,8 @@ enum XRDepthUsage {
|
|
|
10
10
|
|
|
11
11
|
enum XRDepthDataFormat {
|
|
12
12
|
"luminance-alpha",
|
|
13
|
-
"float32"
|
|
13
|
+
"float32",
|
|
14
|
+
"unsigned-short",
|
|
14
15
|
};
|
|
15
16
|
|
|
16
17
|
dictionary XRDepthStateInit {
|
|
@@ -50,6 +51,9 @@ partial interface XRFrame {
|
|
|
50
51
|
[Exposed=Window]
|
|
51
52
|
interface XRWebGLDepthInformation : XRDepthInformation {
|
|
52
53
|
[SameObject] readonly attribute WebGLTexture texture;
|
|
54
|
+
|
|
55
|
+
readonly attribute XRTextureType textureType;
|
|
56
|
+
readonly attribute unsigned long? imageIndex;
|
|
53
57
|
};
|
|
54
58
|
|
|
55
59
|
partial interface XRWebGLBinding {
|