@webref/idl 3.25.1 → 3.27.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 +23 -22
- package/css-cascade-6.idl +10 -0
- package/css-contain.idl +3 -3
- package/dom.idl +1 -1
- package/gamepad-extensions.idl +1 -1
- package/html.idl +3 -0
- package/package.json +1 -1
- package/requestStorageAccessForOrigin.idl +1 -1
- package/selection-api.idl +2 -1
- package/wasm-js-api.idl +6 -6
- package/webauthn.idl +0 -1
- package/webgpu.idl +3 -2
- package/webrtc.idl +1 -1
- package/webtransport.idl +18 -9
- package/priority-hints.idl +0 -20
package/FedCM.idl
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
// (https://github.com/w3c/webref)
|
|
4
4
|
// Source: Federated Credential Management API (https://fedidcg.github.io/FedCM/)
|
|
5
5
|
|
|
6
|
+
[Exposed=Window, SecureContext]
|
|
7
|
+
interface IdentityCredential : Credential {
|
|
8
|
+
readonly attribute USVString? token;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
partial dictionary CredentialRequestOptions {
|
|
12
|
+
IdentityCredentialRequestOptions identity;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
dictionary IdentityCredentialRequestOptions {
|
|
16
|
+
sequence<IdentityProviderConfig> providers;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
dictionary IdentityProviderConfig {
|
|
20
|
+
required USVString configURL;
|
|
21
|
+
required USVString clientId;
|
|
22
|
+
USVString nonce;
|
|
23
|
+
};
|
|
24
|
+
|
|
6
25
|
dictionary IdentityProviderWellKnown {
|
|
7
26
|
required sequence<USVString> provider_urls;
|
|
8
27
|
};
|
|
@@ -16,6 +35,7 @@ dictionary IdentityProviderBranding {
|
|
|
16
35
|
USVString background_color;
|
|
17
36
|
USVString color;
|
|
18
37
|
sequence<IdentityProviderIcon> icons;
|
|
38
|
+
USVString name;
|
|
19
39
|
};
|
|
20
40
|
|
|
21
41
|
dictionary IdentityProviderAPIConfig {
|
|
@@ -37,30 +57,11 @@ dictionary IdentityProviderAccountList {
|
|
|
37
57
|
sequence<IdentityProviderAccount> accounts;
|
|
38
58
|
};
|
|
39
59
|
|
|
40
|
-
dictionary IdentityProviderClientMetadata {
|
|
41
|
-
USVString privacy_policy_url;
|
|
42
|
-
USVString terms_of_service_url;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
60
|
dictionary IdentityProviderToken {
|
|
46
61
|
required USVString token;
|
|
47
62
|
};
|
|
48
63
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
partial dictionary CredentialRequestOptions {
|
|
55
|
-
IdentityCredentialRequestOptions identity;
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
dictionary IdentityCredentialRequestOptions {
|
|
59
|
-
sequence<IdentityProviderConfig> providers;
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
dictionary IdentityProviderConfig {
|
|
63
|
-
required USVString configURL;
|
|
64
|
-
required USVString clientId;
|
|
65
|
-
USVString nonce;
|
|
64
|
+
dictionary IdentityProviderClientMetadata {
|
|
65
|
+
USVString privacy_policy_url;
|
|
66
|
+
USVString terms_of_service_url;
|
|
66
67
|
};
|
|
@@ -0,0 +1,10 @@
|
|
|
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 6 (https://drafts.csswg.org/css-cascade-6/)
|
|
5
|
+
|
|
6
|
+
[Exposed=Window]
|
|
7
|
+
interface CSSScopeRule : CSSGroupingRule {
|
|
8
|
+
readonly attribute CSSOMString start;
|
|
9
|
+
readonly attribute CSSOMString end;
|
|
10
|
+
};
|
package/css-contain.idl
CHANGED
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
// Source: CSS Containment Module Level 2 (https://drafts.csswg.org/css-contain-2/)
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
|
-
interface
|
|
8
|
-
constructor(DOMString type, optional
|
|
7
|
+
interface ContentVisibilityAutoStateChangeEvent : Event {
|
|
8
|
+
constructor(DOMString type, optional ContentVisibilityAutoStateChangeEventInit eventInitDict = {});
|
|
9
9
|
readonly attribute boolean skipped;
|
|
10
10
|
};
|
|
11
|
-
dictionary
|
|
11
|
+
dictionary ContentVisibilityAutoStateChangeEventInit : EventInit {
|
|
12
12
|
boolean skipped = false;
|
|
13
13
|
};
|
package/dom.idl
CHANGED
|
@@ -618,7 +618,7 @@ callback interface XPathNSResolver {
|
|
|
618
618
|
|
|
619
619
|
interface mixin XPathEvaluatorBase {
|
|
620
620
|
[NewObject] XPathExpression createExpression(DOMString expression, optional XPathNSResolver? resolver = null);
|
|
621
|
-
|
|
621
|
+
Node createNSResolver(Node nodeResolver); // legacy
|
|
622
622
|
// XPathResult.ANY_TYPE = 0
|
|
623
623
|
XPathResult evaluate(DOMString expression, Node contextNode, optional XPathNSResolver? resolver = null, optional unsigned short type = 0, optional XPathResult? result = null);
|
|
624
624
|
};
|
package/gamepad-extensions.idl
CHANGED
|
@@ -67,5 +67,5 @@ partial interface Gamepad {
|
|
|
67
67
|
readonly attribute FrozenArray<GamepadHapticActuator> hapticActuators;
|
|
68
68
|
readonly attribute GamepadPose? pose;
|
|
69
69
|
readonly attribute FrozenArray<GamepadTouch>? touchEvents;
|
|
70
|
-
[SameObject] readonly attribute GamepadHapticActuator vibrationActuator;
|
|
70
|
+
[SameObject] readonly attribute GamepadHapticActuator? vibrationActuator;
|
|
71
71
|
};
|
package/html.idl
CHANGED
|
@@ -208,6 +208,7 @@ interface HTMLLinkElement : HTMLElement {
|
|
|
208
208
|
[CEReactions] attribute DOMString referrerPolicy;
|
|
209
209
|
[SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
|
|
210
210
|
[CEReactions] attribute boolean disabled;
|
|
211
|
+
[CEReactions] attribute DOMString fetchPriority;
|
|
211
212
|
|
|
212
213
|
// also has obsolete members
|
|
213
214
|
};
|
|
@@ -436,6 +437,7 @@ interface HTMLImageElement : HTMLElement {
|
|
|
436
437
|
[CEReactions] attribute DOMString referrerPolicy;
|
|
437
438
|
[CEReactions] attribute DOMString decoding;
|
|
438
439
|
[CEReactions] attribute DOMString loading;
|
|
440
|
+
[CEReactions] attribute DOMString fetchPriority;
|
|
439
441
|
|
|
440
442
|
Promise<undefined> decode();
|
|
441
443
|
|
|
@@ -1222,6 +1224,7 @@ interface HTMLScriptElement : HTMLElement {
|
|
|
1222
1224
|
[CEReactions] attribute DOMString integrity;
|
|
1223
1225
|
[CEReactions] attribute DOMString referrerPolicy;
|
|
1224
1226
|
[SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
|
|
1227
|
+
[CEReactions] attribute DOMString fetchPriority;
|
|
1225
1228
|
|
|
1226
1229
|
static boolean supports(DOMString type);
|
|
1227
1230
|
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// Source: requestStorageAccessForOrigin API (https://privacycg.github.io/requestStorageAccessForOrigin/)
|
|
5
5
|
|
|
6
6
|
partial interface Document {
|
|
7
|
-
Promise<undefined> requestStorageAccessForOrigin(USVString
|
|
7
|
+
Promise<undefined> requestStorageAccessForOrigin(USVString requestedOrigin);
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
dictionary TopLevelStorageAccessPermissionDescriptor : PermissionDescriptor {
|
package/selection-api.idl
CHANGED
|
@@ -12,12 +12,13 @@ interface Selection {
|
|
|
12
12
|
readonly attribute boolean isCollapsed;
|
|
13
13
|
readonly attribute unsigned long rangeCount;
|
|
14
14
|
readonly attribute DOMString type;
|
|
15
|
+
readonly attribute DOMString direction;
|
|
15
16
|
Range getRangeAt(unsigned long index);
|
|
16
17
|
undefined addRange(Range range);
|
|
17
18
|
undefined removeRange(Range range);
|
|
18
19
|
undefined removeAllRanges();
|
|
19
20
|
undefined empty();
|
|
20
|
-
StaticRange
|
|
21
|
+
sequence<StaticRange> getComposedRanges(ShadowRoot... shadowRoots);
|
|
21
22
|
undefined collapse(Node? node, optional unsigned long offset = 0);
|
|
22
23
|
undefined setPosition(Node? node, optional unsigned long offset = 0);
|
|
23
24
|
undefined collapseToStart();
|
package/wasm-js-api.idl
CHANGED
|
@@ -8,7 +8,7 @@ dictionary WebAssemblyInstantiatedSource {
|
|
|
8
8
|
required Instance instance;
|
|
9
9
|
};
|
|
10
10
|
|
|
11
|
-
[Exposed
|
|
11
|
+
[Exposed=*]
|
|
12
12
|
namespace WebAssembly {
|
|
13
13
|
boolean validate(BufferSource bytes);
|
|
14
14
|
Promise<Module> compile(BufferSource bytes);
|
|
@@ -39,7 +39,7 @@ dictionary ModuleImportDescriptor {
|
|
|
39
39
|
required ImportExportKind kind;
|
|
40
40
|
};
|
|
41
41
|
|
|
42
|
-
[LegacyNamespace=WebAssembly, Exposed
|
|
42
|
+
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
43
43
|
interface Module {
|
|
44
44
|
constructor(BufferSource bytes);
|
|
45
45
|
static sequence<ModuleExportDescriptor> exports(Module moduleObject);
|
|
@@ -47,7 +47,7 @@ interface Module {
|
|
|
47
47
|
static sequence<ArrayBuffer> customSections(Module moduleObject, DOMString sectionName);
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
[LegacyNamespace=WebAssembly, Exposed
|
|
50
|
+
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
51
51
|
interface Instance {
|
|
52
52
|
constructor(Module module, optional object importObject);
|
|
53
53
|
readonly attribute object exports;
|
|
@@ -58,7 +58,7 @@ dictionary MemoryDescriptor {
|
|
|
58
58
|
[EnforceRange] unsigned long maximum;
|
|
59
59
|
};
|
|
60
60
|
|
|
61
|
-
[LegacyNamespace=WebAssembly, Exposed
|
|
61
|
+
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
62
62
|
interface Memory {
|
|
63
63
|
constructor(MemoryDescriptor descriptor);
|
|
64
64
|
unsigned long grow([EnforceRange] unsigned long delta);
|
|
@@ -78,7 +78,7 @@ dictionary TableDescriptor {
|
|
|
78
78
|
[EnforceRange] unsigned long maximum;
|
|
79
79
|
};
|
|
80
80
|
|
|
81
|
-
[LegacyNamespace=WebAssembly, Exposed
|
|
81
|
+
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
82
82
|
interface Table {
|
|
83
83
|
constructor(TableDescriptor descriptor, optional any value);
|
|
84
84
|
unsigned long grow([EnforceRange] unsigned long delta, optional any value);
|
|
@@ -102,7 +102,7 @@ dictionary GlobalDescriptor {
|
|
|
102
102
|
boolean mutable = false;
|
|
103
103
|
};
|
|
104
104
|
|
|
105
|
-
[LegacyNamespace=WebAssembly, Exposed
|
|
105
|
+
[LegacyNamespace=WebAssembly, Exposed=*]
|
|
106
106
|
interface Global {
|
|
107
107
|
constructor(GlobalDescriptor descriptor, optional any v);
|
|
108
108
|
any valueOf();
|
package/webauthn.idl
CHANGED
package/webgpu.idl
CHANGED
|
@@ -106,7 +106,8 @@ enum GPUFeatureName {
|
|
|
106
106
|
"timestamp-query",
|
|
107
107
|
"indirect-first-instance",
|
|
108
108
|
"shader-f16",
|
|
109
|
-
"rg11b10ufloat-renderable"
|
|
109
|
+
"rg11b10ufloat-renderable",
|
|
110
|
+
"bgra8unorm-storage"
|
|
110
111
|
};
|
|
111
112
|
|
|
112
113
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -548,7 +549,7 @@ dictionary GPUPipelineLayoutDescriptor : GPUObjectDescriptorBase {
|
|
|
548
549
|
|
|
549
550
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
550
551
|
interface GPUShaderModule {
|
|
551
|
-
Promise<GPUCompilationInfo>
|
|
552
|
+
Promise<GPUCompilationInfo> getCompilationInfo();
|
|
552
553
|
};
|
|
553
554
|
GPUShaderModule includes GPUObjectBase;
|
|
554
555
|
|
package/webrtc.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: WebRTC
|
|
4
|
+
// Source: WebRTC: Real-Time Communication in Browsers (https://w3c.github.io/webrtc-pc/)
|
|
5
5
|
|
|
6
6
|
dictionary RTCConfiguration {
|
|
7
7
|
sequence<RTCIceServer> iceServers = [];
|
package/webtransport.idl
CHANGED
|
@@ -9,14 +9,14 @@ interface WebTransportDatagramDuplexStream {
|
|
|
9
9
|
readonly attribute WritableStream writable;
|
|
10
10
|
|
|
11
11
|
readonly attribute unsigned long maxDatagramSize;
|
|
12
|
-
attribute double
|
|
13
|
-
attribute double
|
|
14
|
-
attribute
|
|
15
|
-
attribute
|
|
12
|
+
attribute unrestricted double incomingMaxAge;
|
|
13
|
+
attribute unrestricted double outgoingMaxAge;
|
|
14
|
+
attribute unrestricted double incomingHighWaterMark;
|
|
15
|
+
attribute unrestricted double outgoingHighWaterMark;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
18
|
[Exposed=(Window,Worker), SecureContext]
|
|
19
|
-
interface WebTransport {
|
|
19
|
+
interface WebTransport : EventTarget {
|
|
20
20
|
constructor(USVString url, optional WebTransportOptions options = {});
|
|
21
21
|
|
|
22
22
|
Promise<WebTransportStats> getStats();
|
|
@@ -37,6 +37,10 @@ interface WebTransport {
|
|
|
37
37
|
optional WebTransportSendStreamOptions options = {});
|
|
38
38
|
/* a ReadableStream of WebTransportReceiveStream objects */
|
|
39
39
|
readonly attribute ReadableStream incomingUnidirectionalStreams;
|
|
40
|
+
|
|
41
|
+
attribute unsigned long rateControlFeedbackMinInterval;
|
|
42
|
+
attribute EventHandler onratecontrolfeedback;
|
|
43
|
+
[SameObject] readonly attribute WebTransportRateControlFeedback rateControlFeedback;
|
|
40
44
|
};
|
|
41
45
|
|
|
42
46
|
enum WebTransportReliabilityMode {
|
|
@@ -124,16 +128,21 @@ interface WebTransportBidirectionalStream {
|
|
|
124
128
|
};
|
|
125
129
|
|
|
126
130
|
[Exposed=(Window,Worker), SecureContext]
|
|
131
|
+
interface WebTransportRateControlFeedback {
|
|
132
|
+
readonly attribute unsigned long long? sendRate;
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
[Exposed=(Window,Worker), Serializable, SecureContext]
|
|
127
136
|
interface WebTransportError : DOMException {
|
|
128
|
-
constructor(optional
|
|
137
|
+
constructor(optional DOMString message = "", optional WebTransportErrorOptions options = {});
|
|
129
138
|
|
|
130
139
|
readonly attribute WebTransportErrorSource source;
|
|
131
140
|
readonly attribute octet? streamErrorCode;
|
|
132
141
|
};
|
|
133
142
|
|
|
134
|
-
dictionary
|
|
135
|
-
|
|
136
|
-
|
|
143
|
+
dictionary WebTransportErrorOptions {
|
|
144
|
+
WebTransportErrorSource source = "stream";
|
|
145
|
+
[Clamp] octet? streamErrorCode = null;
|
|
137
146
|
};
|
|
138
147
|
|
|
139
148
|
enum WebTransportErrorSource {
|
package/priority-hints.idl
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
partial interface HTMLImageElement {
|
|
7
|
-
[CEReactions] attribute DOMString fetchPriority;
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
partial interface HTMLLinkElement {
|
|
11
|
-
[CEReactions] attribute DOMString fetchPriority;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
partial interface HTMLScriptElement {
|
|
15
|
-
[CEReactions] attribute DOMString fetchPriority;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
partial interface HTMLIFrameElement {
|
|
19
|
-
[CEReactions] attribute DOMString fetchPriority;
|
|
20
|
-
};
|