@webref/idl 3.20.0 → 3.21.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/FedCM.idl CHANGED
@@ -3,6 +3,48 @@
3
3
  // (https://github.com/w3c/webref)
4
4
  // Source: Federated Credential Management API (https://fedidcg.github.io/FedCM/)
5
5
 
6
+ dictionary IdentityProviderWellKnown {
7
+ required sequence<USVString> provider_urls;
8
+ };
9
+
10
+ dictionary IdentityProviderIcon {
11
+ required USVString url;
12
+ unsigned long size;
13
+ };
14
+
15
+ dictionary IdentityProviderBranding {
16
+ USVString background_color;
17
+ USVString color;
18
+ sequence<IdentityProviderIcon> icons;
19
+ };
20
+
21
+ dictionary IdentityProviderAPIConfig {
22
+ required USVString accounts_endpoint;
23
+ required USVString client_metadata_endpoint;
24
+ required USVString id_assertion_endpoint;
25
+ IdentityProviderBranding branding;
26
+ };
27
+
28
+ dictionary IdentityProviderAccount {
29
+ required USVString id;
30
+ required USVString name;
31
+ required USVString email;
32
+ USVString given_name;
33
+ sequence<USVString> approved_clients;
34
+ };
35
+ dictionary IdentityProviderAccountList {
36
+ sequence<IdentityProviderAccount> accounts;
37
+ };
38
+
39
+ dictionary IdentityProviderClientMetadata {
40
+ USVString privacy_policy_url;
41
+ USVString terms_of_service_url;
42
+ };
43
+
44
+ dictionary IdentityProviderToken {
45
+ required USVString token;
46
+ };
47
+
6
48
  [Exposed=Window, SecureContext]
