@webref/idl 3.0.0 → 3.1.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/WebCryptoAPI.idl +1 -0
- package/autoplay.idl +7 -6
- package/battery-status.idl +2 -1
- package/compute-pressure.idl +2 -0
- package/css-typed-om.idl +45 -31
- package/dom.idl +6 -5
- package/encoding.idl +4 -4
- package/event-timing.idl +1 -1
- package/hr-time.idl +1 -1
- package/html.idl +4 -4
- package/index.js +5 -5
- package/largest-contentful-paint.idl +1 -1
- package/longtasks.idl +1 -1
- package/mediacapture-region.idl +20 -0
- package/package.json +2 -2
- package/performance-timeline.idl +3 -3
- package/streams.idl +14 -14
- package/{uuid.idl → testutils.idl} +3 -3
- package/url.idl +2 -2
- package/urlpattern.idl +1 -1
- package/user-timing.idl +2 -2
- package/webgpu.idl +13 -7
- package/webrtc-encoded-transform.idl +8 -0
- package/webtransport.idl +2 -0
- package/mediacapture-depth.idl +0 -29
package/WebCryptoAPI.idl
CHANGED
|
@@ -11,6 +11,7 @@ partial interface mixin WindowOrWorkerGlobalScope {
|
|
|
11
11
|
interface Crypto {
|
|
12
12
|
[SecureContext] readonly attribute SubtleCrypto subtle;
|
|
13
13
|
ArrayBufferView getRandomValues(ArrayBufferView array);
|
|
14
|
+
[SecureContext] DOMString randomUUID();
|
|
14
15
|
};
|
|
15
16
|
|
|
16
17
|
typedef (object or DOMString) AlgorithmIdentifier;
|
package/autoplay.idl
CHANGED
|
@@ -9,10 +9,11 @@ enum AutoplayPolicy {
|
|
|
9
9
|
"disallowed"
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
readonly attribute AutoplayPolicy autoplayPolicy;
|
|
14
|
-
};
|
|
12
|
+
enum AutoplayPolicyMediaType { "mediaelement", "audiocontext" };
|
|
15
13
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
[Exposed=Window]
|
|
15
|
+
partial interface Navigator {
|
|
16
|
+
AutoplayPolicy getAutoplayPolicy(AutoplayPolicyMediaType type);
|
|
17
|
+
AutoplayPolicy getAutoplayPolicy(HTMLMediaElement element);
|
|
18
|
+
AutoplayPolicy getAutoplayPolicy(AudioContext context);
|
|
19
|
+
};
|
package/battery-status.idl
CHANGED
|
@@ -3,11 +3,12 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Battery Status API (https://w3c.github.io/battery/)
|
|
5
5
|
|
|
6
|
+
[SecureContext]
|
|
6
7
|
partial interface Navigator {
|
|
7
8
|
Promise<BatteryManager> getBattery();
|
|
8
9
|
};
|
|
9
10
|
|
|
10
|
-
[Exposed=Window]
|
|
11
|
+
[SecureContext, Exposed=Window]
|
|
11
12
|
interface BatteryManager : EventTarget {
|
|
12
13
|
readonly attribute boolean charging;
|
|
13
14
|
readonly attribute unrestricted double chargingTime;
|
package/compute-pressure.idl
CHANGED
|
@@ -16,6 +16,8 @@ interface ComputePressureObserver {
|
|
|
16
16
|
undefined observe(ComputePressureTarget target, optional ComputePressureObserverOptions options = {});
|
|
17
17
|
undefined unobserve(ComputePressureTarget target);
|
|
18
18
|
undefined disconnect();
|
|
19
|
+
sequence<ComputePressureEntry> takeRecords();
|
|
20
|
+
[SameObject] static readonly attribute FrozenArray<DOMString> supportedTargetTypes;
|
|
19
21
|
};
|
|
20
22
|
|
|
21
23
|
dictionary ComputePressureEntry {
|
package/css-typed-om.idl
CHANGED
|
@@ -326,22 +326,27 @@ interface CSSColorValue : CSSStyleValue {
|
|
|
326
326
|
[Exposed=Window] static (CSSColorValue or CSSStyleValue) parse(USVString cssText);
|
|
327
327
|
};
|
|
328
328
|
|
|
329
|
+
typedef (CSSNumberish or CSSKeywordish) CSSColorRGBComp;
|
|
330
|
+
typedef (CSSNumberish or CSSKeywordish) CSSColorPercent;
|
|
331
|
+
typedef (CSSNumberish or CSSKeywordish) CSSColorNumber;
|
|
332
|
+
typedef (CSSNumberish or CSSKeywordish) CSSColorAngle;
|
|
333
|
+
|
|
329
334
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
330
335
|
interface CSSRGB : CSSColorValue {
|
|
331
|
-
constructor(
|
|
332
|
-
attribute
|
|
333
|
-
attribute
|
|
334
|
-
attribute
|
|
335
|
-
attribute
|
|
336
|
+
constructor(CSSColorRGBComp r, CSSColorRGBComp g, CSSColorRGBComp b, optional CSSColorPercent alpha = 1);
|
|
337
|
+
attribute CSSColorRGBComp r;
|
|
338
|
+
attribute CSSColorRGBComp g;
|
|
339
|
+
attribute CSSColorRGBComp b;
|
|
340
|
+
attribute CSSColorPercent alpha;
|
|
336
341
|
};
|
|
337
342
|
|
|
338
343
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
339
344
|
interface CSSHSL : CSSColorValue {
|
|
340
|
-
constructor(
|
|
341
|
-
attribute
|
|
342
|
-
attribute
|
|
343
|
-
attribute
|
|
344
|
-
attribute
|
|
345
|
+
constructor(CSSColorAngle h, CSSColorPercent s, CSSColorPercent l, optional CSSColorPercent alpha = 1);
|
|
346
|
+
attribute CSSColorAngle h;
|
|
347
|
+
attribute CSSColorPercent s;
|
|
348
|
+
attribute CSSColorPercent l;
|
|
349
|
+
attribute CSSColorPercent alpha;
|
|
345
350
|
};
|
|
346
351
|
|
|
347
352
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
@@ -353,37 +358,46 @@ interface CSSHWB : CSSColorValue {
|
|
|
353
358
|
attribute CSSNumberish alpha;
|
|
354
359
|
};
|
|
355
360
|
|
|
361
|
+
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
362
|
+
interface CSSLab : CSSColorValue {
|
|
363
|
+
constructor(CSSColorPercent l, CSSColorNumber a, CSSColorNumber b, optional CSSColorPercent alpha = 1);
|
|
364
|
+
attribute CSSColorPercent l;
|
|
365
|
+
attribute CSSColorNumber a;
|
|
366
|
+
attribute CSSColorNumber b;
|
|
367
|
+
attribute CSSColorPercent alpha;
|
|
368
|
+
};
|
|
369
|
+
|
|
356
370
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
357
371
|
interface CSSLCH : CSSColorValue {
|
|
358
|
-
constructor(
|
|
359
|
-
attribute
|
|
360
|
-
attribute
|
|
361
|
-
attribute
|
|
362
|
-
attribute
|
|
372
|
+
constructor(CSSColorPercent l, CSSColorPercent c, CSSColorAngle h, optional CSSColorPercent alpha = 1);
|
|
373
|
+
attribute CSSColorPercent l;
|
|
374
|
+
attribute CSSColorPercent c;
|
|
375
|
+
attribute CSSColorAngle h;
|
|
376
|
+
attribute CSSColorPercent alpha;
|
|
363
377
|
};
|
|
364
378
|
|
|
365
379
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
366
|
-
interface
|
|
367
|
-
constructor(
|
|
368
|
-
attribute
|
|
369
|
-
attribute
|
|
370
|
-
attribute
|
|
371
|
-
attribute
|
|
380
|
+
interface CSSOKLab : CSSColorValue {
|
|
381
|
+
constructor(CSSColorPercent l, CSSColorNumber a, CSSColorNumber b, optional CSSColorPercent alpha = 1);
|
|
382
|
+
attribute CSSColorPercent l;
|
|
383
|
+
attribute CSSColorNumber a;
|
|
384
|
+
attribute CSSColorNumber b;
|
|
385
|
+
attribute CSSColorPercent alpha;
|
|
372
386
|
};
|
|
373
387
|
|
|
374
388
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
375
|
-
interface
|
|
376
|
-
constructor(
|
|
377
|
-
|
|
378
|
-
|
|
389
|
+
interface CSSOKLCH : CSSColorValue {
|
|
390
|
+
constructor(CSSColorPercent l, CSSColorPercent c, CSSColorAngle h, optional CSSColorPercent alpha = 1);
|
|
391
|
+
attribute CSSColorPercent l;
|
|
392
|
+
attribute CSSColorPercent c;
|
|
393
|
+
attribute CSSColorAngle h;
|
|
394
|
+
attribute CSSColorPercent alpha;
|
|
379
395
|
};
|
|
380
396
|
|
|
381
397
|
[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
|
|
382
|
-
interface
|
|
383
|
-
constructor(
|
|
384
|
-
attribute
|
|
385
|
-
attribute
|
|
386
|
-
attribute CSSNumberish y;
|
|
387
|
-
attribute CSSNumberish k;
|
|
398
|
+
interface CSSColor : CSSColorValue {
|
|
399
|
+
constructor(CSSKeywordish colorSpace, sequence<CSSColorPercent> channels, optional CSSNumberish alpha = 1);
|
|
400
|
+
attribute CSSKeywordish colorSpace;
|
|
401
|
+
attribute ObservableArray<CSSColorPercent> channels;
|
|
388
402
|
attribute CSSNumberish alpha;
|
|
389
403
|
};
|
package/dom.idl
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: DOM Standard (https://dom.spec.whatwg.org/)
|
|
5
5
|
|
|
6
|
-
[Exposed
|
|
6
|
+
[Exposed=*]
|
|
7
7
|
interface Event {
|
|
8
8
|
constructor(DOMString type, optional EventInit eventInitDict = {});
|
|
9
9
|
|
|
@@ -46,7 +46,7 @@ partial interface Window {
|
|
|
46
46
|
[Replaceable] readonly attribute (Event or undefined) event; // legacy
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
[Exposed
|
|
49
|
+
[Exposed=*]
|
|
50
50
|
interface CustomEvent : Event {
|
|
51
51
|
constructor(DOMString type, optional CustomEventInit eventInitDict = {});
|
|
52
52
|
|
|
@@ -59,7 +59,7 @@ dictionary CustomEventInit : EventInit {
|
|
|
59
59
|
any detail = null;
|
|
60
60
|
};
|
|
61
61
|
|
|
62
|
-
[Exposed
|
|
62
|
+
[Exposed=*]
|
|
63
63
|
interface EventTarget {
|
|
64
64
|
constructor();
|
|
65
65
|
|
|
@@ -82,7 +82,7 @@ dictionary AddEventListenerOptions : EventListenerOptions {
|
|
|
82
82
|
AbortSignal signal;
|
|
83
83
|
};
|
|
84
84
|
|
|
85
|
-
[Exposed
|
|
85
|
+
[Exposed=*]
|
|
86
86
|
interface AbortController {
|
|
87
87
|
constructor();
|
|
88
88
|
|
|
@@ -91,9 +91,10 @@ interface AbortController {
|
|
|
91
91
|
undefined abort(optional any reason);
|
|
92
92
|
};
|
|
93
93
|
|
|
94
|
-
[Exposed
|
|
94
|
+
[Exposed=*]
|
|
95
95
|
interface AbortSignal : EventTarget {
|
|
96
96
|
[NewObject] static AbortSignal abort(optional any reason);
|
|
97
|
+
[NewObject] static AbortSignal timeout([EnforceRange] unsigned long long milliseconds);
|
|
97
98
|
|
|
98
99
|
readonly attribute boolean aborted;
|
|
99
100
|
readonly attribute any reason;
|
package/encoding.idl
CHANGED
|
@@ -18,7 +18,7 @@ dictionary TextDecodeOptions {
|
|
|
18
18
|
boolean stream = false;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
[Exposed
|
|
21
|
+
[Exposed=*]
|
|
22
22
|
interface TextDecoder {
|
|
23
23
|
constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {});
|
|
24
24
|
|
|
@@ -35,7 +35,7 @@ dictionary TextEncoderEncodeIntoResult {
|
|
|
35
35
|
unsigned long long written;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
[Exposed
|
|
38
|
+
[Exposed=*]
|
|
39
39
|
interface TextEncoder {
|
|
40
40
|
constructor();
|
|
41
41
|
|
|
@@ -44,14 +44,14 @@ interface TextEncoder {
|
|
|
44
44
|
};
|
|
45
45
|
TextEncoder includes TextEncoderCommon;
|
|
46
46
|
|
|
47
|
-
[Exposed
|
|
47
|
+
[Exposed=*]
|
|
48
48
|
interface TextDecoderStream {
|
|
49
49
|
constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {});
|
|
50
50
|
};
|
|
51
51
|
TextDecoderStream includes TextDecoderCommon;
|
|
52
52
|
TextDecoderStream includes GenericTransformStream;
|
|
53
53
|
|
|
54
|
-
[Exposed
|
|
54
|
+
[Exposed=*]
|
|
55
55
|
interface TextEncoderStream {
|
|
56
56
|
constructor();
|
|
57
57
|
};
|
package/event-timing.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: Event Timing API (https://
|
|
4
|
+
// Source: Event Timing API (https://w3c.github.io/event-timing/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface PerformanceEventTiming : PerformanceEntry {
|
package/hr-time.idl
CHANGED
package/html.idl
CHANGED
|
@@ -1460,12 +1460,12 @@ interface mixin CanvasTextDrawingStyles {
|
|
|
1460
1460
|
attribute CanvasTextAlign textAlign; // (default: "start")
|
|
1461
1461
|
attribute CanvasTextBaseline textBaseline; // (default: "alphabetic")
|
|
1462
1462
|
attribute CanvasDirection direction; // (default: "inherit")
|
|
1463
|
-
attribute
|
|
1463
|
+
attribute DOMString letterSpacing; // (default: "0px")
|
|
1464
1464
|
attribute CanvasFontKerning fontKerning; // (default: "auto")
|
|
1465
1465
|
attribute CanvasFontStretch fontStretch; // (default: "normal")
|
|
1466
1466
|
attribute CanvasFontVariantCaps fontVariantCaps; // (default: "normal")
|
|
1467
1467
|
attribute CanvasTextRendering textRendering; // (default: "auto")
|
|
1468
|
-
attribute
|
|
1468
|
+
attribute DOMString wordSpacing; // (default: "0px")
|
|
1469
1469
|
};
|
|
1470
1470
|
|
|
1471
1471
|
interface mixin CanvasPath {
|
|
@@ -1847,7 +1847,7 @@ interface BeforeUnloadEvent : Event {
|
|
|
1847
1847
|
attribute DOMString returnValue;
|
|
1848
1848
|
};
|
|
1849
1849
|
|
|
1850
|
-
[Exposed
|
|
1850
|
+
[Exposed=*]
|
|
1851
1851
|
interface ErrorEvent : Event {
|
|
1852
1852
|
constructor(DOMString type, optional ErrorEventInit eventInitDict = {});
|
|
1853
1853
|
|
|
@@ -1866,7 +1866,7 @@ dictionary ErrorEventInit : EventInit {
|
|
|
1866
1866
|
any error = null;
|
|
1867
1867
|
};
|
|
1868
1868
|
|
|
1869
|
-
[Exposed
|
|
1869
|
+
[Exposed=*]
|
|
1870
1870
|
interface PromiseRejectionEvent : Event {
|
|
1871
1871
|
constructor(DOMString type, PromiseRejectionEventInit eventInitDict);
|
|
1872
1872
|
|
package/index.js
CHANGED
|
@@ -21,20 +21,20 @@ class IDLFile {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
async function listAll() {
|
|
24
|
+
async function listAll({folder = __dirname} = {}) {
|
|
25
25
|
const all = {};
|
|
26
|
-
const files = await fs.readdir(
|
|
26
|
+
const files = await fs.readdir(folder);
|
|
27
27
|
for (const f of files) {
|
|
28
28
|
if (f.endsWith('.idl')) {
|
|
29
|
-
const idlFile = new IDLFile(
|
|
29
|
+
const idlFile = new IDLFile(folder, f);
|
|
30
30
|
all[idlFile.shortname] = idlFile;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
return all;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
async function parseAll() {
|
|
37
|
-
const all = await listAll();
|
|
36
|
+
async function parseAll(options) {
|
|
37
|
+
const all = await listAll(options);
|
|
38
38
|
for (const [key, value] of Object.entries(all)) {
|
|
39
39
|
all[key] = await value.parse();
|
|
40
40
|
}
|
|
@@ -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: Largest Contentful Paint (https://
|
|
4
|
+
// Source: Largest Contentful Paint (https://w3c.github.io/largest-contentful-paint/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface LargestContentfulPaint : PerformanceEntry {
|
package/longtasks.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: Long Tasks API
|
|
4
|
+
// Source: Long Tasks API (https://w3c.github.io/longtasks/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface PerformanceLongTaskTiming : PerformanceEntry {
|
|
@@ -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: Region Capture (https://w3c.github.io/mediacapture-region/)
|
|
5
|
+
|
|
6
|
+
[Exposed = Window]
|
|
7
|
+
interface CropTarget {
|
|
8
|
+
// Intentionally empty; just an opaque identifier.
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
partial interface MediaDevices {
|
|
12
|
+
Promise<CropTarget>
|
|
13
|
+
produceCropTarget(HTMLElement element);
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
[Exposed = Window]
|
|
17
|
+
interface BrowserCaptureMediaStreamTrack : MediaStreamTrack {
|
|
18
|
+
Promise<undefined> cropTo(CropTarget? cropTarget);
|
|
19
|
+
BrowserCaptureMediaStreamTrack clone();
|
|
20
|
+
};
|
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.1.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/w3c/webref.git"
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"webidl2": "^24.2.0"
|
|
16
16
|
}
|
|
17
|
-
}
|
|
17
|
+
}
|
package/performance-timeline.idl
CHANGED
|
@@ -10,7 +10,7 @@ partial interface Performance {
|
|
|
10
10
|
};
|
|
11
11
|
typedef sequence<PerformanceEntry> PerformanceEntryList;
|
|
12
12
|
|
|
13
|
-
[Exposed
|
|
13
|
+
[Exposed=*]
|
|
14
14
|
interface PerformanceEntry {
|
|
15
15
|
readonly attribute DOMString name;
|
|
16
16
|
readonly attribute DOMString entryType;
|
|
@@ -22,7 +22,7 @@ interface PerformanceEntry {
|
|
|
22
22
|
callback PerformanceObserverCallback = undefined (PerformanceObserverEntryList entries,
|
|
23
23
|
PerformanceObserver observer,
|
|
24
24
|
optional PerformanceObserverCallbackOptions options = {});
|
|
25
|
-
[Exposed
|
|
25
|
+
[Exposed=*]
|
|
26
26
|
interface PerformanceObserver {
|
|
27
27
|
constructor(PerformanceObserverCallback callback);
|
|
28
28
|
undefined observe (optional PerformanceObserverInit options = {});
|
|
@@ -41,7 +41,7 @@ dictionary PerformanceObserverInit {
|
|
|
41
41
|
boolean buffered;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
-
[Exposed
|
|
44
|
+
[Exposed=*]
|
|
45
45
|
interface PerformanceObserverEntryList {
|
|
46
46
|
PerformanceEntryList getEntries();
|
|
47
47
|
PerformanceEntryList getEntriesByType (DOMString type);
|
package/streams.idl
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Streams Standard (https://streams.spec.whatwg.org/)
|
|
5
5
|
|
|
6
|
-
[Exposed
|
|
6
|
+
[Exposed=*, Transferable]
|
|
7
7
|
interface ReadableStream {
|
|
8
8
|
constructor(optional object underlyingSource, optional QueuingStrategy strategy = {});
|
|
9
9
|
|
|
@@ -64,7 +64,7 @@ interface mixin ReadableStreamGenericReader {
|
|
|
64
64
|
Promise<undefined> cancel(optional any reason);
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
-
[Exposed
|
|
67
|
+
[Exposed=*]
|
|
68
68
|
interface ReadableStreamDefaultReader {
|
|
69
69
|
constructor(ReadableStream stream);
|
|
70
70
|
|
|
@@ -78,7 +78,7 @@ dictionary ReadableStreamDefaultReadResult {
|
|
|
78
78
|
boolean done;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
-
[Exposed
|
|
81
|
+
[Exposed=*]
|
|
82
82
|
interface ReadableStreamBYOBReader {
|
|
83
83
|
constructor(ReadableStream stream);
|
|
84
84
|
|
|
@@ -88,11 +88,11 @@ interface ReadableStreamBYOBReader {
|
|
|
88
88
|
ReadableStreamBYOBReader includes ReadableStreamGenericReader;
|
|
89
89
|
|
|
90
90
|
dictionary ReadableStreamBYOBReadResult {
|
|
91
|
-
ArrayBufferView value;
|
|
91
|
+
(ArrayBufferView or undefined) value;
|
|
92
92
|
boolean done;
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
[Exposed
|
|
95
|
+
[Exposed=*]
|
|
96
96
|
interface ReadableStreamDefaultController {
|
|
97
97
|
readonly attribute unrestricted double? desiredSize;
|
|
98
98
|
|
|
@@ -101,7 +101,7 @@ interface ReadableStreamDefaultController {
|
|
|
101
101
|
undefined error(optional any e);
|
|
102
102
|
};
|
|
103
103
|
|
|
104
|
-
[Exposed
|
|
104
|
+
[Exposed=*]
|
|
105
105
|
interface ReadableByteStreamController {
|
|
106
106
|
readonly attribute ReadableStreamBYOBRequest? byobRequest;
|
|
107
107
|
readonly attribute unrestricted double? desiredSize;
|
|
@@ -111,7 +111,7 @@ interface ReadableByteStreamController {
|
|
|
111
111
|
undefined error(optional any e);
|
|
112
112
|
};
|
|
113
113
|
|
|
114
|
-
[Exposed
|
|
114
|
+
[Exposed=*]
|
|
115
115
|
interface ReadableStreamBYOBRequest {
|
|
116
116
|
readonly attribute ArrayBufferView? view;
|
|
117
117
|
|
|
@@ -119,7 +119,7 @@ interface ReadableStreamBYOBRequest {
|
|
|
119
119
|
undefined respondWithNewView(ArrayBufferView view);
|
|
120
120
|
};
|
|
121
121
|
|
|
122
|
-
[Exposed
|
|
122
|
+
[Exposed=*, Transferable]
|
|
123
123
|
interface WritableStream {
|
|
124
124
|
constructor(optional object underlyingSink, optional QueuingStrategy strategy = {});
|
|
125
125
|
|
|
@@ -143,7 +143,7 @@ callback UnderlyingSinkWriteCallback = Promise<undefined> (any chunk, WritableSt
|
|
|
143
143
|
callback UnderlyingSinkCloseCallback = Promise<undefined> ();
|
|
144
144
|
callback UnderlyingSinkAbortCallback = Promise<undefined> (optional any reason);
|
|
145
145
|
|
|
146
|
-
[Exposed
|
|
146
|
+
[Exposed=*]
|
|
147
147
|
interface WritableStreamDefaultWriter {
|
|
148
148
|
constructor(WritableStream stream);
|
|
149
149
|
|
|
@@ -157,13 +157,13 @@ interface WritableStreamDefaultWriter {
|
|
|
157
157
|
Promise<undefined> write(optional any chunk);
|
|
158
158
|
};
|
|
159
159
|
|
|
160
|
-
[Exposed
|
|
160
|
+
[Exposed=*]
|
|
161
161
|
interface WritableStreamDefaultController {
|
|
162
162
|
readonly attribute AbortSignal signal;
|
|
163
163
|
undefined error(optional any e);
|
|
164
164
|
};
|
|
165
165
|
|
|
166
|
-
[Exposed
|
|
166
|
+
[Exposed=*, Transferable]
|
|
167
167
|
interface TransformStream {
|
|
168
168
|
constructor(optional object transformer,
|
|
169
169
|
optional QueuingStrategy writableStrategy = {},
|
|
@@ -185,7 +185,7 @@ callback TransformerStartCallback = any (TransformStreamDefaultController contro
|
|
|
185
185
|
callback TransformerFlushCallback = Promise<undefined> (TransformStreamDefaultController controller);
|
|
186
186
|
callback TransformerTransformCallback = Promise<undefined> (any chunk, TransformStreamDefaultController controller);
|
|
187
187
|
|
|
188
|
-
[Exposed
|
|
188
|
+
[Exposed=*]
|
|
189
189
|
interface TransformStreamDefaultController {
|
|
190
190
|
readonly attribute unrestricted double? desiredSize;
|
|
191
191
|
|
|
@@ -205,7 +205,7 @@ dictionary QueuingStrategyInit {
|
|
|
205
205
|
required unrestricted double highWaterMark;
|
|
206
206
|
};
|
|
207
207
|
|
|
208
|
-
[Exposed
|
|
208
|
+
[Exposed=*]
|
|
209
209
|
interface ByteLengthQueuingStrategy {
|
|
210
210
|
constructor(QueuingStrategyInit init);
|
|
211
211
|
|
|
@@ -213,7 +213,7 @@ interface ByteLengthQueuingStrategy {
|
|
|
213
213
|
readonly attribute Function size;
|
|
214
214
|
};
|
|
215
215
|
|
|
216
|
-
[Exposed
|
|
216
|
+
[Exposed=*]
|
|
217
217
|
interface CountQueuingStrategy {
|
|
218
218
|
constructor(QueuingStrategyInit init);
|
|
219
219
|
|
|
@@ -1,9 +1,9 @@
|
|
|
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: Test Utils Standard (https://testutils.spec.whatwg.org/)
|
|
5
5
|
|
|
6
6
|
[Exposed=(Window,Worker)]
|
|
7
|
-
|
|
8
|
-
[
|
|
7
|
+
namespace TestUtils {
|
|
8
|
+
[NewObject] Promise<undefined> gc();
|
|
9
9
|
};
|
package/url.idl
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: URL Standard (https://url.spec.whatwg.org/)
|
|
5
5
|
|
|
6
|
-
[Exposed
|
|
6
|
+
[Exposed=*,
|
|
7
7
|
LegacyWindowAlias=webkitURL]
|
|
8
8
|
interface URL {
|
|
9
9
|
constructor(USVString url, optional USVString base);
|
|
@@ -24,7 +24,7 @@ interface URL {
|
|
|
24
24
|
USVString toJSON();
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
[Exposed
|
|
27
|
+
[Exposed=*]
|
|
28
28
|
interface URLSearchParams {
|
|
29
29
|
constructor(optional (sequence<sequence<USVString>> or record<USVString, USVString> or USVString) init = "");
|
|
30
30
|
|
package/urlpattern.idl
CHANGED
package/user-timing.idl
CHANGED
|
@@ -22,13 +22,13 @@ partial interface Performance {
|
|
|
22
22
|
undefined clearMeasures(optional DOMString measureName);
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
[Exposed
|
|
25
|
+
[Exposed=*]
|
|
26
26
|
interface PerformanceMark : PerformanceEntry {
|
|
27
27
|
constructor(DOMString markName, optional PerformanceMarkOptions markOptions = {});
|
|
28
28
|
readonly attribute any detail;
|
|
29
29
|
};
|
|
30
30
|
|
|
31
|
-
[Exposed
|
|
31
|
+
[Exposed=*]
|
|
32
32
|
interface PerformanceMeasure : PerformanceEntry {
|
|
33
33
|
readonly attribute any detail;
|
|
34
34
|
};
|
package/webgpu.idl
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Source: WebGPU (https://gpuweb.github.io/gpuweb/)
|
|
5
5
|
|
|
6
6
|
interface mixin GPUObjectBase {
|
|
7
|
-
attribute USVString
|
|
7
|
+
attribute (USVString or undefined) label;
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
dictionary GPUObjectDescriptorBase {
|
|
@@ -181,6 +181,7 @@ dictionary GPUTextureDescriptor : GPUObjectDescriptorBase {
|
|
|
181
181
|
GPUTextureDimension dimension = "2d";
|
|
182
182
|
required GPUTextureFormat format;
|
|
183
183
|
required GPUTextureUsageFlags usage;
|
|
184
|
+
sequence<GPUTextureFormat> viewFormats = [];
|
|
184
185
|
};
|
|
185
186
|
|
|
186
187
|
enum GPUTextureDimension {
|
|
@@ -882,7 +883,7 @@ interface mixin GPUDebugCommandsMixin {
|
|
|
882
883
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
883
884
|
interface GPUComputePassEncoder {
|
|
884
885
|
undefined setPipeline(GPUComputePipeline pipeline);
|
|
885
|
-
undefined dispatch(GPUSize32
|
|
886
|
+
undefined dispatch(GPUSize32 workgroupCountX, optional GPUSize32 workgroupCountY = 1, optional GPUSize32 workgroupCountZ = 1);
|
|
886
887
|
undefined dispatchIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
|
887
888
|
|
|
888
889
|
undefined endPass();
|
|
@@ -974,24 +975,28 @@ dictionary GPURenderPassColorAttachment {
|
|
|
974
975
|
required GPUTextureView view;
|
|
975
976
|
GPUTextureView resolveTarget;
|
|
976
977
|
|
|
977
|
-
|
|
978
|
+
GPUColor clearValue;
|
|
979
|
+
required GPULoadOp loadOp;
|
|
978
980
|
required GPUStoreOp storeOp;
|
|
979
981
|
};
|
|
980
982
|
|
|
981
983
|
dictionary GPURenderPassDepthStencilAttachment {
|
|
982
984
|
required GPUTextureView view;
|
|
983
985
|
|
|
984
|
-
|
|
985
|
-
|
|
986
|
+
float depthClearValue = 0;
|
|
987
|
+
GPULoadOp depthLoadOp;
|
|
988
|
+
GPUStoreOp depthStoreOp;
|
|
986
989
|
boolean depthReadOnly = false;
|
|
987
990
|
|
|
988
|
-
|
|
989
|
-
|
|
991
|
+
GPUStencilValue stencilClearValue = 0;
|
|
992
|
+
GPULoadOp stencilLoadOp;
|
|
993
|
+
GPUStoreOp stencilStoreOp;
|
|
990
994
|
boolean stencilReadOnly = false;
|
|
991
995
|
};
|
|
992
996
|
|
|
993
997
|
enum GPULoadOp {
|
|
994
998
|
"load",
|
|
999
|
+
"clear",
|
|
995
1000
|
};
|
|
996
1001
|
|
|
997
1002
|
enum GPUStoreOp {
|
|
@@ -1090,6 +1095,7 @@ dictionary GPUCanvasConfiguration {
|
|
|
1090
1095
|
required GPUDevice device;
|
|
1091
1096
|
required GPUTextureFormat format;
|
|
1092
1097
|
GPUTextureUsageFlags usage = 0x10; // GPUTextureUsage.RENDER_ATTACHMENT
|
|
1098
|
+
sequence<GPUTextureFormat> viewFormats = [];
|
|
1093
1099
|
GPUPredefinedColorSpace colorSpace = "srgb";
|
|
1094
1100
|
GPUCanvasCompositingAlphaMode compositingAlphaMode = "opaque";
|
|
1095
1101
|
GPUExtent3D size;
|
|
@@ -77,6 +77,7 @@ dictionary RTCEncodedVideoFrameMetadata {
|
|
|
77
77
|
long spatialIndex;
|
|
78
78
|
long temporalIndex;
|
|
79
79
|
long synchronizationSource;
|
|
80
|
+
octet payloadType;
|
|
80
81
|
sequence<long> contributingSources;
|
|
81
82
|
};
|
|
82
83
|
|
|
@@ -92,6 +93,7 @@ interface RTCEncodedVideoFrame {
|
|
|
92
93
|
|
|
93
94
|
dictionary RTCEncodedAudioFrameMetadata {
|
|
94
95
|
long synchronizationSource;
|
|
96
|
+
octet payloadType;
|
|
95
97
|
sequence<long> contributingSources;
|
|
96
98
|
};
|
|
97
99
|
|
|
@@ -118,9 +120,15 @@ interface RTCRtpScriptTransformer {
|
|
|
118
120
|
readonly attribute ReadableStream readable;
|
|
119
121
|
readonly attribute WritableStream writable;
|
|
120
122
|
readonly attribute any options;
|
|
123
|
+
Promise<undefined> generateKeyFrame(optional sequence <DOMString> rids);
|
|
124
|
+
Promise<undefined> sendKeyFrameRequest();
|
|
121
125
|
};
|
|
122
126
|
|
|
123
127
|
[Exposed=Window]
|
|
124
128
|
interface RTCRtpScriptTransform {
|
|
125
129
|
constructor(Worker worker, optional any options, optional sequence<object> transfer);
|
|
126
130
|
};
|
|
131
|
+
|
|
132
|
+
partial interface RTCRtpSender {
|
|
133
|
+
Promise<undefined> generateKeyFrame(optional sequence <DOMString> rids);
|
|
134
|
+
};
|
package/webtransport.idl
CHANGED
|
@@ -58,6 +58,8 @@ dictionary WebTransportStats {
|
|
|
58
58
|
unsigned long numIncomingStreamsCreated;
|
|
59
59
|
unsigned long long bytesReceived;
|
|
60
60
|
unsigned long long packetsReceived;
|
|
61
|
+
DOMHighResTimeStamp smoothedRtt;
|
|
62
|
+
DOMHighResTimeStamp rttVariation;
|
|
61
63
|
DOMHighResTimeStamp minRtt;
|
|
62
64
|
unsigned long numReceivedDatagramsDropped;
|
|
63
65
|
};
|
package/mediacapture-depth.idl
DELETED
|
@@ -1,29 +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: Media Capture Depth Stream Extensions (https://w3c.github.io/mediacapture-depth/)
|
|
5
|
-
|
|
6
|
-
partial dictionary MediaTrackSupportedConstraints {
|
|
7
|
-
// Applies to both depth stream track and color stream track:
|
|
8
|
-
boolean videoKind = true;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
partial dictionary MediaTrackCapabilities {
|
|
12
|
-
// Applies to both depth stream track and color stream track:
|
|
13
|
-
DOMString videoKind;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
partial dictionary MediaTrackConstraintSet {
|
|
17
|
-
// Applies to both depth stream track and color stream track:
|
|
18
|
-
ConstrainDOMString videoKind;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
partial dictionary MediaTrackSettings {
|
|
22
|
-
// Applies to both depth stream track and color stream track:
|
|
23
|
-
DOMString videoKind;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
enum VideoKindEnum {
|
|
27
|
-
"color",
|
|
28
|
-
"depth"
|
|
29
|
-
};
|