@webref/idl 2.8.1 → 2.8.2
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/OES_draw_buffers_indexed.idl +1 -1
- package/app-history.idl +1 -1
- package/css-highlight-api.idl +7 -0
- package/html.idl +2 -2
- package/mediacapture-streams.idl +8 -0
- package/package.json +1 -1
- package/permissions.idl +0 -8
- package/sanitizer-api.idl +4 -1
- package/streams.idl +4 -4
- package/wasm-js-api.idl +1 -0
- package/web-locks.idl +1 -1
- package/webgpu.idl +11 -11
- package/webrtc.idl +6 -6
|
@@ -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: WebGL OES_draw_buffers_indexed Extension
|
|
4
|
+
// Source: WebGL OES_draw_buffers_indexed Extension Specification (https://www.khronos.org/registry/webgl/extensions/OES_draw_buffers_indexed/)
|
|
5
5
|
|
|
6
6
|
[Exposed=(Window,Worker), LegacyNoInterfaceObject]
|
|
7
7
|
interface OES_draw_buffers_indexed {
|
package/app-history.idl
CHANGED
|
@@ -121,7 +121,7 @@ interface AppHistoryDestination {
|
|
|
121
121
|
|
|
122
122
|
[Exposed=Window]
|
|
123
123
|
interface AppHistoryEntry : EventTarget {
|
|
124
|
-
readonly attribute USVString url;
|
|
124
|
+
readonly attribute USVString? url;
|
|
125
125
|
readonly attribute DOMString key;
|
|
126
126
|
readonly attribute DOMString id;
|
|
127
127
|
readonly attribute long long index;
|
package/css-highlight-api.idl
CHANGED
|
@@ -3,11 +3,18 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: CSS Custom Highlight API Module Level 1 (https://drafts.csswg.org/css-highlight-api-1/)
|
|
5
5
|
|
|
6
|
+
enum HighlightType {
|
|
7
|
+
"highlight",
|
|
8
|
+
"spelling-error",
|
|
9
|
+
"grammar-error"
|
|
10
|
+
};
|
|
11
|
+
|
|
6
12
|
[Exposed=Window]
|
|
7
13
|
interface Highlight {
|
|
8
14
|
constructor(AbstractRange... initialRanges);
|
|
9
15
|
setlike<AbstractRange>;
|
|
10
16
|
attribute long priority;
|
|
17
|
+
attribute HighlightType type;
|
|
11
18
|
};
|
|
12
19
|
|
|
13
20
|
partial namespace CSS {
|
package/html.idl
CHANGED
|
@@ -1993,9 +1993,9 @@ interface mixin WindowOrWorkerGlobalScope {
|
|
|
1993
1993
|
|
|
1994
1994
|
// timers
|
|
1995
1995
|
long setTimeout(TimerHandler handler, optional long timeout = 0, any... arguments);
|
|
1996
|
-
undefined clearTimeout(optional long
|
|
1996
|
+
undefined clearTimeout(optional long id = 0);
|
|
1997
1997
|
long setInterval(TimerHandler handler, optional long timeout = 0, any... arguments);
|
|
1998
|
-
undefined clearInterval(optional long
|
|
1998
|
+
undefined clearInterval(optional long id = 0);
|
|
1999
1999
|
|
|
2000
2000
|
// microtask queuing
|
|
2001
2001
|
undefined queueMicrotask(VoidFunction callback);
|
package/mediacapture-streams.idl
CHANGED
|
@@ -238,3 +238,11 @@ typedef (boolean or ConstrainBooleanParameters) ConstrainBoolean;
|
|
|
238
238
|
typedef (DOMString or
|
|
239
239
|
sequence<DOMString> or
|
|
240
240
|
ConstrainDOMStringParameters) ConstrainDOMString;
|
|
241
|
+
|
|
242
|
+
dictionary DevicePermissionDescriptor : PermissionDescriptor {
|
|
243
|
+
DOMString deviceId;
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
dictionary CameraDevicePermissionDescriptor : DevicePermissionDescriptor {
|
|
247
|
+
boolean panTiltZoom = false;
|
|
248
|
+
};
|
package/package.json
CHANGED
package/permissions.idl
CHANGED
|
@@ -56,11 +56,3 @@ enum PermissionName {
|
|
|
56
56
|
"speaker-selection",
|
|
57
57
|
"xr-spatial-tracking",
|
|
58
58
|
};
|
|
59
|
-
|
|
60
|
-
dictionary DevicePermissionDescriptor : PermissionDescriptor {
|
|
61
|
-
DOMString deviceId;
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
dictionary CameraDevicePermissionDescriptor : DevicePermissionDescriptor {
|
|
65
|
-
boolean panTiltZoom = false;
|
|
66
|
-
};
|
package/sanitizer-api.idl
CHANGED
|
@@ -16,8 +16,11 @@
|
|
|
16
16
|
static SanitizerConfig getDefaultConfiguration();
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
+
dictionary SetHTMLOptions {
|
|
20
|
+
Sanitizer sanitizer;
|
|
21
|
+
};
|
|
19
22
|
partial interface Element {
|
|
20
|
-
undefined setHTML(DOMString input,
|
|
23
|
+
undefined setHTML(DOMString input, optional SetHTMLOptions options = {});
|
|
21
24
|
};
|
|
22
25
|
|
|
23
26
|
dictionary SanitizerConfig {
|
package/streams.idl
CHANGED
|
@@ -74,8 +74,8 @@ interface ReadableStreamDefaultReader {
|
|
|
74
74
|
ReadableStreamDefaultReader includes ReadableStreamGenericReader;
|
|
75
75
|
|
|
76
76
|
dictionary ReadableStreamDefaultReadResult {
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
any value;
|
|
78
|
+
boolean done;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
81
|
[Exposed=(Window,Worker,Worklet)]
|
|
@@ -88,8 +88,8 @@ interface ReadableStreamBYOBReader {
|
|
|
88
88
|
ReadableStreamBYOBReader includes ReadableStreamGenericReader;
|
|
89
89
|
|
|
90
90
|
dictionary ReadableStreamBYOBReadResult {
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
ArrayBufferView value;
|
|
92
|
+
boolean done;
|
|
93
93
|
};
|
|
94
94
|
|
|
95
95
|
[Exposed=(Window,Worker,Worklet)]
|
package/wasm-js-api.idl
CHANGED
package/web-locks.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: Web Locks API (https://
|
|
4
|
+
// Source: Web Locks API (https://w3c.github.io/web-locks/)
|
|
5
5
|
|
|
6
6
|
[SecureContext]
|
|
7
7
|
interface mixin NavigatorLocks {
|
package/webgpu.idl
CHANGED
|
@@ -277,13 +277,19 @@ enum GPUTextureFormat {
|
|
|
277
277
|
"rgba32sint",
|
|
278
278
|
"rgba32float",
|
|
279
279
|
|
|
280
|
-
// Depth
|
|
280
|
+
// Depth/stencil formats
|
|
281
281
|
"stencil8",
|
|
282
282
|
"depth16unorm",
|
|
283
283
|
"depth24plus",
|
|
284
284
|
"depth24plus-stencil8",
|
|
285
285
|
"depth32float",
|
|
286
286
|
|
|
287
|
+
// "depth24unorm-stencil8" feature
|
|
288
|
+
"depth24unorm-stencil8",
|
|
289
|
+
|
|
290
|
+
// "depth32float-stencil8" feature
|
|
291
|
+
"depth32float-stencil8",
|
|
292
|
+
|
|
287
293
|
// BC compressed formats usable if "texture-compression-bc" is both
|
|
288
294
|
// supported by the device/user agent and enabled in requestDevice.
|
|
289
295
|
"bc1-rgba-unorm",
|
|
@@ -344,12 +350,6 @@ enum GPUTextureFormat {
|
|
|
344
350
|
"astc-12x10-unorm-srgb",
|
|
345
351
|
"astc-12x12-unorm",
|
|
346
352
|
"astc-12x12-unorm-srgb",
|
|
347
|
-
|
|
348
|
-
// "depth24unorm-stencil8" feature
|
|
349
|
-
"depth24unorm-stencil8",
|
|
350
|
-
|
|
351
|
-
// "depth32float-stencil8" feature
|
|
352
|
-
"depth32float-stencil8",
|
|
353
353
|
};
|
|
354
354
|
|
|
355
355
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -804,10 +804,10 @@ interface GPUCommandEncoder {
|
|
|
804
804
|
GPUImageCopyTexture destination,
|
|
805
805
|
GPUExtent3D copySize);
|
|
806
806
|
|
|
807
|
-
undefined
|
|
808
|
-
GPUBuffer
|
|
809
|
-
GPUSize64
|
|
810
|
-
GPUSize64 size);
|
|
807
|
+
undefined clearBuffer(
|
|
808
|
+
GPUBuffer buffer,
|
|
809
|
+
optional GPUSize64 offset = 0,
|
|
810
|
+
optional GPUSize64 size);
|
|
811
811
|
|
|
812
812
|
undefined pushDebugGroup(USVString groupLabel);
|
|
813
813
|
undefined popDebugGroup();
|
package/webrtc.idl
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
// Source: WebRTC 1.0: Real-Time Communication Between Browsers (https://w3c.github.io/webrtc-pc/)
|
|
5
5
|
|
|
6
6
|
dictionary RTCConfiguration {
|
|
7
|
-
sequence<RTCIceServer> iceServers;
|
|
8
|
-
RTCIceTransportPolicy iceTransportPolicy;
|
|
9
|
-
RTCBundlePolicy bundlePolicy;
|
|
10
|
-
RTCRtcpMuxPolicy rtcpMuxPolicy;
|
|
11
|
-
sequence<RTCCertificate> certificates;
|
|
7
|
+
sequence<RTCIceServer> iceServers = [];
|
|
8
|
+
RTCIceTransportPolicy iceTransportPolicy = "all";
|
|
9
|
+
RTCBundlePolicy bundlePolicy = "balanced";
|
|
10
|
+
RTCRtcpMuxPolicy rtcpMuxPolicy = "require";
|
|
11
|
+
sequence<RTCCertificate> certificates = [];
|
|
12
12
|
[EnforceRange] octet iceCandidatePoolSize = 0;
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -247,7 +247,7 @@ partial interface RTCPeerConnection {
|
|
|
247
247
|
};
|
|
248
248
|
|
|
249
249
|
dictionary RTCCertificateExpiration {
|
|
250
|
-
[EnforceRange]
|
|
250
|
+
[EnforceRange] unsigned long long expires;
|
|
251
251
|
};
|
|
252
252
|
|
|
253
253
|
[Exposed=Window, Serializable]
|