7
49
  interface IdentityCredential : Credential {
8
50
  readonly attribute USVString? token;
@@ -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: CSS Color Module Level 5 (https://drafts.csswg.org/css-color-5/)
5
+
6
+ [Exposed=Window]
7
+ interface CSSColorProfileRule : CSSRule {
8
+ readonly attribute CSSOMString name ;
9
+ readonly attribute CSSOMString src ;
10
+ readonly attribute CSSOMString renderingIntent ;
11
+ readonly attribute CSSOMString components ;
12
+ };
package/css-nesting.idl CHANGED
@@ -8,12 +8,3 @@ partial interface CSSStyleRule {
8
8
  unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
9
9
  undefined deleteRule(unsigned long index);
10
10
  };
11
-
12
- [Exposed=Window]
13
- interface CSSNestingRule : CSSRule {
14
- attribute CSSOMString selectorText;
15
- [SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;
16
- [SameObject] readonly attribute CSSRuleList cssRules;
17
- unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);
18
- undefined deleteRule(unsigned long index);
19
- };
package/fs.idl CHANGED
@@ -85,10 +85,10 @@ interface FileSystemSyncAccessHandle {
85
85
  unsigned long long write([AllowShared] BufferSource buffer,
86
86
  optional FileSystemReadWriteOptions options = {});
87
87
 
88
- Promise<undefined> truncate([EnforceRange] unsigned long long newSize);
89
- Promise<unsigned long long> getSize();
90
- Promise<undefined> flush();
91
- Promise<undefined> close();
88
+ undefined truncate([EnforceRange] unsigned long long newSize);
89
+ unsigned long long getSize();
90
+ undefined flush();
91
+ undefined close();
92
92
  };
93
93
 
94
94
  [SecureContext]
package/html.idl CHANGED
@@ -1773,20 +1773,6 @@ interface BarProp {
1773
1773
  readonly attribute boolean visible;
1774
1774
  };
1775
1775
 
1776
- enum ScrollRestoration { "auto", "manual" };
1777
-
1778
- [Exposed=Window]
1779
- interface History {
1780
- readonly attribute unsigned long length;
1781
- attribute ScrollRestoration scrollRestoration;
1782
- readonly attribute any state;
1783
- undefined go(optional long delta = 0);
1784
- undefined back();
1785
- undefined forward();
1786
- undefined pushState(any data, DOMString unused, optional USVString? url = null);
1787
- undefined replaceState(any data, DOMString unused, optional USVString? url = null);
1788
- };
1789
-
1790
1776
  [Exposed=Window]
1791
1777
  interface Location { // but see also additional creation steps and overridden internal methods
1792
1778
  [LegacyUnforgeable] stringifier attribute USVString href;
@@ -1806,6 +1792,20 @@ interface Location { // but see also additional creation steps and overridden in
1806
1792
  [LegacyUnforgeable, SameObject] readonly attribute DOMStringList ancestorOrigins;
1807
1793
  };
1808
1794
 
1795
+ enum ScrollRestoration { "auto", "manual" };
1796
+
1797
+ [Exposed=Window]
1798
+ interface History {
1799
+ readonly attribute unsigned long length;
1800
+ attribute ScrollRestoration scrollRestoration;
1801
+ readonly attribute any state;
1802
+ undefined go(optional long delta = 0);
1803
+ undefined back();
1804
+ undefined forward();
1805
+ undefined pushState(any data, DOMString unused, optional USVString? url = null);
1806
+ undefined replaceState(any data, DOMString unused, optional USVString? url = null);
1807
+ };
1808
+
1809
1809
  [Exposed=Window]
1810
1810
  interface PopStateEvent : Event {
1811
1811
  constructor(DOMString type, optional PopStateEventInit eventInitDict = {});
@@ -1944,6 +1944,7 @@ interface mixin GlobalEventHandlers {
1944
1944
  attribute EventHandler onreset;
1945
1945
  attribute EventHandler onresize;
1946
1946
  attribute EventHandler onscroll;
1947
+ attribute EventHandler onscrollend;
1947
1948
  attribute EventHandler onsecuritypolicyviolation;
1948
1949
  attribute EventHandler onseeked;
1949
1950
  attribute EventHandler onseeking;
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.20.0",
4
+ "version": "3.21.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -22,6 +22,7 @@ interface PerformanceResourceTiming : PerformanceEntry {
22
22
  readonly attribute unsigned long long transferSize;
23
23
  readonly attribute unsigned long long encodedBodySize;
24
24
  readonly attribute unsigned long long decodedBodySize;
25
+ readonly attribute unsigned short responseStatus;
25
26
  readonly attribute RenderBlockingStatusType renderBlockingStatus;
26
27
  [Default] object toJSON();
27
28
  };
@@ -9,7 +9,11 @@ partial dictionary AudioEncoderConfig {
9
9
 
10
10
  dictionary OpusEncoderConfig {
11
11
  OpusBitstreamFormat format = "opus";
12
- [EnforceRange] unsigned long frameDuration;
12
+ [EnforceRange] unsigned long long frameDuration = 20000;
13
+ [EnforceRange] unsigned long complexity;
14
+ [EnforceRange] unsigned long packetlossperc = 0;
15
+ boolean useinbandfec = false;
16
+ boolean usedtx = false;
13
17
  };
14
18
 
15
19
  enum OpusBitstreamFormat {
package/webcodecs.idl CHANGED
@@ -312,6 +312,8 @@ interface VideoFrame {
312
312
  readonly attribute long long timestamp; // microseconds
313
313
  readonly attribute VideoColorSpace colorSpace;
314
314
 
315
+ VideoFrameMetadata metadata();
316
+
315
317
  unsigned long allocationSize(
316
318
  optional VideoFrameCopyToOptions options = {});
317
319
  Promise<sequence<PlaneLayout>> copyTo(
@@ -334,6 +336,8 @@ dictionary VideoFrameInit {
334
336
  // Default matches image unless visibleRect is provided.
335
337
  [EnforceRange] unsigned long displayWidth;
336
338
  [EnforceRange] unsigned long displayHeight;
339
+
340
+ VideoFrameMetadata metadata;
337
341
  };
338
342
 
339
343
  dictionary VideoFrameBufferInit {
@@ -356,6 +360,10 @@ dictionary VideoFrameBufferInit {
356
360
  VideoColorSpaceInit colorSpace;
357
361
  };
358
362
 
363
+ dictionary VideoFrameMetadata {
364
+ // Possible members are recorded in the VideoFrame Metadata Registry.
365
+ };
366
+
359
367
  dictionary VideoFrameCopyToOptions {
360
368
  DOMRectInit rect;
361
369
  sequence<PlaneLayout> layout;
@@ -400,10 +408,10 @@ interface VideoColorSpace {
400
408
  };
401
409
 
402
410
  dictionary VideoColorSpaceInit {
403
- VideoColorPrimaries? primaries;
404
- VideoTransferCharacteristics? transfer;
405
- VideoMatrixCoefficients? matrix;
406
- boolean? fullRange;
411
+ VideoColorPrimaries? primaries = null;
412
+ VideoTransferCharacteristics? transfer = null;
413
+ VideoMatrixCoefficients? matrix = null;
414
+ boolean? fullRange = null;
407
415
  };
408
416
 
409
417
  enum VideoColorPrimaries {
@@ -80,7 +80,7 @@ dictionary RTCEncodedVideoFrameMetadata {
80
80
  [Exposed=(Window,DedicatedWorker)]
81
81
  interface RTCEncodedVideoFrame {
82
82
  readonly attribute RTCEncodedVideoFrameType type;
83
- readonly attribute unsigned long timestamp; // RTP timestamp.
83
+ readonly attribute unsigned long timestamp;
84
84
  attribute ArrayBuffer data;
85
85
  RTCEncodedVideoFrameMetadata getMetadata();
86
86
  };
@@ -93,13 +93,11 @@ dictionary RTCEncodedAudioFrameMetadata {
93
93
 
94
94
  [Exposed=(Window,DedicatedWorker)]
95
95
  interface RTCEncodedAudioFrame {
96
- readonly attribute unsigned long timestamp; // RTP timestamp.
96
+ readonly attribute unsigned long timestamp;
97
97
  attribute ArrayBuffer data;
98
98
  RTCEncodedAudioFrameMetadata getMetadata();
99
99
  };
100
100
 
101
- // New interfaces to expose JavaScript-based transforms.
102
-
103
101
  [Exposed=DedicatedWorker]
104
102
  interface RTCTransformEvent : Event {
105
103
  readonly attribute RTCRtpScriptTransformer transformer;
package/webrtc.idl CHANGED
@@ -179,6 +179,7 @@ interface RTCIceCandidate {
179
179
  readonly attribute unsigned short? relatedPort;
180
180
  readonly attribute DOMString? usernameFragment;
181
181
  readonly attribute RTCIceServerTransportProtocol? relayProtocol;
182
+ readonly attribute DOMString? url;
182
183
  RTCIceCandidateInit toJSON();
183
184
  };
184
185