@webref/idl 3.31.0 → 3.33.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/device-posture.idl +1 -2
- package/dom.idl +36 -0
- package/fenced-frame.idl +7 -2
- package/mediacapture-streams.idl +5 -5
- package/orientation-event.idl +2 -0
- package/package.json +1 -1
- package/scheduling-apis.idl +52 -6
- package/scroll-animations.idl +1 -0
- package/service-workers.idl +20 -0
- package/turtledove.idl +58 -7
- package/ua-client-hints.idl +4 -3
- package/wasm-js-api.idl +6 -0
- package/web-animations-2.idl +10 -0
- package/webcodecs-av1-codec-registration.idl +12 -0
- package/webgpu.idl +6 -0
- package/webtransport.idl +1 -0
- package/{window-placement.idl → window-management.idl} +1 -1
package/device-posture.idl
CHANGED
package/dom.idl
CHANGED
|
@@ -41,9 +41,11 @@ dictionary EventInit {
|
|
|
41
41
|
boolean cancelable = false;
|
|
42
42
|
boolean composed = false;
|
|
43
43
|
};
|
|
44
|
+
|
|
44
45
|
partial interface Window {
|
|
45
46
|
[Replaceable] readonly attribute (Event or undefined) event; // legacy
|
|
46
47
|
};
|
|
48
|
+
|
|
47
49
|
[Exposed=*]
|
|
48
50
|
interface CustomEvent : Event {
|
|
49
51
|
constructor(DOMString type, optional CustomEventInit eventInitDict = {});
|
|
@@ -56,6 +58,7 @@ interface CustomEvent : Event {
|
|
|
56
58
|
dictionary CustomEventInit : EventInit {
|
|
57
59
|
any detail = null;
|
|
58
60
|
};
|
|
61
|
+
|
|
59
62
|
[Exposed=*]
|
|
60
63
|
interface EventTarget {
|
|
61
64
|
constructor();
|
|
@@ -78,6 +81,7 @@ dictionary AddEventListenerOptions : EventListenerOptions {
|
|
|
78
81
|
boolean once = false;
|
|
79
82
|
AbortSignal signal;
|
|
80
83
|
};
|
|
84
|
+
|
|
81
85
|
[Exposed=*]
|
|
82
86
|
interface AbortController {
|
|
83
87
|
constructor();
|
|
@@ -86,6 +90,7 @@ interface AbortController {
|
|
|
86
90
|
|
|
87
91
|
undefined abort(optional any reason);
|
|
88
92
|
};
|
|
93
|
+
|
|
89
94
|
[Exposed=*]
|
|
90
95
|
interface AbortSignal : EventTarget {
|
|
91
96
|
[NewObject] static AbortSignal abort(optional any reason);
|
|
@@ -102,10 +107,12 @@ interface mixin NonElementParentNode {
|
|
|
102
107
|
};
|
|
103
108
|
Document includes NonElementParentNode;
|
|
104
109
|
DocumentFragment includes NonElementParentNode;
|
|
110
|
+
|
|
105
111
|
interface mixin DocumentOrShadowRoot {
|
|
106
112
|
};
|
|
107
113
|
Document includes DocumentOrShadowRoot;
|
|
108
114
|
ShadowRoot includes DocumentOrShadowRoot;
|
|
115
|
+
|
|
109
116
|
interface mixin ParentNode {
|
|
110
117
|
[SameObject] readonly attribute HTMLCollection children;
|
|
111
118
|
readonly attribute Element? firstElementChild;
|
|
@@ -122,12 +129,14 @@ interface mixin ParentNode {
|
|
|
122
129
|
Document includes ParentNode;
|
|
123
130
|
DocumentFragment includes ParentNode;
|
|
124
131
|
Element includes ParentNode;
|
|
132
|
+
|
|
125
133
|
interface mixin NonDocumentTypeChildNode {
|
|
126
134
|
readonly attribute Element? previousElementSibling;
|
|
127
135
|
readonly attribute Element? nextElementSibling;
|
|
128
136
|
};
|
|
129
137
|
Element includes NonDocumentTypeChildNode;
|
|
130
138
|
CharacterData includes NonDocumentTypeChildNode;
|
|
139
|
+
|
|
131
140
|
interface mixin ChildNode {
|
|
132
141
|
[CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
|
|
133
142
|
[CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);
|
|
@@ -137,23 +146,27 @@ interface mixin ChildNode {
|
|
|
137
146
|
DocumentType includes ChildNode;
|
|
138
147
|
Element includes ChildNode;
|
|
139
148
|
CharacterData includes ChildNode;
|
|
149
|
+
|
|
140
150
|
interface mixin Slottable {
|
|
141
151
|
readonly attribute HTMLSlotElement? assignedSlot;
|
|
142
152
|
};
|
|
143
153
|
Element includes Slottable;
|
|
144
154
|
Text includes Slottable;
|
|
155
|
+
|
|
145
156
|
[Exposed=Window]
|
|
146
157
|
interface NodeList {
|
|
147
158
|
getter Node? item(unsigned long index);
|
|
148
159
|
readonly attribute unsigned long length;
|
|
149
160
|
iterable<Node>;
|
|
150
161
|
};
|
|
162
|
+
|
|
151
163
|
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
|
152
164
|
interface HTMLCollection {
|
|
153
165
|
readonly attribute unsigned long length;
|
|
154
166
|
getter Element? item(unsigned long index);
|
|
155
167
|
getter Element? namedItem(DOMString name);
|
|
156
168
|
};
|
|
169
|
+
|
|
157
170
|
[Exposed=Window]
|
|
158
171
|
interface MutationObserver {
|
|
159
172
|
constructor(MutationCallback callback);
|
|
@@ -174,6 +187,7 @@ dictionary MutationObserverInit {
|
|
|
174
187
|
boolean characterDataOldValue;
|
|
175
188
|
sequence<DOMString> attributeFilter;
|
|
176
189
|
};
|
|
190
|
+
|
|
177
191
|
[Exposed=Window]
|
|
178
192
|
interface MutationRecord {
|
|
179
193
|
readonly attribute DOMString type;
|
|
@@ -186,6 +200,7 @@ interface MutationRecord {
|
|
|
186
200
|
readonly attribute DOMString? attributeNamespace;
|
|
187
201
|
readonly attribute DOMString? oldValue;
|
|
188
202
|
};
|
|
203
|
+
|
|
189
204
|
[Exposed=Window]
|
|
190
205
|
interface Node : EventTarget {
|
|
191
206
|
const unsigned short ELEMENT_NODE = 1;
|
|
@@ -247,6 +262,7 @@ interface Node : EventTarget {
|
|
|
247
262
|
dictionary GetRootNodeOptions {
|
|
248
263
|
boolean composed = false;
|
|
249
264
|
};
|
|
265
|
+
|
|
250
266
|
[Exposed=Window]
|
|
251
267
|
interface Document : Node {
|
|
252
268
|
constructor();
|
|
@@ -295,6 +311,7 @@ interface XMLDocument : Document {};
|
|
|
295
311
|
dictionary ElementCreationOptions {
|
|
296
312
|
DOMString is;
|
|
297
313
|
};
|
|
314
|
+
|
|
298
315
|
[Exposed=Window]
|
|
299
316
|
interface DOMImplementation {
|
|
300
317
|
[NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
|
|
@@ -303,16 +320,19 @@ interface DOMImplementation {
|
|
|
303
320
|
|
|
304
321
|
boolean hasFeature(); // useless; always returns true
|
|
305
322
|
};
|
|
323
|
+
|
|
306
324
|
[Exposed=Window]
|
|
307
325
|
interface DocumentType : Node {
|
|
308
326
|
readonly attribute DOMString name;
|
|
309
327
|
readonly attribute DOMString publicId;
|
|
310
328
|
readonly attribute DOMString systemId;
|
|
311
329
|
};
|
|
330
|
+
|
|
312
331
|
[Exposed=Window]
|
|
313
332
|
interface DocumentFragment : Node {
|
|
314
333
|
constructor();
|
|
315
334
|
};
|
|
335
|
+
|
|
316
336
|
[Exposed=Window]
|
|
317
337
|
interface ShadowRoot : DocumentFragment {
|
|
318
338
|
readonly attribute ShadowRootMode mode;
|
|
@@ -324,6 +344,7 @@ interface ShadowRoot : DocumentFragment {
|
|
|
324
344
|
|
|
325
345
|
enum ShadowRootMode { "open", "closed" };
|
|
326
346
|
enum SlotAssignmentMode { "manual", "named" };
|
|
347
|
+
|
|
327
348
|
[Exposed=Window]
|
|
328
349
|
interface Element : Node {
|
|
329
350
|
readonly attribute DOMString? namespaceURI;
|
|
@@ -375,6 +396,7 @@ dictionary ShadowRootInit {
|
|
|
375
396
|
boolean delegatesFocus = false;
|
|
376
397
|
SlotAssignmentMode slotAssignment = "named";
|
|
377
398
|
};
|
|
399
|
+
|
|
378
400
|
[Exposed=Window,
|
|
379
401
|
LegacyUnenumerableNamedProperties]
|
|
380
402
|
interface NamedNodeMap {
|
|
@@ -387,6 +409,7 @@ interface NamedNodeMap {
|
|
|
387
409
|
[CEReactions] Attr removeNamedItem(DOMString qualifiedName);
|
|
388
410
|
[CEReactions] Attr removeNamedItemNS(DOMString? namespace, DOMString localName);
|
|
389
411
|
};
|
|
412
|
+
|
|
390
413
|
[Exposed=Window]
|
|
391
414
|
interface Attr : Node {
|
|
392
415
|
readonly attribute DOMString? namespaceURI;
|
|
@@ -409,6 +432,7 @@ interface CharacterData : Node {
|
|
|
409
432
|
undefined deleteData(unsigned long offset, unsigned long count);
|
|
410
433
|
undefined replaceData(unsigned long offset, unsigned long count, DOMString data);
|
|
411
434
|
};
|
|
435
|
+
|
|
412
436
|
[Exposed=Window]
|
|
413
437
|
interface Text : CharacterData {
|
|
414
438
|
constructor(optional DOMString data = "");
|
|
@@ -416,6 +440,7 @@ interface Text : CharacterData {
|
|
|
416
440
|
[NewObject] Text splitText(unsigned long offset);
|
|
417
441
|
readonly attribute DOMString wholeText;
|
|
418
442
|
};
|
|
443
|
+
|
|
419
444
|
[Exposed=Window]
|
|
420
445
|
interface CDATASection : Text {
|
|
421
446
|
};
|
|
@@ -427,6 +452,7 @@ interface ProcessingInstruction : CharacterData {
|
|
|
427
452
|
interface Comment : CharacterData {
|
|
428
453
|
constructor(optional DOMString data = "");
|
|
429
454
|
};
|
|
455
|
+
|
|
430
456
|
[Exposed=Window]
|
|
431
457
|
interface AbstractRange {
|
|
432
458
|
readonly attribute Node startContainer;
|
|
@@ -435,6 +461,7 @@ interface AbstractRange {
|
|
|
435
461
|
readonly attribute unsigned long endOffset;
|
|
436
462
|
readonly attribute boolean collapsed;
|
|
437
463
|
};
|
|
464
|
+
|
|
438
465
|
dictionary StaticRangeInit {
|
|
439
466
|
required Node startContainer;
|
|
440
467
|
required unsigned long startOffset;
|
|
@@ -446,6 +473,7 @@ dictionary StaticRangeInit {
|
|
|
446
473
|
interface StaticRange : AbstractRange {
|
|
447
474
|
constructor(StaticRangeInit init);
|
|
448
475
|
};
|
|
476
|
+
|
|
449
477
|
[Exposed=Window]
|
|
450
478
|
interface Range : AbstractRange {
|
|
451
479
|
constructor();
|
|
@@ -484,6 +512,7 @@ interface Range : AbstractRange {
|
|
|
484
512
|
|
|
485
513
|
stringifier;
|
|
486
514
|
};
|
|
515
|
+
|
|
487
516
|
[Exposed=Window]
|
|
488
517
|
interface NodeIterator {
|
|
489
518
|
[SameObject] readonly attribute Node root;
|
|
@@ -497,6 +526,7 @@ interface NodeIterator {
|
|
|
497
526
|
|
|
498
527
|
undefined detach();
|
|
499
528
|
};
|
|
529
|
+
|
|
500
530
|
[Exposed=Window]
|
|
501
531
|
interface TreeWalker {
|
|
502
532
|
[SameObject] readonly attribute Node root;
|
|
@@ -536,6 +566,7 @@ callback interface NodeFilter {
|
|
|
536
566
|
|
|
537
567
|
unsigned short acceptNode(Node node);
|
|
538
568
|
};
|
|
569
|
+
|
|
539
570
|
[Exposed=Window]
|
|
540
571
|
interface DOMTokenList {
|
|
541
572
|
readonly attribute unsigned long length;
|
|
@@ -549,6 +580,7 @@ interface DOMTokenList {
|
|
|
549
580
|
[CEReactions] stringifier attribute DOMString value;
|
|
550
581
|
iterable<DOMString>;
|
|
551
582
|
};
|
|
583
|
+
|
|
552
584
|
[Exposed=Window]
|
|
553
585
|
interface XPathResult {
|
|
554
586
|
const unsigned short ANY_TYPE = 0;
|
|
@@ -573,11 +605,13 @@ interface XPathResult {
|
|
|
573
605
|
Node? iterateNext();
|
|
574
606
|
Node? snapshotItem(unsigned long index);
|
|
575
607
|
};
|
|
608
|
+
|
|
576
609
|
[Exposed=Window]
|
|
577
610
|
interface XPathExpression {
|
|
578
611
|
// XPathResult.ANY_TYPE = 0
|
|
579
612
|
XPathResult evaluate(Node contextNode, optional unsigned short type = 0, optional XPathResult? result = null);
|
|
580
613
|
};
|
|
614
|
+
|
|
581
615
|
callback interface XPathNSResolver {
|
|
582
616
|
DOMString? lookupNamespaceURI(DOMString? prefix);
|
|
583
617
|
};
|
|
@@ -589,12 +623,14 @@ interface mixin XPathEvaluatorBase {
|
|
|
589
623
|
XPathResult evaluate(DOMString expression, Node contextNode, optional XPathNSResolver? resolver = null, optional unsigned short type = 0, optional XPathResult? result = null);
|
|
590
624
|
};
|
|
591
625
|
Document includes XPathEvaluatorBase;
|
|
626
|
+
|
|
592
627
|
[Exposed=Window]
|
|
593
628
|
interface XPathEvaluator {
|
|
594
629
|
constructor();
|
|
595
630
|
};
|
|
596
631
|
|
|
597
632
|
XPathEvaluator includes XPathEvaluatorBase;
|
|
633
|
+
|
|
598
634
|
[Exposed=Window]
|
|
599
635
|
interface XSLTProcessor {
|
|
600
636
|
constructor();
|
package/fenced-frame.idl
CHANGED
|
@@ -29,18 +29,23 @@ enum FenceReportingDestination {
|
|
|
29
29
|
"buyer",
|
|
30
30
|
"seller",
|
|
31
31
|
"component-seller",
|
|
32
|
+
"direct-seller",
|
|
32
33
|
"shared-storage-select-url",
|
|
33
34
|
};
|
|
34
35
|
|
|
35
36
|
dictionary FenceEvent {
|
|
36
37
|
required DOMString eventType;
|
|
37
38
|
required DOMString eventData;
|
|
38
|
-
required sequence<
|
|
39
|
+
required sequence<FenceReportingDestination> destination;
|
|
39
40
|
};
|
|
40
41
|
|
|
42
|
+
typedef (FenceEvent or DOMString) ReportEventType;
|
|
43
|
+
|
|
41
44
|
[Exposed=Window]
|
|
42
45
|
interface Fence {
|
|
43
|
-
undefined reportEvent(
|
|
46
|
+
undefined reportEvent(ReportEventType event);
|
|
47
|
+
undefined setReportEventDataForAutomaticBeacons(FenceEvent event);
|
|
48
|
+
sequence<FencedFrameConfig> getNestedConfigs();
|
|
44
49
|
};
|
|
45
50
|
|
|
46
51
|
partial interface Window {
|
package/mediacapture-streams.idl
CHANGED
|
@@ -104,19 +104,19 @@ dictionary MediaTrackConstraintSet {
|
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
dictionary MediaTrackSettings {
|
|
107
|
-
long width;
|
|
108
|
-
long height;
|
|
107
|
+
unsigned long width;
|
|
108
|
+
unsigned long height;
|
|
109
109
|
double aspectRatio;
|
|
110
110
|
double frameRate;
|
|
111
111
|
DOMString facingMode;
|
|
112
112
|
DOMString resizeMode;
|
|
113
|
-
long sampleRate;
|
|
114
|
-
long sampleSize;
|
|
113
|
+
unsigned long sampleRate;
|
|
114
|
+
unsigned long sampleSize;
|
|
115
115
|
boolean echoCancellation;
|
|
116
116
|
boolean autoGainControl;
|
|
117
117
|
boolean noiseSuppression;
|
|
118
118
|
double latency;
|
|
119
|
-
long channelCount;
|
|
119
|
+
unsigned long channelCount;
|
|
120
120
|
DOMString deviceId;
|
|
121
121
|
DOMString groupId;
|
|
122
122
|
};
|
package/orientation-event.idl
CHANGED
|
@@ -24,9 +24,11 @@ dictionary DeviceOrientationEventInit : EventInit {
|
|
|
24
24
|
double? gamma = null;
|
|
25
25
|
boolean absolute = false;
|
|
26
26
|
};
|
|
27
|
+
|
|
27
28
|
partial interface Window {
|
|
28
29
|
[SecureContext] attribute EventHandler ondeviceorientationabsolute;
|
|
29
30
|
};
|
|
31
|
+
|
|
30
32
|
partial interface Window {
|
|
31
33
|
[SecureContext] attribute EventHandler ondevicemotion;
|
|
32
34
|
};
|
package/package.json
CHANGED
package/scheduling-apis.idl
CHANGED
|
@@ -3,9 +3,55 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Prioritized Task Scheduling (https://wicg.github.io/scheduling-apis/)
|
|
5
5
|
|
|
6
|
-
enum TaskPriority {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
enum TaskPriority {
|
|
7
|
+
"user-blocking",
|
|
8
|
+
"user-visible",
|
|
9
|
+
"background"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
dictionary SchedulerPostTaskOptions {
|
|
13
|
+
AbortSignal signal;
|
|
14
|
+
TaskPriority priority;
|
|
15
|
+
[EnforceRange] unsigned long long delay = 0;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
callback SchedulerPostTaskCallback = any ();
|
|
19
|
+
|
|
20
|
+
[Exposed=(Window, Worker)]
|
|
21
|
+
interface Scheduler {
|
|
22
|
+
Promise<any> postTask(SchedulerPostTaskCallback callback,
|
|
23
|
+
optional SchedulerPostTaskOptions options = {});
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
[Exposed=(Window, Worker)]
|
|
27
|
+
interface TaskPriorityChangeEvent : Event {
|
|
28
|
+
constructor(DOMString type, TaskPriorityChangeEventInit priorityChangeEventInitDict);
|
|
29
|
+
|
|
30
|
+
readonly attribute TaskPriority previousPriority;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
dictionary TaskPriorityChangeEventInit : EventInit {
|
|
34
|
+
required TaskPriority previousPriority;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
dictionary TaskControllerInit {
|
|
38
|
+
TaskPriority priority = "user-visible";
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
[Exposed=(Window,Worker)]
|
|
42
|
+
interface TaskController : AbortController {
|
|
43
|
+
constructor(optional TaskControllerInit init = {});
|
|
44
|
+
|
|
45
|
+
undefined setPriority(TaskPriority priority);
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
[Exposed=(Window, Worker)]
|
|
49
|
+
interface TaskSignal : AbortSignal {
|
|
50
|
+
readonly attribute TaskPriority priority;
|
|
51
|
+
|
|
52
|
+
attribute EventHandler onprioritychange;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
partial interface mixin WindowOrWorkerGlobalScope {
|
|
56
|
+
[Replaceable] readonly attribute Scheduler scheduler;
|
|
57
|
+
};
|
package/scroll-animations.idl
CHANGED
package/service-workers.idl
CHANGED
|
@@ -23,6 +23,7 @@ enum ServiceWorkerState {
|
|
|
23
23
|
"activated",
|
|
24
24
|
"redundant"
|
|
25
25
|
};
|
|
26
|
+
|
|
26
27
|
[SecureContext, Exposed=(Window,Worker)]
|
|
27
28
|
interface ServiceWorkerRegistration : EventTarget {
|
|
28
29
|
readonly attribute ServiceWorker? installing;
|
|
@@ -45,6 +46,7 @@ enum ServiceWorkerUpdateViaCache {
|
|
|
45
46
|
"all",
|
|
46
47
|
"none"
|
|
47
48
|
};
|
|
49
|
+
|
|
48
50
|
partial interface Navigator {
|
|
49
51
|
[SecureContext, SameObject] readonly attribute ServiceWorkerContainer serviceWorker;
|
|
50
52
|
};
|
|
@@ -52,6 +54,7 @@ partial interface Navigator {
|
|
|
52
54
|
partial interface WorkerNavigator {
|
|
53
55
|
[SecureContext, SameObject] readonly attribute ServiceWorkerContainer serviceWorker;
|
|
54
56
|
};
|
|
57
|
+
|
|
55
58
|
[SecureContext, Exposed=(Window,Worker)]
|
|
56
59
|
interface ServiceWorkerContainer : EventTarget {
|
|
57
60
|
readonly attribute ServiceWorker? controller;
|
|
@@ -69,11 +72,13 @@ interface ServiceWorkerContainer : EventTarget {
|
|
|
69
72
|
attribute EventHandler onmessage; // event.source of message events is ServiceWorker object
|
|
70
73
|
attribute EventHandler onmessageerror;
|
|
71
74
|
};
|
|
75
|
+
|
|
72
76
|
dictionary RegistrationOptions {
|
|
73
77
|
USVString scope;
|
|
74
78
|
WorkerType type = "classic";
|
|
75
79
|
ServiceWorkerUpdateViaCache updateViaCache = "imports";
|
|
76
80
|
};
|
|
81
|
+
|
|
77
82
|
[SecureContext, Exposed=(Window,Worker)]
|
|
78
83
|
interface NavigationPreloadManager {
|
|
79
84
|
Promise<undefined> enable();
|
|
@@ -86,6 +91,7 @@ dictionary NavigationPreloadState {
|
|
|
86
91
|
boolean enabled = false;
|
|
87
92
|
ByteString headerValue;
|
|
88
93
|
};
|
|
94
|
+
|
|
89
95
|
[Global=(Worker,ServiceWorker), Exposed=ServiceWorker]
|
|
90
96
|
interface ServiceWorkerGlobalScope : WorkerGlobalScope {
|
|
91
97
|
[SameObject] readonly attribute Clients clients;
|
|
@@ -101,6 +107,7 @@ interface ServiceWorkerGlobalScope : WorkerGlobalScope {
|
|
|
101
107
|
attribute EventHandler onmessage;
|
|
102
108
|
attribute EventHandler onmessageerror;
|
|
103
109
|
};
|
|
110
|
+
|
|
104
111
|
[Exposed=ServiceWorker]
|
|
105
112
|
interface Client {
|
|
106
113
|
readonly attribute USVString url;
|
|
@@ -126,6 +133,7 @@ enum FrameType {
|
|
|
126
133
|
"nested",
|
|
127
134
|
"none"
|
|
128
135
|
};
|
|
136
|
+
|
|
129
137
|
[Exposed=ServiceWorker]
|
|
130
138
|
interface Clients {
|
|
131
139
|
// The objects returned will be new instances every time
|
|
@@ -134,24 +142,29 @@ interface Clients {
|
|
|
134
142
|
[NewObject] Promise<WindowClient?> openWindow(USVString url);
|
|
135
143
|
[NewObject] Promise<undefined> claim();
|
|
136
144
|
};
|
|
145
|
+
|
|
137
146
|
dictionary ClientQueryOptions {
|
|
138
147
|
boolean includeUncontrolled = false;
|
|
139
148
|
ClientType type = "window";
|
|
140
149
|
};
|
|
150
|
+
|
|
141
151
|
enum ClientType {
|
|
142
152
|
"window",
|
|
143
153
|
"worker",
|
|
144
154
|
"sharedworker",
|
|
145
155
|
"all"
|
|
146
156
|
};
|
|
157
|
+
|
|
147
158
|
[Exposed=ServiceWorker]
|
|
148
159
|
interface ExtendableEvent : Event {
|
|
149
160
|
constructor(DOMString type, optional ExtendableEventInit eventInitDict = {});
|
|
150
161
|
undefined waitUntil(Promise<any> f);
|
|
151
162
|
};
|
|
163
|
+
|
|
152
164
|
dictionary ExtendableEventInit : EventInit {
|
|
153
165
|
// Defined for the forward compatibility across the derived events
|
|
154
166
|
};
|
|
167
|
+
|
|
155
168
|
[Exposed=ServiceWorker]
|
|
156
169
|
interface FetchEvent : ExtendableEvent {
|
|
157
170
|
constructor(DOMString type, FetchEventInit eventInitDict);
|
|
@@ -164,6 +177,7 @@ interface FetchEvent : ExtendableEvent {
|
|
|
164
177
|
|
|
165
178
|
undefined respondWith(Promise<Response> r);
|
|
166
179
|
};
|
|
180
|
+
|
|
167
181
|
dictionary FetchEventInit : ExtendableEventInit {
|
|
168
182
|
required Request request;
|
|
169
183
|
Promise<any> preloadResponse;
|
|
@@ -172,6 +186,7 @@ dictionary FetchEventInit : ExtendableEventInit {
|
|
|
172
186
|
DOMString replacesClientId = "";
|
|
173
187
|
Promise<undefined> handled;
|
|
174
188
|
};
|
|
189
|
+
|
|
175
190
|
[Exposed=ServiceWorker]
|
|
176
191
|
interface ExtendableMessageEvent : ExtendableEvent {
|
|
177
192
|
constructor(DOMString type, optional ExtendableMessageEventInit eventInitDict = {});
|
|
@@ -181,6 +196,7 @@ interface ExtendableMessageEvent : ExtendableEvent {
|
|
|
181
196
|
[SameObject] readonly attribute (Client or ServiceWorker or MessagePort)? source;
|
|
182
197
|
readonly attribute FrozenArray<MessagePort> ports;
|
|
183
198
|
};
|
|
199
|
+
|
|
184
200
|
dictionary ExtendableMessageEventInit : ExtendableEventInit {
|
|
185
201
|
any data = null;
|
|
186
202
|
USVString origin = "";
|
|
@@ -188,9 +204,11 @@ dictionary ExtendableMessageEventInit : ExtendableEventInit {
|
|
|
188
204
|
(Client or ServiceWorker or MessagePort)? source = null;
|
|
189
205
|
sequence<MessagePort> ports = [];
|
|
190
206
|
};
|
|
207
|
+
|
|
191
208
|
partial interface mixin WindowOrWorkerGlobalScope {
|
|
192
209
|
[SecureContext, SameObject] readonly attribute CacheStorage caches;
|
|
193
210
|
};
|
|
211
|
+
|
|
194
212
|
[SecureContext, Exposed=(Window,Worker)]
|
|
195
213
|
interface Cache {
|
|
196
214
|
[NewObject] Promise<(Response or undefined)> match(RequestInfo request, optional CacheQueryOptions options = {});
|
|
@@ -201,11 +219,13 @@ interface Cache {
|
|
|
201
219
|
[NewObject] Promise<boolean> delete(RequestInfo request, optional CacheQueryOptions options = {});
|
|
202
220
|
[NewObject] Promise<FrozenArray<Request>> keys(optional RequestInfo request, optional CacheQueryOptions options = {});
|
|
203
221
|
};
|
|
222
|
+
|
|
204
223
|
dictionary CacheQueryOptions {
|
|
205
224
|
boolean ignoreSearch = false;
|
|
206
225
|
boolean ignoreMethod = false;
|
|
207
226
|
boolean ignoreVary = false;
|
|
208
227
|
};
|
|
228
|
+
|
|
209
229
|
[SecureContext, Exposed=(Window,Worker)]
|
|
210
230
|
interface CacheStorage {
|
|
211
231
|
[NewObject] Promise<(Response or undefined)> match(RequestInfo request, optional MultiCacheQueryOptions options = {});
|
package/turtledove.idl
CHANGED
|
@@ -9,7 +9,7 @@ partial interface Navigator {
|
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
dictionary AuctionAd {
|
|
12
|
-
required USVString
|
|
12
|
+
required USVString renderURL;
|
|
13
13
|
any metadata;
|
|
14
14
|
};
|
|
15
15
|
|
|
@@ -23,16 +23,26 @@ dictionary AuctionAdInterestGroup {
|
|
|
23
23
|
record<DOMString, double> prioritySignalsOverrides;
|
|
24
24
|
|
|
25
25
|
DOMString executionMode = "compatibility";
|
|
26
|
-
USVString
|
|
27
|
-
USVString
|
|
28
|
-
USVString
|
|
29
|
-
USVString
|
|
26
|
+
USVString biddingLogicURL;
|
|
27
|
+
USVString biddingWasmHelperURL;
|
|
28
|
+
USVString dailyUpdateURL;
|
|
29
|
+
USVString trustedBiddingSignalsURL;
|
|
30
30
|
sequence<USVString> trustedBiddingSignalsKeys;
|
|
31
31
|
any userBiddingSignals;
|
|
32
32
|
sequence<AuctionAd> ads;
|
|
33
33
|
sequence<AuctionAd> adComponents;
|
|
34
34
|
};
|
|
35
35
|
|
|
36
|
+
[SecureContext]
|
|
37
|
+
partial interface Navigator {
|
|
38
|
+
Promise<undefined> leaveAdInterestGroup(AuctionAdInterestGroupKey group);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
dictionary AuctionAdInterestGroupKey {
|
|
42
|
+
required USVString owner;
|
|
43
|
+
required USVString name;
|
|
44
|
+
};
|
|
45
|
+
|
|
36
46
|
[SecureContext]
|
|
37
47
|
partial interface Navigator {
|
|
38
48
|
Promise<USVString?> runAdAuction(AuctionAdConfig config);
|
|
@@ -40,8 +50,8 @@ partial interface Navigator {
|
|
|
40
50
|
|
|
41
51
|
dictionary AuctionAdConfig {
|
|
42
52
|
required USVString seller;
|
|
43
|
-
required USVString
|
|
44
|
-
USVString
|
|
53
|
+
required USVString decisionLogicURL;
|
|
54
|
+
USVString trustedScoringSignalsURL;
|
|
45
55
|
sequence<USVString> interestGroupBuyers;
|
|
46
56
|
any auctionSignals;
|
|
47
57
|
any sellerSignals;
|
|
@@ -56,3 +66,44 @@ dictionary AuctionAdConfig {
|
|
|
56
66
|
sequence<AuctionAdConfig> componentAuctions = [];
|
|
57
67
|
AbortSignal? signal;
|
|
58
68
|
};
|
|
69
|
+
|
|
70
|
+
[Exposed=InterestGroupBiddingScriptRunnerGlobalScope,
|
|
71
|
+
Global=InterestGroupBiddingScriptRunnerGlobalScope]
|
|
72
|
+
interface InterestGroupBiddingScriptRunnerGlobalScope {
|
|
73
|
+
boolean setBid();
|
|
74
|
+
boolean setBid(GenerateBidOutput generateBidOutput);
|
|
75
|
+
undefined setPriority(double priority);
|
|
76
|
+
undefined setPrioritySignalsOverride(DOMString key, double priority);
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
[Exposed=InterestGroupScoringScriptRunnerGlobalScope,
|
|
80
|
+
Global=InterestGroupScoringScriptRunnerGlobalScope]
|
|
81
|
+
interface InterestGroupScoringScriptRunnerGlobalScope {
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
[Exposed=InterestGroupReportingScriptRunnerGlobalScope,
|
|
85
|
+
Global=InterestGroupReportingScriptRunnerGlobalScope]
|
|
86
|
+
interface InterestGroupReportingScriptRunnerGlobalScope {
|
|
87
|
+
undefined sendReportTo(DOMString url);
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
dictionary AdRender {
|
|
91
|
+
required DOMString url;
|
|
92
|
+
required DOMString width;
|
|
93
|
+
required DOMString height;
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
dictionary GenerateBidOutput {
|
|
97
|
+
required double bid;
|
|
98
|
+
required (DOMString or AdRender) adRender;
|
|
99
|
+
DOMString ad;
|
|
100
|
+
sequence<(DOMString or AdRender)> adComponents;
|
|
101
|
+
double adCost;
|
|
102
|
+
double modelingSignals;
|
|
103
|
+
boolean allowComponentAuction = false;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
[SecureContext]
|
|
107
|
+
partial interface Navigator {
|
|
108
|
+
undefined updateAdInterestGroups();
|
|
109
|
+
};
|
package/ua-client-hints.idl
CHANGED
|
@@ -9,16 +9,17 @@ dictionary NavigatorUABrandVersion {
|
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
dictionary UADataValues {
|
|
12
|
-
sequence<NavigatorUABrandVersion> brands;
|
|
13
|
-
boolean mobile;
|
|
14
12
|
DOMString architecture;
|
|
15
13
|
DOMString bitness;
|
|
14
|
+
sequence<NavigatorUABrandVersion> brands;
|
|
15
|
+
DOMString formFactor;
|
|
16
|
+
sequence<NavigatorUABrandVersion> fullVersionList;
|
|
16
17
|
DOMString model;
|
|
18
|
+
boolean mobile;
|
|
17
19
|
DOMString platform;
|
|
18
20
|
DOMString platformVersion;
|
|
19
21
|
DOMString uaFullVersion; // deprecated in favor of fullVersionList
|
|
20
22
|
boolean wow64;
|
|
21
|
-
sequence<NavigatorUABrandVersion> fullVersionList;
|
|
22
23
|
};
|
|
23
24
|
|
|
24
25
|
dictionary UALowEntropyJSON {
|
package/wasm-js-api.idl
CHANGED
|
@@ -19,6 +19,7 @@ namespace WebAssembly {
|
|
|
19
19
|
Promise<Instance> instantiate(
|
|
20
20
|
Module moduleObject, optional object importObject);
|
|
21
21
|
};
|
|
22
|
+
|
|
22
23
|
enum ImportExportKind {
|
|
23
24
|
"function",
|
|
24
25
|
"table",
|
|
@@ -45,11 +46,13 @@ interface Module {
|
|
|
45
46
|
static sequence<ModuleImportDescriptor> imports(Module moduleObject);
|
|
46
47
|
static sequence<ArrayBuffer> customSections(Module moduleObject, DOMString sectionName);
|
|
47
48
|
};
|
|
49
|
+
|
|
48
50
|
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
49
51
|
interface Instance {
|
|
50
52
|
constructor(Module module, optional object importObject);
|
|
51
53
|
readonly attribute object exports;
|
|
52
54
|
};
|
|
55
|
+
|
|
53
56
|
dictionary MemoryDescriptor {
|
|
54
57
|
required [EnforceRange] unsigned long initial;
|
|
55
58
|
[EnforceRange] unsigned long maximum;
|
|
@@ -61,6 +64,7 @@ interface Memory {
|
|
|
61
64
|
unsigned long grow([EnforceRange] unsigned long delta);
|
|
62
65
|
readonly attribute ArrayBuffer buffer;
|
|
63
66
|
};
|
|
67
|
+
|
|
64
68
|
enum TableKind {
|
|
65
69
|
"externref",
|
|
66
70
|
"anyfunc",
|
|
@@ -82,6 +86,7 @@ interface Table {
|
|
|
82
86
|
undefined set([EnforceRange] unsigned long index, optional any value);
|
|
83
87
|
readonly attribute unsigned long length;
|
|
84
88
|
};
|
|
89
|
+
|
|
85
90
|
enum ValueType {
|
|
86
91
|
"i32",
|
|
87
92
|
"i64",
|
|
@@ -91,6 +96,7 @@ enum ValueType {
|
|
|
91
96
|
"externref",
|
|
92
97
|
"anyfunc",
|
|
93
98
|
};
|
|
99
|
+
|
|
94
100
|
dictionary GlobalDescriptor {
|
|
95
101
|
required ValueType value;
|
|
96
102
|
boolean mutable = false;
|
package/web-animations-2.idl
CHANGED
|
@@ -89,6 +89,16 @@ callback EffectCallback = undefined (double? progress,
|
|
|
89
89
|
(Element or CSSPseudoElement) currentTarget,
|
|
90
90
|
Animation animation);
|
|
91
91
|
|
|
92
|
+
dictionary TimelineRangeOffset {
|
|
93
|
+
CSSOMString? rangeName;
|
|
94
|
+
CSSNumericValue offset;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
partial dictionary KeyframeAnimationOptions {
|
|
98
|
+
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeStart = "normal";
|
|
99
|
+
(TimelineRangeOffset or CSSNumericValue or CSSKeywordValue or DOMString) rangeEnd = "normal";
|
|
100
|
+
};
|
|
101
|
+
|
|
92
102
|
[Exposed=Window]
|
|
93
103
|
interface AnimationPlaybackEvent : Event {
|
|
94
104
|
constructor(DOMString type, optional AnimationPlaybackEventInit
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: AV1 WebCodecs Registration (https://w3c.github.io/webcodecs/av1_codec_registration.html)
|
|
5
|
+
|
|
6
|
+
partial dictionary VideoEncoderEncodeOptions {
|
|
7
|
+
VideoEncoderEncodeOptionsForAv1 av1;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
dictionary VideoEncoderEncodeOptionsForAv1 {
|
|
11
|
+
unsigned short? quantizer;
|
|
12
|
+
};
|
package/webgpu.idl
CHANGED
|
@@ -52,6 +52,11 @@ interface GPUSupportedFeatures {
|
|
|
52
52
|
readonly setlike<DOMString>;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
|
+
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
56
|
+
interface WGSLLanguageFeatures {
|
|
57
|
+
readonly setlike<DOMString>;
|
|
58
|
+
};
|
|
59
|
+
|
|
55
60
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
56
61
|
interface GPUAdapterInfo {
|
|
57
62
|
readonly attribute DOMString vendor;
|
|
@@ -70,6 +75,7 @@ WorkerNavigator includes NavigatorGPU;
|
|
|
70
75
|
interface GPU {
|
|
71
76
|
Promise<GPUAdapter?> requestAdapter(optional GPURequestAdapterOptions options = {});
|
|
72
77
|
GPUTextureFormat getPreferredCanvasFormat();
|
|
78
|
+
[SameObject] readonly attribute WGSLLanguageFeatures wgslLanguageFeatures;
|
|
73
79
|
};
|
|
74
80
|
|
|
75
81
|
dictionary GPURequestAdapterOptions {
|
package/webtransport.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:
|
|
4
|
+
// Source: Window Management (https://w3c.github.io/window-management/)
|
|
5
5
|
|
|
6
6
|
partial interface Screen /* : EventTarget */ {
|
|
7
7
|
[SecureContext]
|