@webref/idl 3.20.1 → 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/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.1",
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/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