@webref/idl 2.8.0 → 2.10.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/OES_draw_buffers_indexed.idl +1 -1
- package/app-history.idl +1 -1
- package/compute-pressure.idl +2 -2
- package/credential-management.idl +2 -0
- package/css-cascade.idl +18 -0
- package/css-highlight-api.idl +7 -0
- package/dom.idl +1 -0
- package/event-timing.idl +6 -0
- package/{geolocation-API.idl → geolocation.idl} +0 -0
- package/html.idl +12 -3
- package/manifest-incubations.idl +24 -0
- package/mediacapture-streams.idl +8 -0
- package/package.json +2 -2
- package/permissions.idl +0 -8
- package/priority-hints.idl +30 -0
- package/sanitizer-api.idl +4 -1
- package/secure-payment-confirmation.idl +1 -1
- package/streams.idl +4 -4
- package/trusted-types.idl +3 -0
- package/wasm-js-api.idl +1 -0
- package/web-locks.idl +1 -1
- package/web-nfc.idl +5 -0
- package/webauthn.idl +1 -1
- package/webcodecs.idl +1 -1
- package/webgpu.idl +16 -28
- package/webrtc.idl +6 -6
- package/webtransport.idl +2 -2
- package/{lighting-estimation.idl → webxr-lighting-estimation.idl} +0 -0
- package/window-controls-overlay.idl +3 -3
|
@@ -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/compute-pressure.idl
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Source: Compute Pressure API (https://wicg.github.io/compute-pressure/)
|
|
5
5
|
|
|
6
6
|
callback ComputePressureUpdateCallback = undefined (
|
|
7
|
-
|
|
7
|
+
ComputePressureEntry update,
|
|
8
8
|
ComputePressureObserver observer
|
|
9
9
|
);
|
|
10
10
|
|
|
@@ -18,7 +18,7 @@ interface ComputePressureObserver {
|
|
|
18
18
|
undefined unobserve();
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
dictionary
|
|
21
|
+
dictionary ComputePressureEntry {
|
|
22
22
|
double cpuSpeed;
|
|
23
23
|
double cpuUtilization;
|
|
24
24
|
ComputePressureObserverOptions options;
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
interface Credential {
|
|
8
8
|
readonly attribute USVString id;
|
|
9
9
|
readonly attribute DOMString type;
|
|
10
|
+
static boolean isConditionalMediationAvailable();
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
[SecureContext]
|
|
@@ -39,6 +40,7 @@ dictionary CredentialRequestOptions {
|
|
|
39
40
|
enum CredentialMediationRequirement {
|
|
40
41
|
"silent",
|
|
41
42
|
"optional",
|
|
43
|
+
"conditional",
|
|
42
44
|
"required"
|
|
43
45
|
};
|
|
44
46
|
|
package/css-cascade.idl
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: CSS Cascading and Inheritance Level 5 (https://drafts.csswg.org/css-cascade-5/)
|
|
5
|
+
|
|
6
|
+
partial interface CSSImportRule {
|
|
7
|
+
readonly attribute CSSOMString? layerName;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
[Exposed=Window]
|
|
11
|
+
interface CSSLayerBlockRule : CSSGroupingRule {
|
|
12
|
+
readonly attribute CSSOMString name;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
[Exposed=Window]
|
|
16
|
+
interface CSSLayerStatementRule : CSSRule {
|
|
17
|
+
readonly attribute FrozenArray<CSSOMString> nameList;
|
|
18
|
+
};
|
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/dom.idl
CHANGED
package/event-timing.idl
CHANGED
|
@@ -18,9 +18,15 @@ interface EventCounts {
|
|
|
18
18
|
readonly maplike<DOMString, unsigned long long>;
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
+
[Exposed=Window]
|
|
22
|
+
interface InteractionCounts {
|
|
23
|
+
readonly maplike<DOMString, unsigned long long>;
|
|
24
|
+
};
|
|
25
|
+
|
|
21
26
|
[Exposed=Window]
|
|
22
27
|
partial interface Performance {
|
|
23
28
|
[SameObject] readonly attribute EventCounts eventCounts;
|
|
29
|
+
[SameObject] readonly attribute InteractionCounts interactionCounts;
|
|
24
30
|
};
|
|
25
31
|
|
|
26
32
|
partial dictionary PerformanceObserverInit {
|
|
File without changes
|
package/html.idl
CHANGED
|
@@ -933,6 +933,8 @@ interface HTMLInputElement : HTMLElement {
|
|
|
933
933
|
undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
|
|
934
934
|
undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);
|
|
935
935
|
|
|
936
|
+
undefined showPicker();
|
|
937
|
+
|
|
936
938
|
// also has obsolete members
|
|
937
939
|
};
|
|
938
940
|
|
|
@@ -1367,7 +1369,14 @@ interface mixin CanvasShadowStyles {
|
|
|
1367
1369
|
|
|
1368
1370
|
interface mixin CanvasFilters {
|
|
1369
1371
|
// filters
|
|
1370
|
-
attribute DOMString filter; // (default "none")
|
|
1372
|
+
attribute (DOMString or CanvasFilter) filter; // (default "none")
|
|
1373
|
+
};
|
|
1374
|
+
|
|
1375
|
+
typedef record<DOMString, any> CanvasFilterInput;
|
|
1376
|
+
|
|
1377
|
+
[Exposed=(Window,Worker,PaintWorklet)]
|
|
1378
|
+
interface CanvasFilter {
|
|
1379
|
+
constructor(optional (CanvasFilterInput or sequence<CanvasFilterInput>) filters);
|
|
1371
1380
|
};
|
|
1372
1381
|
|
|
1373
1382
|
interface mixin CanvasRect {
|
|
@@ -1993,9 +2002,9 @@ interface mixin WindowOrWorkerGlobalScope {
|
|
|
1993
2002
|
|
|
1994
2003
|
// timers
|
|
1995
2004
|
long setTimeout(TimerHandler handler, optional long timeout = 0, any... arguments);
|
|
1996
|
-
undefined clearTimeout(optional long
|
|
2005
|
+
undefined clearTimeout(optional long id = 0);
|
|
1997
2006
|
long setInterval(TimerHandler handler, optional long timeout = 0, any... arguments);
|
|
1998
|
-
undefined clearInterval(optional long
|
|
2007
|
+
undefined clearInterval(optional long id = 0);
|
|
1999
2008
|
|
|
2000
2009
|
// microtask queuing
|
|
2001
2010
|
undefined queueMicrotask(VoidFunction callback);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Manifest Incubations (https://wicg.github.io/manifest-incubations/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface BeforeInstallPromptEvent : Event {
|
|
8
|
+
constructor(DOMString type, optional EventInit eventInitDict = {});
|
|
9
|
+
Promise<PromptResponseObject> prompt();
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
dictionary PromptResponseObject {
|
|
13
|
+
AppBannerPromptOutcome userChoice;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
enum AppBannerPromptOutcome {
|
|
17
|
+
"accepted",
|
|
18
|
+
"dismissed"
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
partial interface Window {
|
|
22
|
+
attribute EventHandler onappinstalled;
|
|
23
|
+
attribute EventHandler onbeforeinstallprompt;
|
|
24
|
+
};
|
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webref/idl",
|
|
3
3
|
"description": "Web IDL definitions of the web platform",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.10.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/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
|
-
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Priority Hints (https://wicg.github.io/priority-hints/)
|
|
5
|
+
|
|
6
|
+
enum Importance { "high", "low", "auto" };
|
|
7
|
+
|
|
8
|
+
partial interface Request {
|
|
9
|
+
readonly attribute Importance importance;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
partial dictionary RequestInit {
|
|
13
|
+
Importance importance;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
partial interface HTMLImageElement {
|
|
17
|
+
[CEReactions] attribute DOMString importance;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
partial interface HTMLLinkElement {
|
|
21
|
+
[CEReactions] attribute DOMString importance;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
partial interface HTMLScriptElement {
|
|
25
|
+
[CEReactions] attribute DOMString importance;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
partial interface HTMLIFrameElement {
|
|
29
|
+
[CEReactions] attribute DOMString importance;
|
|
30
|
+
};
|
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 {
|
|
@@ -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: Secure Payment Confirmation (https://w3c.github.io/secure-payment-confirmation)
|
|
4
|
+
// Source: Secure Payment Confirmation (https://w3c.github.io/secure-payment-confirmation/)
|
|
5
5
|
|
|
6
6
|
dictionary SecurePaymentConfirmationRequest {
|
|
7
7
|
required BufferSource challenge;
|
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/trusted-types.idl
CHANGED
|
@@ -7,18 +7,21 @@
|
|
|
7
7
|
interface TrustedHTML {
|
|
8
8
|
stringifier;
|
|
9
9
|
DOMString toJSON();
|
|
10
|
+
static TrustedHTML fromLiteral(object templateStringsArray);
|
|
10
11
|
};
|
|
11
12
|
|
|
12
13
|
[Exposed=(Window,Worker)]
|
|
13
14
|
interface TrustedScript {
|
|
14
15
|
stringifier;
|
|
15
16
|
DOMString toJSON();
|
|
17
|
+
static TrustedScript fromLiteral(object templateStringsArray);
|
|
16
18
|
};
|
|
17
19
|
|
|
18
20
|
[Exposed=(Window,Worker)]
|
|
19
21
|
interface TrustedScriptURL {
|
|
20
22
|
stringifier;
|
|
21
23
|
USVString toJSON();
|
|
24
|
+
static TrustedScriptURL fromLiteral(object templateStringsArray);
|
|
22
25
|
};
|
|
23
26
|
|
|
24
27
|
[Exposed=(Window,Worker)] interface TrustedTypePolicyFactory {
|
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/web-nfc.idl
CHANGED
|
@@ -51,6 +51,7 @@ interface NDEFReader : EventTarget {
|
|
|
51
51
|
Promise<undefined> scan(optional NDEFScanOptions options={});
|
|
52
52
|
Promise<undefined> write(NDEFMessageSource message,
|
|
53
53
|
optional NDEFWriteOptions options={});
|
|
54
|
+
Promise<undefined> makeReadOnly(optional NDEFMakeReadOnlyOptions options={});
|
|
54
55
|
};
|
|
55
56
|
|
|
56
57
|
[SecureContext, Exposed=Window]
|
|
@@ -71,6 +72,10 @@ dictionary NDEFWriteOptions {
|
|
|
71
72
|
AbortSignal? signal;
|
|
72
73
|
};
|
|
73
74
|
|
|
75
|
+
dictionary NDEFMakeReadOnlyOptions {
|
|
76
|
+
AbortSignal? signal;
|
|
77
|
+
};
|
|
78
|
+
|
|
74
79
|
dictionary NDEFScanOptions {
|
|
75
80
|
AbortSignal signal;
|
|
76
81
|
};
|
package/webauthn.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 Authentication: An API for accessing Public Key Credentials - Level
|
|
4
|
+
// Source: Web Authentication: An API for accessing Public Key Credentials - Level (https://w3c.github.io/webauthn/)
|
|
5
5
|
|
|
6
6
|
[SecureContext, Exposed=Window]
|
|
7
7
|
interface PublicKeyCredential : Credential {
|
package/webcodecs.idl
CHANGED
|
@@ -91,7 +91,7 @@ interface VideoEncoder {
|
|
|
91
91
|
undefined reset();
|
|
92
92
|
undefined close();
|
|
93
93
|
|
|
94
|
-
static Promise<
|
|
94
|
+
static Promise<VideoEncoderSupport> isConfigSupported(VideoEncoderConfig config);
|
|
95
95
|
};
|
|
96
96
|
|
|
97
97
|
dictionary VideoEncoderInit {
|
package/webgpu.idl
CHANGED
|
@@ -90,7 +90,6 @@ enum GPUFeatureName {
|
|
|
90
90
|
"depth-clip-control",
|
|
91
91
|
"depth24unorm-stencil8",
|
|
92
92
|
"depth32float-stencil8",
|
|
93
|
-
"pipeline-statistics-query",
|
|
94
93
|
"texture-compression-bc",
|
|
95
94
|
"texture-compression-etc2",
|
|
96
95
|
"texture-compression-astc",
|
|
@@ -278,13 +277,19 @@ enum GPUTextureFormat {
|
|
|
278
277
|
"rgba32sint",
|
|
279
278
|
"rgba32float",
|
|
280
279
|
|
|
281
|
-
// Depth
|
|
280
|
+
// Depth/stencil formats
|
|
282
281
|
"stencil8",
|
|
283
282
|
"depth16unorm",
|
|
284
283
|
"depth24plus",
|
|
285
284
|
"depth24plus-stencil8",
|
|
286
285
|
"depth32float",
|
|
287
286
|
|
|
287
|
+
// "depth24unorm-stencil8" feature
|
|
288
|
+
"depth24unorm-stencil8",
|
|
289
|
+
|
|
290
|
+
// "depth32float-stencil8" feature
|
|
291
|
+
"depth32float-stencil8",
|
|
292
|
+
|
|
288
293
|
// BC compressed formats usable if "texture-compression-bc" is both
|
|
289
294
|
// supported by the device/user agent and enabled in requestDevice.
|
|
290
295
|
"bc1-rgba-unorm",
|
|
@@ -345,12 +350,6 @@ enum GPUTextureFormat {
|
|
|
345
350
|
"astc-12x10-unorm-srgb",
|
|
346
351
|
"astc-12x12-unorm",
|
|
347
352
|
"astc-12x12-unorm-srgb",
|
|
348
|
-
|
|
349
|
-
// "depth24unorm-stencil8" feature
|
|
350
|
-
"depth24unorm-stencil8",
|
|
351
|
-
|
|
352
|
-
// "depth32float-stencil8" feature
|
|
353
|
-
"depth32float-stencil8",
|
|
354
353
|
};
|
|
355
354
|
|
|
356
355
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -518,9 +517,14 @@ interface GPUShaderModule {
|
|
|
518
517
|
};
|
|
519
518
|
GPUShaderModule includes GPUObjectBase;
|
|
520
519
|
|
|
520
|
+
dictionary GPUShaderModuleCompilationHint {
|
|
521
|
+
required GPUPipelineLayout layout;
|
|
522
|
+
};
|
|
523
|
+
|
|
521
524
|
dictionary GPUShaderModuleDescriptor : GPUObjectDescriptorBase {
|
|
522
525
|
required USVString code;
|
|
523
526
|
object sourceMap;
|
|
527
|
+
record<USVString, GPUShaderModuleCompilationHint> hints;
|
|
524
528
|
};
|
|
525
529
|
|
|
526
530
|
enum GPUCompilationMessageType {
|
|
@@ -805,10 +809,10 @@ interface GPUCommandEncoder {
|
|
|
805
809
|
GPUImageCopyTexture destination,
|
|
806
810
|
GPUExtent3D copySize);
|
|
807
811
|
|
|
808
|
-
undefined
|
|
809
|
-
GPUBuffer
|
|
810
|
-
GPUSize64
|
|
811
|
-
GPUSize64 size);
|
|
812
|
+
undefined clearBuffer(
|
|
813
|
+
GPUBuffer buffer,
|
|
814
|
+
optional GPUSize64 offset = 0,
|
|
815
|
+
optional GPUSize64 size);
|
|
812
816
|
|
|
813
817
|
undefined pushDebugGroup(USVString groupLabel);
|
|
814
818
|
undefined popDebugGroup();
|
|
@@ -877,9 +881,6 @@ interface GPUComputePassEncoder {
|
|
|
877
881
|
undefined dispatch(GPUSize32 x, optional GPUSize32 y = 1, optional GPUSize32 z = 1);
|
|
878
882
|
undefined dispatchIndirect(GPUBuffer indirectBuffer, GPUSize64 indirectOffset);
|
|
879
883
|
|
|
880
|
-
undefined beginPipelineStatisticsQuery(GPUQuerySet querySet, GPUSize32 queryIndex);
|
|
881
|
-
undefined endPipelineStatisticsQuery();
|
|
882
|
-
|
|
883
884
|
undefined endPass();
|
|
884
885
|
};
|
|
885
886
|
GPUComputePassEncoder includes GPUObjectBase;
|
|
@@ -934,9 +935,6 @@ interface GPURenderPassEncoder {
|
|
|
934
935
|
undefined beginOcclusionQuery(GPUSize32 queryIndex);
|
|
935
936
|
undefined endOcclusionQuery();
|
|
936
937
|
|
|
937
|
-
undefined beginPipelineStatisticsQuery(GPUQuerySet querySet, GPUSize32 queryIndex);
|
|
938
|
-
undefined endPipelineStatisticsQuery();
|
|
939
|
-
|
|
940
938
|
undefined executeBundles(sequence<GPURenderBundle> bundles);
|
|
941
939
|
undefined endPass();
|
|
942
940
|
};
|
|
@@ -1055,23 +1053,13 @@ GPUQuerySet includes GPUObjectBase;
|
|
|
1055
1053
|
dictionary GPUQuerySetDescriptor : GPUObjectDescriptorBase {
|
|
1056
1054
|
required GPUQueryType type;
|
|
1057
1055
|
required GPUSize32 count;
|
|
1058
|
-
sequence<GPUPipelineStatisticName> pipelineStatistics = [];
|
|
1059
1056
|
};
|
|
1060
1057
|
|
|
1061
1058
|
enum GPUQueryType {
|
|
1062
1059
|
"occlusion",
|
|
1063
|
-
"pipeline-statistics",
|
|
1064
1060
|
"timestamp",
|
|
1065
1061
|
};
|
|
1066
1062
|
|
|
1067
|
-
enum GPUPipelineStatisticName {
|
|
1068
|
-
"vertex-shader-invocations",
|
|
1069
|
-
"clipper-invocations",
|
|
1070
|
-
"clipper-primitives-out",
|
|
1071
|
-
"fragment-shader-invocations",
|
|
1072
|
-
"compute-shader-invocations",
|
|
1073
|
-
};
|
|
1074
|
-
|
|
1075
1063
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
1076
1064
|
interface GPUCanvasContext {
|
|
1077
1065
|
readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas;
|
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]
|
package/webtransport.idl
CHANGED
|
File without changes
|
|
@@ -11,18 +11,18 @@ partial interface Navigator {
|
|
|
11
11
|
[Exposed=Window]
|
|
12
12
|
interface WindowControlsOverlay : EventTarget {
|
|
13
13
|
readonly attribute boolean visible;
|
|
14
|
-
DOMRect
|
|
14
|
+
DOMRect getTitlebarAreaRect();
|
|
15
15
|
attribute EventHandler ongeometrychange;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
[Exposed=Window]
|
|
19
19
|
interface WindowControlsOverlayGeometryChangeEvent : Event {
|
|
20
20
|
constructor(DOMString type, WindowControlsOverlayGeometryChangeEventInit eventInitDict);
|
|
21
|
-
[SameObject] readonly attribute DOMRect
|
|
21
|
+
[SameObject] readonly attribute DOMRect titlebarAreaRect;
|
|
22
22
|
readonly attribute boolean visible;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
dictionary WindowControlsOverlayGeometryChangeEventInit : EventInit {
|
|
26
|
-
required DOMRect
|
|
26
|
+
required DOMRect titlebarAreaRect;
|
|
27
27
|
boolean visible = false;
|
|
28
28
|
};
|