@webref/idl 3.30.0 → 3.31.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/badging.idl CHANGED
@@ -3,15 +3,11 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Badging API (https://w3c.github.io/badging/)
5
5
 
6
- [SecureContext]
7
- partial interface Navigator {
8
- Promise<undefined> setClientBadge(optional [EnforceRange] unsigned long long contents);
9
- Promise<undefined> clearClientBadge();
10
- };
11
-
12
6
  [SecureContext]
13
7
  interface mixin NavigatorBadge {
14
- Promise<undefined> setAppBadge(optional [EnforceRange] unsigned long long contents);
8
+ Promise<undefined> setAppBadge(
9
+ optional [EnforceRange] unsigned long long contents
10
+ );
15
11
  Promise<undefined> clearAppBadge();
16
12
  };
17
13
 
package/compression.idl CHANGED
@@ -3,14 +3,20 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Compression Streams (https://wicg.github.io/compression/)
5
5
 
6
+ enum CompressionFormat {
7
+ "deflate",
8
+ "deflate-raw",
9
+ "gzip",
10
+ };
11
+
6
12
  [Exposed=*]
7
13
  interface CompressionStream {
8
- constructor(DOMString format);
14
+ constructor(CompressionFormat format);
9
15
  };
10
16
  CompressionStream includes GenericTransformStream;
11
17
 
12
18
  [Exposed=*]
13
19
  interface DecompressionStream {
14
- constructor(DOMString format);
20
+ constructor(CompressionFormat format);
15
21
  };
16
22
  DecompressionStream includes GenericTransformStream;
@@ -3,17 +3,15 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Compute Pressure Level 1 (https://w3c.github.io/compute-pressure/)
5
5
 
6
- enum PressureState { "nominal", "fair", "serious", "critical" };
6
+ enum PressureSource { "thermals", "cpu" };
7
7
 
8
- enum PressureFactor { "thermal", "power-supply" };
8
+ enum PressureState { "nominal", "fair", "serious", "critical" };
9
9
 
10
10
  callback PressureUpdateCallback = undefined (
11
11
  sequence<PressureRecord> changes,
12
12
  PressureObserver observer
13
13
  );
14
14
 
15
- enum PressureSource { "cpu" };
16
-
17
15
  [Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
18
16
  interface PressureObserver {
19
17
  constructor(PressureUpdateCallback callback, optional PressureObserverOptions options = {});
@@ -30,7 +28,6 @@ interface PressureObserver {
30
28
  interface PressureRecord {
31
29
  readonly attribute PressureSource source;
32
30
  readonly attribute PressureState state;
33
- readonly attribute FrozenArray<PressureFactor> factors;
34
31
  readonly attribute DOMHighResTimeStamp time;
35
32
  [Default] object toJSON();
36
33
  };
package/dom.idl CHANGED
@@ -41,11 +41,9 @@ dictionary EventInit {
41
41
  boolean cancelable = false;
42
42
  boolean composed = false;
43
43
  };
44
-
45
44
  partial interface Window {
46
45
  [Replaceable] readonly attribute (Event or undefined) event; // legacy
47
46
  };
48
-
49
47
  [Exposed=*]
50
48
  interface CustomEvent : Event {
51
49
  constructor(DOMString type, optional CustomEventInit eventInitDict = {});
@@ -58,7 +56,6 @@ interface CustomEvent : Event {
58
56
  dictionary CustomEventInit : EventInit {
59
57
  any detail = null;
60
58
  };
61
-
62
59
  [Exposed=*]
63
60
  interface EventTarget {
64
61
  constructor();
@@ -81,7 +78,6 @@ dictionary AddEventListenerOptions : EventListenerOptions {
81
78
  boolean once = false;
82
79
  AbortSignal signal;
83
80
  };
84
-
85
81
  [Exposed=*]
86
82
  interface AbortController {
87
83
  constructor();
@@ -90,7 +86,6 @@ interface AbortController {
90
86
 
91
87
  undefined abort(optional any reason);
92
88
  };
93
-
94
89
  [Exposed=*]
95
90
  interface AbortSignal : EventTarget {
96
91
  [NewObject] static AbortSignal abort(optional any reason);
@@ -107,12 +102,10 @@ interface mixin NonElementParentNode {
107
102
  };
108
103
  Document includes NonElementParentNode;
109
104
  DocumentFragment includes NonElementParentNode;
110
-
111
105
  interface mixin DocumentOrShadowRoot {
112
106
  };
113
107
  Document includes DocumentOrShadowRoot;
114
108
  ShadowRoot includes DocumentOrShadowRoot;
115
-
116
109
  interface mixin ParentNode {
117
110
  [SameObject] readonly attribute HTMLCollection children;
118
111
  readonly attribute Element? firstElementChild;
@@ -129,14 +122,12 @@ interface mixin ParentNode {
129
122
  Document includes ParentNode;
130
123
  DocumentFragment includes ParentNode;
131
124
  Element includes ParentNode;
132
-
133
125
  interface mixin NonDocumentTypeChildNode {
134
126
  readonly attribute Element? previousElementSibling;
135
127
  readonly attribute Element? nextElementSibling;
136
128
  };
137
129
  Element includes NonDocumentTypeChildNode;
138
130
  CharacterData includes NonDocumentTypeChildNode;
139
-
140
131
  interface mixin ChildNode {
141
132
  [CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
142
133
  [CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);
@@ -146,27 +137,23 @@ interface mixin ChildNode {
146
137
  DocumentType includes ChildNode;
147
138
  Element includes ChildNode;
148
139
  CharacterData includes ChildNode;
149
-
150
140
  interface mixin Slottable {
151
141
  readonly attribute HTMLSlotElement? assignedSlot;
152
142
  };
153
143
  Element includes Slottable;
154
144
  Text includes Slottable;
155
-
156
145
  [Exposed=Window]
157
146
  interface NodeList {
158
147
  getter Node? item(unsigned long index);
159
148
  readonly attribute unsigned long length;
160
149
  iterable<Node>;
161
150
  };
162
-
163
151
  [Exposed=Window, LegacyUnenumerableNamedProperties]
164
152
  interface HTMLCollection {
165
153
  readonly attribute unsigned long length;
166
154
  getter Element? item(unsigned long index);
167
155
  getter Element? namedItem(DOMString name);
168
156
  };
169
-
170
157
  [Exposed=Window]
171
158
  interface MutationObserver {
172
159
  constructor(MutationCallback callback);
@@ -187,7 +174,6 @@ dictionary MutationObserverInit {
187
174
  boolean characterDataOldValue;
188
175
  sequence<DOMString> attributeFilter;
189
176
  };
190
-
191
177
  [Exposed=Window]
192
178
  interface MutationRecord {
193
179
  readonly attribute DOMString type;
@@ -200,7 +186,6 @@ interface MutationRecord {
200
186
  readonly attribute DOMString? attributeNamespace;
201
187
  readonly attribute DOMString? oldValue;
202
188
  };
203
-
204
189
  [Exposed=Window]
205
190
  interface Node : EventTarget {
206
191
  const unsigned short ELEMENT_NODE = 1;
@@ -262,7 +247,6 @@ interface Node : EventTarget {
262
247
  dictionary GetRootNodeOptions {
263
248
  boolean composed = false;
264
249
  };
265
-
266
250
  [Exposed=Window]
267
251
  interface Document : Node {
268
252
  constructor();
@@ -311,7 +295,6 @@ interface XMLDocument : Document {};
311
295
  dictionary ElementCreationOptions {
312
296
  DOMString is;
313
297
  };
314
-
315
298
  [Exposed=Window]
316
299
  interface DOMImplementation {
317
300
  [NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId);
@@ -320,19 +303,16 @@ interface DOMImplementation {
320
303
 
321
304
  boolean hasFeature(); // useless; always returns true
322
305
  };
323
-
324
306
  [Exposed=Window]
325
307
  interface DocumentType : Node {
326
308
  readonly attribute DOMString name;
327
309
  readonly attribute DOMString publicId;
328
310
  readonly attribute DOMString systemId;
329
311
  };
330
-
331
312
  [Exposed=Window]
332
313
  interface DocumentFragment : Node {
333
314
  constructor();
334
315
  };
335
-
336
316
  [Exposed=Window]
337
317
  interface ShadowRoot : DocumentFragment {
338
318
  readonly attribute ShadowRootMode mode;
@@ -344,7 +324,6 @@ interface ShadowRoot : DocumentFragment {
344
324
 
345
325
  enum ShadowRootMode { "open", "closed" };
346
326
  enum SlotAssignmentMode { "manual", "named" };
347
-
348
327
  [Exposed=Window]
349
328
  interface Element : Node {
350
329
  readonly attribute DOMString? namespaceURI;
@@ -396,7 +375,6 @@ dictionary ShadowRootInit {
396
375
  boolean delegatesFocus = false;
397
376
  SlotAssignmentMode slotAssignment = "named";
398
377
  };
399
-
400
378
  [Exposed=Window,
401
379
  LegacyUnenumerableNamedProperties]
402
380
  interface NamedNodeMap {
@@ -409,7 +387,6 @@ interface NamedNodeMap {
409
387
  [CEReactions] Attr removeNamedItem(DOMString qualifiedName);
410
388
  [CEReactions] Attr removeNamedItemNS(DOMString? namespace, DOMString localName);
411
389
  };
412
-
413
390
  [Exposed=Window]
414
391
  interface Attr : Node {
415
392
  readonly attribute DOMString? namespaceURI;
@@ -432,7 +409,6 @@ interface CharacterData : Node {
432
409
  undefined deleteData(unsigned long offset, unsigned long count);
433
410
  undefined replaceData(unsigned long offset, unsigned long count, DOMString data);
434
411
  };
435
-
436
412
  [Exposed=Window]
437
413
  interface Text : CharacterData {
438
414
  constructor(optional DOMString data = "");
@@ -440,7 +416,6 @@ interface Text : CharacterData {
440
416
  [NewObject] Text splitText(unsigned long offset);
441
417
  readonly attribute DOMString wholeText;
442
418
  };
443
-
444
419
  [Exposed=Window]
445
420
  interface CDATASection : Text {
446
421
  };
@@ -452,7 +427,6 @@ interface ProcessingInstruction : CharacterData {
452
427
  interface Comment : CharacterData {
453
428
  constructor(optional DOMString data = "");
454
429
  };
455
-
456
430
  [Exposed=Window]
457
431
  interface AbstractRange {
458
432
  readonly attribute Node startContainer;
@@ -461,7 +435,6 @@ interface AbstractRange {
461
435
  readonly attribute unsigned long endOffset;
462
436
  readonly attribute boolean collapsed;
463
437
  };
464
-
465
438
  dictionary StaticRangeInit {
466
439
  required Node startContainer;
467
440
  required unsigned long startOffset;
@@ -473,7 +446,6 @@ dictionary StaticRangeInit {
473
446
  interface StaticRange : AbstractRange {
474
447
  constructor(StaticRangeInit init);
475
448
  };
476
-
477
449
  [Exposed=Window]
478
450
  interface Range : AbstractRange {
479
451
  constructor();
@@ -512,7 +484,6 @@ interface Range : AbstractRange {
512
484
 
513
485
  stringifier;
514
486
  };
515
-
516
487
  [Exposed=Window]
517
488
  interface NodeIterator {
518
489
  [SameObject] readonly attribute Node root;
@@ -526,7 +497,6 @@ interface NodeIterator {
526
497
 
527
498
  undefined detach();
528
499
  };
529
-
530
500
  [Exposed=Window]
531
501
  interface TreeWalker {
532
502
  [SameObject] readonly attribute Node root;
@@ -566,7 +536,6 @@ callback interface NodeFilter {
566
536
 
567
537
  unsigned short acceptNode(Node node);
568
538
  };
569
-
570
539
  [Exposed=Window]
571
540
  interface DOMTokenList {
572
541
  readonly attribute unsigned long length;
@@ -580,7 +549,6 @@ interface DOMTokenList {
580
549
  [CEReactions] stringifier attribute DOMString value;
581
550
  iterable<DOMString>;
582
551
  };
583
-
584
552
  [Exposed=Window]
585
553
  interface XPathResult {
586
554
  const unsigned short ANY_TYPE = 0;
@@ -605,13 +573,11 @@ interface XPathResult {
605
573
  Node? iterateNext();
606
574
  Node? snapshotItem(unsigned long index);
607
575
  };
608
-
609
576
  [Exposed=Window]
610
577
  interface XPathExpression {
611
578
  // XPathResult.ANY_TYPE = 0
612
579
  XPathResult evaluate(Node contextNode, optional unsigned short type = 0, optional XPathResult? result = null);
613
580
  };
614
-
615
581
  callback interface XPathNSResolver {
616
582
  DOMString? lookupNamespaceURI(DOMString? prefix);
617
583
  };
@@ -623,14 +589,12 @@ interface mixin XPathEvaluatorBase {
623
589
  XPathResult evaluate(DOMString expression, Node contextNode, optional XPathNSResolver? resolver = null, optional unsigned short type = 0, optional XPathResult? result = null);
624
590
  };
625
591
  Document includes XPathEvaluatorBase;
626
-
627
592
  [Exposed=Window]
628
593
  interface XPathEvaluator {
629
594
  constructor();
630
595
  };
631
596
 
632
597
  XPathEvaluator includes XPathEvaluatorBase;
633
-
634
598
  [Exposed=Window]
635
599
  interface XSLTProcessor {
636
600
  constructor();
package/fenced-frame.idl CHANGED
@@ -7,7 +7,7 @@
7
7
  interface HTMLFencedFrameElement : HTMLElement {
8
8
  [HTMLConstructor] constructor();
9
9
 
10
- [CEReactions] attribute FencedFrameConfig config;
10
+ [CEReactions] attribute FencedFrameConfig? config;
11
11
  [CEReactions] attribute DOMString width;
12
12
  [CEReactions] attribute DOMString height;
13
13
  };
package/fs.idl CHANGED
@@ -15,7 +15,6 @@ interface FileSystemHandle {
15
15
 
16
16
  Promise<boolean> isSameEntry(FileSystemHandle other);
17
17
  };
18
-
19
18
  dictionary FileSystemCreateWritableOptions {
20
19
  boolean keepExistingData = false;
21
20
  };
@@ -27,7 +26,6 @@ interface FileSystemFileHandle : FileSystemHandle {
27
26
  [Exposed=DedicatedWorker]
28
27
  Promise<FileSystemSyncAccessHandle> createSyncAccessHandle();
29
28
  };
30
-
31
29
  dictionary FileSystemGetFileOptions {
32
30
  boolean create = false;
33
31
  };
@@ -51,7 +49,6 @@ interface FileSystemDirectoryHandle : FileSystemHandle {
51
49
 
52
50
  Promise<sequence<USVString>?> resolve(FileSystemHandle possibleDescendant);
53
51
  };
54
-
55
52
  enum WriteCommandType {
56
53
  "write",
57
54
  "seek",
@@ -73,7 +70,6 @@ interface FileSystemWritableFileStream : WritableStream {
73
70
  Promise<undefined> seek(unsigned long long position);
74
71
  Promise<undefined> truncate(unsigned long long size);
75
72
  };
76
-
77
73
  dictionary FileSystemReadWriteOptions {
78
74
  [EnforceRange] unsigned long long at;
79
75
  };
package/html.idl CHANGED
@@ -1765,10 +1765,11 @@ interface Window : EventTarget {
1765
1765
  [Replaceable] readonly attribute WindowProxy? parent;
1766
1766
  readonly attribute Element? frameElement;
1767
1767
  WindowProxy? open(optional USVString url = "", optional DOMString target = "_blank", optional [LegacyNullToEmptyString] DOMString features = "");
1768
- getter object (DOMString name);
1768
+
1769
1769
  // Since this is the global object, the IDL named getter adds a NamedPropertiesObject exotic
1770
1770
  // object on the prototype chain. Indeed, this does not make the global object an exotic object.
1771
1771
  // Indexed access is taken care of by the WindowProxy exotic object.
1772
+ getter object (DOMString name);
1772
1773
 
1773
1774
  // the user agent
1774
1775
  readonly attribute Navigator navigator;
package/notifications.idl CHANGED
@@ -72,7 +72,6 @@ dictionary NotificationAction {
72
72
  };
73
73
 
74
74
  callback NotificationPermissionCallback = undefined (NotificationPermission permission);
75
-
76
75
  dictionary GetNotificationOptions {
77
76
  DOMString tag = "";
78
77
  };
@@ -24,15 +24,9 @@ dictionary DeviceOrientationEventInit : EventInit {
24
24
  double? gamma = null;
25
25
  boolean absolute = false;
26
26
  };
27
-
28
27
  partial interface Window {
29
28
  [SecureContext] attribute EventHandler ondeviceorientationabsolute;
30
29
  };
31
-
32
- partial interface Window {
33
- attribute EventHandler oncompassneedscalibration;
34
- };
35
-
36
30
  partial interface Window {
37
31
  [SecureContext] attribute EventHandler ondevicemotion;
38
32
  };
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.30.0",
4
+ "version": "3.31.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -18,7 +18,6 @@ partial interface Document {
18
18
  partial interface HTMLIFrameElement {
19
19
  [SameObject] readonly attribute PermissionsPolicy permissionsPolicy;
20
20
  };
21
-
22
21
  [Exposed=Window]
23
22
  interface PermissionsPolicyViolationReportBody : ReportBody {
24
23
  readonly attribute DOMString featureId;
@@ -1,10 +1,10 @@
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: requestStorageAccessForOrigin API (https://privacycg.github.io/requestStorageAccessForOrigin/)
4
+ // Source: requestStorageAccessFor API (https://privacycg.github.io/requestStorageAccessFor/)
5
5
 
6
6
  partial interface Document {
7
- Promise<undefined> requestStorageAccessForOrigin(USVString requestedOrigin);
7
+ Promise<undefined> requestStorageAccessFor(USVString requestedOrigin);
8
8
  };
9
9
 
10
10
  dictionary TopLevelStorageAccessPermissionDescriptor : PermissionDescriptor {
@@ -3,55 +3,9 @@
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
- "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
- };
6
+ enum TaskPriority { "user-blocking", "user-visible", "background"};
7
+ dictionary SchedulerPostTaskOptions { AbortSignal signal; TaskPriority priority; [EnforceRange] unsigned long long delay = 0;};callback SchedulerPostTaskCallback = any ();[Exposed=(Window, Worker)]interface Scheduler { Promise<any> postTask(SchedulerPostTaskCallback callback, optional SchedulerPostTaskOptions options = {});};
8
+ [Exposed=(Window, Worker)]interface TaskPriorityChangeEvent : Event { constructor(DOMString type, TaskPriorityChangeEventInit priorityChangeEventInitDict); readonly attribute TaskPriority previousPriority;};dictionary TaskPriorityChangeEventInit : EventInit { required TaskPriority previousPriority;};
9
+ dictionary TaskControllerInit { TaskPriority priority = "user-visible";};[Exposed=(Window,Worker)]interface TaskController : AbortController { constructor(optional TaskControllerInit init = {}); undefined setPriority(TaskPriority priority);};
10
+ [Exposed=(Window, Worker)]interface TaskSignal : AbortSignal { readonly attribute TaskPriority priority; attribute EventHandler onprioritychange;};
11
+ partial interface mixin WindowOrWorkerGlobalScope { [Replaceable] readonly attribute Scheduler scheduler;};
@@ -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: Text Fragments (https://wicg.github.io/scroll-to-text-fragment/)
4
+ // Source: URL Fragment Text Directives (https://wicg.github.io/scroll-to-text-fragment/)
5
5
 
6
6
  [Exposed=Window]
7
7
  interface FragmentDirective {
@@ -15,7 +15,6 @@ dictionary SecurePaymentConfirmationRequest {
15
15
  sequence<USVString> locale;
16
16
  boolean showOptOut;
17
17
  };
18
-
19
18
  partial dictionary AuthenticationExtensionsClientInputs {
20
19
  AuthenticationExtensionsPaymentInputs payment;
21
20
  };
@@ -31,11 +30,9 @@ dictionary AuthenticationExtensionsPaymentInputs {
31
30
  PaymentCurrencyAmount total;
32
31
  PaymentCredentialInstrument instrument;
33
32
  };
34
-
35
33
  dictionary CollectedClientPaymentData : CollectedClientData {
36
34
  required CollectedClientAdditionalPaymentData payment;
37
35
  };
38
-
39
36
  dictionary CollectedClientAdditionalPaymentData {
40
37
  required USVString rpId;
41
38
  required USVString topOrigin;
@@ -44,7 +41,6 @@ dictionary CollectedClientAdditionalPaymentData {
44
41
  required PaymentCurrencyAmount total;
45
42
  required PaymentCredentialInstrument instrument;
46
43
  };
47
-
48
44
  dictionary PaymentCredentialInstrument {
49
45
  required USVString displayName;
50
46
  required USVString icon;
@@ -23,7 +23,6 @@ enum ServiceWorkerState {
23
23
  "activated",
24
24
  "redundant"
25
25
  };
26
-
27
26
  [SecureContext, Exposed=(Window,Worker)]
28
27
  interface ServiceWorkerRegistration : EventTarget {
29
28
  readonly attribute ServiceWorker? installing;
@@ -46,7 +45,6 @@ enum ServiceWorkerUpdateViaCache {
46
45
  "all",
47
46
  "none"
48
47
  };
49
-
50
48
  partial interface Navigator {
51
49
  [SecureContext, SameObject] readonly attribute ServiceWorkerContainer serviceWorker;
52
50
  };
@@ -54,7 +52,6 @@ partial interface Navigator {
54
52
  partial interface WorkerNavigator {
55
53
  [SecureContext, SameObject] readonly attribute ServiceWorkerContainer serviceWorker;
56
54
  };
57
-
58
55
  [SecureContext, Exposed=(Window,Worker)]
59
56
  interface ServiceWorkerContainer : EventTarget {
60
57
  readonly attribute ServiceWorker? controller;
@@ -72,13 +69,11 @@ interface ServiceWorkerContainer : EventTarget {
72
69
  attribute EventHandler onmessage; // event.source of message events is ServiceWorker object
73
70
  attribute EventHandler onmessageerror;
74
71
  };
75
-
76
72
  dictionary RegistrationOptions {
77
73
  USVString scope;
78
74
  WorkerType type = "classic";
79
75
  ServiceWorkerUpdateViaCache updateViaCache = "imports";
80
76
  };
81
-
82
77
  [SecureContext, Exposed=(Window,Worker)]
83
78
  interface NavigationPreloadManager {
84
79
  Promise<undefined> enable();
@@ -91,7 +86,6 @@ dictionary NavigationPreloadState {
91
86
  boolean enabled = false;
92
87
  ByteString headerValue;
93
88
  };
94
-
95
89
  [Global=(Worker,ServiceWorker), Exposed=ServiceWorker]
96
90
  interface ServiceWorkerGlobalScope : WorkerGlobalScope {
97
91
  [SameObject] readonly attribute Clients clients;
@@ -107,7 +101,6 @@ interface ServiceWorkerGlobalScope : WorkerGlobalScope {
107
101
  attribute EventHandler onmessage;
108
102
  attribute EventHandler onmessageerror;
109
103
  };
110
-
111
104
  [Exposed=ServiceWorker]
112
105
  interface Client {
113
106
  readonly attribute USVString url;
@@ -133,7 +126,6 @@ enum FrameType {
133
126
  "nested",
134
127
  "none"
135
128
  };
136
-
137
129
  [Exposed=ServiceWorker]
138
130
  interface Clients {
139
131
  // The objects returned will be new instances every time
@@ -142,29 +134,24 @@ interface Clients {
142
134
  [NewObject] Promise<WindowClient?> openWindow(USVString url);
143
135
  [NewObject] Promise<undefined> claim();
144
136
  };
145
-
146
137
  dictionary ClientQueryOptions {
147
138
  boolean includeUncontrolled = false;
148
139
  ClientType type = "window";
149
140
  };
150
-
151
141
  enum ClientType {
152
142
  "window",
153
143
  "worker",
154
144
  "sharedworker",
155
145
  "all"
156
146
  };
157
-
158
147
  [Exposed=ServiceWorker]
159
148
  interface ExtendableEvent : Event {
160
149
  constructor(DOMString type, optional ExtendableEventInit eventInitDict = {});
161
150
  undefined waitUntil(Promise<any> f);
162
151
  };
163
-
164
152
  dictionary ExtendableEventInit : EventInit {
165
153
  // Defined for the forward compatibility across the derived events
166
154
  };
167
-
168
155
  [Exposed=ServiceWorker]
169
156
  interface FetchEvent : ExtendableEvent {
170
157
  constructor(DOMString type, FetchEventInit eventInitDict);
@@ -177,7 +164,6 @@ interface FetchEvent : ExtendableEvent {
177
164
 
178
165
  undefined respondWith(Promise<Response> r);
179
166
  };
180
-
181
167
  dictionary FetchEventInit : ExtendableEventInit {
182
168
  required Request request;
183
169
  Promise<any> preloadResponse;
@@ -186,7 +172,6 @@ dictionary FetchEventInit : ExtendableEventInit {
186
172
  DOMString replacesClientId = "";
187
173
  Promise<undefined> handled;
188
174
  };
189
-
190
175
  [Exposed=ServiceWorker]
191
176
  interface ExtendableMessageEvent : ExtendableEvent {
192
177
  constructor(DOMString type, optional ExtendableMessageEventInit eventInitDict = {});
@@ -196,7 +181,6 @@ interface ExtendableMessageEvent : ExtendableEvent {
196
181
  [SameObject] readonly attribute (Client or ServiceWorker or MessagePort)? source;
197
182
  readonly attribute FrozenArray<MessagePort> ports;
198
183
  };
199
-
200
184
  dictionary ExtendableMessageEventInit : ExtendableEventInit {
201
185
  any data = null;
202
186
  USVString origin = "";
@@ -204,11 +188,9 @@ dictionary ExtendableMessageEventInit : ExtendableEventInit {
204
188
  (Client or ServiceWorker or MessagePort)? source = null;
205
189
  sequence<MessagePort> ports = [];
206
190
  };
207
-
208
191
  partial interface mixin WindowOrWorkerGlobalScope {
209
192
  [SecureContext, SameObject] readonly attribute CacheStorage caches;
210
193
  };
211
-
212
194
  [SecureContext, Exposed=(Window,Worker)]
213
195
  interface Cache {
214
196
  [NewObject] Promise<(Response or undefined)> match(RequestInfo request, optional CacheQueryOptions options = {});
@@ -219,13 +201,11 @@ interface Cache {
219
201
  [NewObject] Promise<boolean> delete(RequestInfo request, optional CacheQueryOptions options = {});
220
202
  [NewObject] Promise<FrozenArray<Request>> keys(optional RequestInfo request, optional CacheQueryOptions options = {});
221
203
  };
222
-
223
204
  dictionary CacheQueryOptions {
224
205
  boolean ignoreSearch = false;
225
206
  boolean ignoreMethod = false;
226
207
  boolean ignoreVary = false;
227
208
  };
228
-
229
209
  [SecureContext, Exposed=(Window,Worker)]
230
210
  interface CacheStorage {
231
211
  [NewObject] Promise<(Response or undefined)> match(RequestInfo request, optional MultiCacheQueryOptions options = {});
package/turtledove.idl CHANGED
@@ -8,11 +8,6 @@ partial interface Navigator {
8
8
  Promise<undefined> joinAdInterestGroup(AuctionAdInterestGroup group, double durationSeconds);
9
9
  };
10
10
 
11
- enum WorkletExecutionMode {
12
- "compatibility",
13
- "groupByOrigin",
14
- };
15
-
16
11
  dictionary AuctionAd {
17
12
  required USVString renderUrl;
18
13
  any metadata;
@@ -24,10 +19,10 @@ dictionary AuctionAdInterestGroup {
24
19
 
25
20
  double priority = 0.0;
26
21
  boolean enableBiddingSignalsPrioritization = false;
27
- record<USVString, double> priorityVector;
28
- record<USVString, double> prioritySignalsOverrides;
22
+ record<DOMString, double> priorityVector;
23
+ record<DOMString, double> prioritySignalsOverrides;
29
24
 
30
- WorkletExecutionMode executionMode = "compatibility";
25
+ DOMString executionMode = "compatibility";
31
26
  USVString biddingLogicUrl;
32
27
  USVString biddingWasmHelperUrl;
33
28
  USVString dailyUpdateUrl;
package/url.idl CHANGED
@@ -8,6 +8,8 @@
8
8
  interface URL {
9
9
  constructor(USVString url, optional USVString base);
10
10
 
11
+ static boolean canParse(USVString url, optional USVString base);
12
+
11
13
  stringifier attribute USVString href;
12
14
  readonly attribute USVString origin;
13
15
  attribute USVString protocol;
package/wasm-js-api.idl CHANGED
@@ -19,7 +19,6 @@ namespace WebAssembly {
19
19
  Promise<Instance> instantiate(
20
20
  Module moduleObject, optional object importObject);
21
21
  };
22
-
23
22
  enum ImportExportKind {
24
23
  "function",
25
24
  "table",
@@ -46,13 +45,11 @@ interface Module {
46
45
  static sequence<ModuleImportDescriptor> imports(Module moduleObject);
47
46
  static sequence<ArrayBuffer> customSections(Module moduleObject, DOMString sectionName);
48
47
  };
49
-
50
48
  [LegacyNamespace=WebAssembly, Exposed=*]
51
49
  interface Instance {
52
50
  constructor(Module module, optional object importObject);
53
51
  readonly attribute object exports;
54
52
  };
55
-
56
53
  dictionary MemoryDescriptor {
57
54
  required [EnforceRange] unsigned long initial;
58
55
  [EnforceRange] unsigned long maximum;
@@ -64,7 +61,6 @@ interface Memory {
64
61
  unsigned long grow([EnforceRange] unsigned long delta);
65
62
  readonly attribute ArrayBuffer buffer;
66
63
  };
67
-
68
64
  enum TableKind {
69
65
  "externref",
70
66
  "anyfunc",
@@ -86,7 +82,6 @@ interface Table {
86
82
  undefined set([EnforceRange] unsigned long index, optional any value);
87
83
  readonly attribute unsigned long length;
88
84
  };
89
-
90
85
  enum ValueType {
91
86
  "i32",
92
87
  "i64",
@@ -96,7 +91,6 @@ enum ValueType {
96
91
  "externref",
97
92
  "anyfunc",
98
93
  };
99
-
100
94
  dictionary GlobalDescriptor {
101
95
  required ValueType value;
102
96
  boolean mutable = false;
package/web-bluetooth.idl CHANGED
@@ -26,6 +26,7 @@ dictionary BluetoothLEScanFilterInit {
26
26
 
27
27
  dictionary RequestDeviceOptions {
28
28
  sequence<BluetoothLEScanFilterInit> filters;
29
+ sequence<BluetoothLEScanFilterInit> exclusionFilters;
29
30
  sequence<BluetoothServiceUUID> optionalServices = [];
30
31
  sequence<unsigned short> optionalManufacturerData = [];
31
32
  boolean acceptAllDevices = false;
package/webauthn.idl CHANGED
@@ -12,7 +12,6 @@ interface PublicKeyCredential : Credential {
12
12
  static Promise<boolean> isConditionalMediationAvailable();
13
13
  PublicKeyCredentialJSON toJSON();
14
14
  };
15
-
16
15
  typedef DOMString Base64URLString;
17
16
  typedef (RegistrationResponseJSON or AuthenticationResponseJSON) PublicKeyCredentialJSON;
18
17
 
@@ -49,19 +48,15 @@ dictionary AuthenticatorAssertionResponseJSON {
49
48
 
50
49
  dictionary AuthenticationExtensionsClientOutputsJSON {
51
50
  };
52
-
53
51
  partial dictionary CredentialCreationOptions {
54
52
  PublicKeyCredentialCreationOptions publicKey;
55
53
  };
56
-
57
54
  partial dictionary CredentialRequestOptions {
58
55
  PublicKeyCredentialRequestOptions publicKey;
59
56
  };
60
-
61
57
  partial interface PublicKeyCredential {
62
58
  static Promise<boolean> isUserVerifyingPlatformAuthenticatorAvailable();
63
59
  };
64
-
65
60
  partial interface PublicKeyCredential {
66
61
  static PublicKeyCredentialCreationOptions parseCreationOptionsFromJSON(PublicKeyCredentialCreationOptionsJSON options);
67
62
  };
@@ -92,7 +87,6 @@ dictionary PublicKeyCredentialDescriptorJSON {
92
87
 
93
88
  dictionary AuthenticationExtensionsClientInputsJSON {
94
89
  };
95
-
96
90
  partial interface PublicKeyCredential {
97
91
  static PublicKeyCredentialRequestOptions parseRequestOptionsFromJSON(PublicKeyCredentialRequestOptionsJSON options);
98
92
  };
@@ -105,12 +99,10 @@ dictionary PublicKeyCredentialRequestOptionsJSON {
105
99
  DOMString userVerification = "preferred";
106
100
  AuthenticationExtensionsClientInputsJSON extensions;
107
101
  };
108
-
109
102
  [SecureContext, Exposed=Window]
110
103
  interface AuthenticatorResponse {
111
104
  [SameObject] readonly attribute ArrayBuffer clientDataJSON;
112
105
  };
113
-
114
106
  [SecureContext, Exposed=Window]
115
107
  interface AuthenticatorAttestationResponse : AuthenticatorResponse {
116
108
  [SameObject] readonly attribute ArrayBuffer attestationObject;
@@ -119,7 +111,6 @@ interface AuthenticatorAttestationResponse : AuthenticatorResponse {
119
111
  ArrayBuffer? getPublicKey();
120
112
  COSEAlgorithmIdentifier getPublicKeyAlgorithm();
121
113
  };
122
-
123
114
  [SecureContext, Exposed=Window]
124
115
  interface AuthenticatorAssertionResponse : AuthenticatorResponse {
125
116
  [SameObject] readonly attribute ArrayBuffer authenticatorData;
@@ -127,12 +118,10 @@ interface AuthenticatorAssertionResponse : AuthenticatorResponse {
127
118
  [SameObject] readonly attribute ArrayBuffer? userHandle;
128
119
  [SameObject] readonly attribute ArrayBuffer? attestationObject;
129
120
  };
130
-
131
121
  dictionary PublicKeyCredentialParameters {
132
122
  required DOMString type;
133
123
  required COSEAlgorithmIdentifier alg;
134
124
  };
135
-
136
125
  dictionary PublicKeyCredentialCreationOptions {
137
126
  required PublicKeyCredentialRpEntity rp;
138
127
  required PublicKeyCredentialUserEntity user;
@@ -147,45 +136,37 @@ dictionary PublicKeyCredentialCreationOptions {
147
136
  sequence<DOMString> attestationFormats = [];
148
137
  AuthenticationExtensionsClientInputs extensions;
149
138
  };
150
-
151
139
  dictionary PublicKeyCredentialEntity {
152
140
  required DOMString name;
153
141
  };
154
-
155
142
  dictionary PublicKeyCredentialRpEntity : PublicKeyCredentialEntity {
156
143
  DOMString id;
157
144
  };
158
-
159
145
  dictionary PublicKeyCredentialUserEntity : PublicKeyCredentialEntity {
160
146
  required BufferSource id;
161
147
  required DOMString displayName;
162
148
  };
163
-
164
149
  dictionary AuthenticatorSelectionCriteria {
165
150
  DOMString authenticatorAttachment;
166
151
  DOMString residentKey;
167
152
  boolean requireResidentKey = false;
168
153
  DOMString userVerification = "preferred";
169
154
  };
170
-
171
155
  enum AuthenticatorAttachment {
172
156
  "platform",
173
157
  "cross-platform"
174
158
  };
175
-
176
159
  enum ResidentKeyRequirement {
177
160
  "discouraged",
178
161
  "preferred",
179
162
  "required"
180
163
  };
181
-
182
164
  enum AttestationConveyancePreference {
183
165
  "none",
184
166
  "indirect",
185
167
  "direct",
186
168
  "enterprise"
187
169
  };
188
-
189
170
  dictionary PublicKeyCredentialRequestOptions {
190
171
  required BufferSource challenge;
191
172
  unsigned long timeout;
@@ -196,13 +177,10 @@ dictionary PublicKeyCredentialRequestOptions {
196
177
  sequence<DOMString> attestationFormats = [];
197
178
  AuthenticationExtensionsClientInputs extensions;
198
179
  };
199
-
200
180
  dictionary AuthenticationExtensionsClientInputs {
201
181
  };
202
-
203
182
  dictionary AuthenticationExtensionsClientOutputs {
204
183
  };
205
-
206
184
  dictionary CollectedClientData {
207
185
  required DOMString type;
208
186
  required DOMString challenge;
@@ -217,17 +195,14 @@ dictionary TokenBinding {
217
195
  };
218
196
 
219
197
  enum TokenBindingStatus { "present", "supported" };
220
-
221
198
  enum PublicKeyCredentialType {
222
199
  "public-key"
223
200
  };
224
-
225
201
  dictionary PublicKeyCredentialDescriptor {
226
202
  required DOMString type;
227
203
  required BufferSource id;
228
204
  sequence<DOMString> transports;
229
205
  };
230
-
231
206
  enum AuthenticatorTransport {
232
207
  "usb",
233
208
  "nfc",
@@ -235,35 +210,27 @@ enum AuthenticatorTransport {
235
210
  "hybrid",
236
211
  "internal"
237
212
  };
238
-
239
213
  typedef long COSEAlgorithmIdentifier;
240
-
241
214
  enum UserVerificationRequirement {
242
215
  "required",
243
216
  "preferred",
244
217
  "discouraged"
245
218
  };
246
-
247
219
  partial dictionary AuthenticationExtensionsClientInputs {
248
220
  USVString appid;
249
221
  };
250
-
251
222
  partial dictionary AuthenticationExtensionsClientOutputs {
252
223
  boolean appid;
253
224
  };
254
-
255
225
  partial dictionary AuthenticationExtensionsClientInputs {
256
226
  USVString appidExclude;
257
227
  };
258
-
259
228
  partial dictionary AuthenticationExtensionsClientOutputs {
260
229
  boolean appidExclude;
261
230
  };
262
-
263
231
  partial dictionary AuthenticationExtensionsClientInputs {
264
232
  boolean credProps;
265
233
  };
266
-
267
234
  dictionary CredentialPropertiesOutput {
268
235
  boolean rk;
269
236
  };
@@ -271,10 +238,9 @@ dictionary CredentialPropertiesOutput {
271
238
  partial dictionary AuthenticationExtensionsClientOutputs {
272
239
  CredentialPropertiesOutput credProps;
273
240
  };
274
-
275
241
  dictionary AuthenticationExtensionsPRFValues {
276
- required ArrayBuffer first;
277
- ArrayBuffer second;
242
+ required BufferSource first;
243
+ BufferSource second;
278
244
  };
279
245
 
280
246
  dictionary AuthenticationExtensionsPRFInputs {
@@ -323,14 +289,12 @@ dictionary AuthenticationExtensionsLargeBlobOutputs {
323
289
  partial dictionary AuthenticationExtensionsClientInputs {
324
290
  boolean uvm;
325
291
  };
326
-
327
292
  typedef sequence<unsigned long> UvmEntry;
328
293
  typedef sequence<UvmEntry> UvmEntries;
329
294
 
330
295
  partial dictionary AuthenticationExtensionsClientOutputs {
331
296
  UvmEntries uvm;
332
297
  };
333
-
334
298
  dictionary AuthenticationExtensionsDevicePublicKeyInputs {
335
299
  DOMString attestation = "none";
336
300
  sequence<DOMString> attestationFormats = [];
package/webgpu.idl CHANGED
@@ -171,7 +171,7 @@ dictionary GPUBufferDescriptor : GPUObjectDescriptorBase {
171
171
  };
172
172
 
173
173
  typedef [EnforceRange] unsigned long GPUBufferUsageFlags;
174
- [Exposed=(Window, DedicatedWorker)]
174
+ [Exposed=(Window, DedicatedWorker), SecureContext]
175
175
  namespace GPUBufferUsage {
176
176
  const GPUFlagsConstant MAP_READ = 0x0001;
177
177
  const GPUFlagsConstant MAP_WRITE = 0x0002;
@@ -186,7 +186,7 @@ namespace GPUBufferUsage {
186
186
  };
187
187
 
188
188
  typedef [EnforceRange] unsigned long GPUMapModeFlags;
189
- [Exposed=(Window, DedicatedWorker)]
189
+ [Exposed=(Window, DedicatedWorker), SecureContext]
190
190
  namespace GPUMapMode {
191
191
  const GPUFlagsConstant READ = 0x0001;
192
192
  const GPUFlagsConstant WRITE = 0x0002;
@@ -226,7 +226,7 @@ enum GPUTextureDimension {
226
226
  };
227
227
 
228
228
  typedef [EnforceRange] unsigned long GPUTextureUsageFlags;
229
- [Exposed=(Window, DedicatedWorker)]
229
+ [Exposed=(Window, DedicatedWorker), SecureContext]
230
230
  namespace GPUTextureUsage {
231
231
  const GPUFlagsConstant COPY_SRC = 0x01;
232
232
  const GPUFlagsConstant COPY_DST = 0x02;
@@ -461,7 +461,7 @@ dictionary GPUBindGroupLayoutEntry {
461
461
  };
462
462
 
463
463
  typedef [EnforceRange] unsigned long GPUShaderStageFlags;
464
- [Exposed=(Window, DedicatedWorker)]
464
+ [Exposed=(Window, DedicatedWorker), SecureContext]
465
465
  namespace GPUShaderStage {
466
466
  const GPUFlagsConstant VERTEX = 0x1;
467
467
  const GPUFlagsConstant FRAGMENT = 0x2;
@@ -588,7 +588,7 @@ interface GPUCompilationInfo {
588
588
 
589
589
  [Exposed=(Window, DedicatedWorker), SecureContext, Serializable]
590
590
  interface GPUPipelineError : DOMException {
591
- constructor(DOMString message, GPUPipelineErrorInit options);
591
+ constructor((DOMString or undefined) message, GPUPipelineErrorInit options);
592
592
  readonly attribute GPUPipelineErrorReason reason;
593
593
  };
594
594
 
@@ -697,7 +697,7 @@ dictionary GPUBlendState {
697
697
  };
698
698
 
699
699
  typedef [EnforceRange] unsigned long GPUColorWriteFlags;
700
- [Exposed=(Window, DedicatedWorker)]
700
+ [Exposed=(Window, DedicatedWorker), SecureContext]
701
701
  namespace GPUColorWrite {
702
702
  const GPUFlagsConstant RED = 0x1;
703
703
  const GPUFlagsConstant GREEN = 0x2;
@@ -831,34 +831,11 @@ dictionary GPUVertexAttribute {
831
831
  required GPUIndex32 shaderLocation;
832
832
  };
833
833
 
834
- dictionary GPUImageDataLayout {
835
- GPUSize64 offset = 0;
836
- GPUSize32 bytesPerRow;
837
- GPUSize32 rowsPerImage;
838
- };
839
-
840
- dictionary GPUImageCopyBuffer : GPUImageDataLayout {
841
- required GPUBuffer buffer;
842
- };
843
-
844
- dictionary GPUImageCopyTexture {
845
- required GPUTexture texture;
846
- GPUIntegerCoordinate mipLevel = 0;
847
- GPUOrigin3D origin = {};
848
- GPUTextureAspect aspect = "all";
849
- };
850
-
851
- dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture {
852
- PredefinedColorSpace colorSpace = "srgb";
853
- boolean premultipliedAlpha = false;
854
- };
855
-
856
- dictionary GPUImageCopyExternalImage {
857
- required (ImageBitmap or HTMLVideoElement or HTMLCanvasElement or OffscreenCanvas) source;
858
- GPUOrigin2D origin = {};
859
- boolean flipY = false;
860
- };
861
-
834
+ dictionary GPUImageDataLayout { GPUSize64 offset = 0; GPUSize32 bytesPerRow; GPUSize32 rowsPerImage;};
835
+ dictionary GPUImageCopyBuffer : GPUImageDataLayout { required GPUBuffer buffer;};
836
+ dictionary GPUImageCopyTexture { required GPUTexture texture; GPUIntegerCoordinate mipLevel = 0; GPUOrigin3D origin = {}; GPUTextureAspect aspect = "all";};
837
+ dictionary GPUImageCopyTextureTagged : GPUImageCopyTexture { PredefinedColorSpace colorSpace = "srgb"; boolean premultipliedAlpha = false;};
838
+ dictionary GPUImageCopyExternalImage { required (ImageBitmap or HTMLVideoElement or HTMLCanvasElement or OffscreenCanvas) source; GPUOrigin2D origin = {}; boolean flipY = false;};
862
839
  [Exposed=(Window, DedicatedWorker), SecureContext]
863
840
  interface GPUCommandBuffer {
864
841
  };
@@ -1163,12 +1140,13 @@ dictionary GPUCanvasConfiguration {
1163
1140
  };
1164
1141
 
1165
1142
  enum GPUDeviceLostReason {
1143
+ "unknown",
1166
1144
  "destroyed"
1167
1145
  };
1168
1146
 
1169
1147
  [Exposed=(Window, DedicatedWorker), SecureContext]
1170
1148
  interface GPUDeviceLostInfo {
1171
- readonly attribute (GPUDeviceLostReason or undefined) reason;
1149
+ readonly attribute GPUDeviceLostReason reason;
1172
1150
  readonly attribute DOMString message;
1173
1151
  };
1174
1152
 
package/webrtc.idl CHANGED
@@ -51,29 +51,29 @@ enum RTCSignalingState {
51
51
  };
52
52
 
53
53
  enum RTCIceGatheringState {
54
- "new",
55
- "gathering",
56
- "complete"
57
- };
54
+ "new",
55
+ "gathering",
56
+ "complete"
57
+ };
58
58
 
59
59
  enum RTCPeerConnectionState {
60
- "closed",
61
- "failed",
62
- "disconnected",
63
- "new",
64
- "connecting",
65
- "connected"
66
- };
60
+ "closed",
61
+ "failed",
62
+ "disconnected",
63
+ "new",
64
+ "connecting",
65
+ "connected"
66
+ };
67
67
 
68
68
  enum RTCIceConnectionState {
69
- "closed",
70
- "failed",
71
- "disconnected",
72
- "new",
73
- "checking",
74
- "completed",
75
- "connected"
76
- };
69
+ "closed",
70
+ "failed",
71
+ "disconnected",
72
+ "new",
73
+ "checking",
74
+ "completed",
75
+ "connected"
76
+ };
77
77
 
78
78
  [Exposed=Window]
79
79
  interface RTCPeerConnection : EventTarget {
@@ -332,28 +332,27 @@ dictionary RTCRtpHeaderExtensionParameters {
332
332
  boolean encrypted = false;
333
333
  };
334
334
 
335
- dictionary RTCRtpCodecParameters {
336
- required octet payloadType;
335
+ dictionary RTCRtpCodec {
337
336
  required DOMString mimeType;
338
337
  required unsigned long clockRate;
339
338
  unsigned short channels;
340
339
  DOMString sdpFmtpLine;
341
340
  };
342
341
 
342
+ dictionary RTCRtpCodecParameters : RTCRtpCodec {
343
+ required octet payloadType;
344
+ };
345
+
343
346
  dictionary RTCRtpCapabilities {
344
347
  required sequence<RTCRtpCodecCapability> codecs;
345
348
  required sequence<RTCRtpHeaderExtensionCapability> headerExtensions;
346
349
  };
347
350
 
348
- dictionary RTCRtpCodecCapability {
349
- required DOMString mimeType;
350
- required unsigned long clockRate;
351
- unsigned short channels;
352
- DOMString sdpFmtpLine;
351
+ dictionary RTCRtpCodecCapability : RTCRtpCodec {
353
352
  };
354
353
 
355
354
  dictionary RTCRtpHeaderExtensionCapability {
356
- DOMString uri;
355
+ required DOMString uri;
357
356
  };
358
357
 
359
358
  [Exposed=Window]
@@ -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: Multi-Screen Window Placement (https://w3c.github.io/window-placement/)
4
+ // Source: Multi-Screen Window Placement (https://w3c.github.io/window-management/)
5
5
 
6
6
  partial interface Screen /* : EventTarget */ {
7
7
  [SecureContext]