@webref/idl 3.53.1 → 3.54.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/css-fonts.idl +1 -1
- package/{digital-identities.idl → digital-credentials.idl} +1 -1
- package/{FedCM.idl → fedcm.idl} +1 -16
- package/ink-enhancement.idl +2 -2
- package/observable.idl +106 -0
- package/package.json +1 -1
- package/private-aggregation-api.idl +73 -0
- package/shared-storage.idl +8 -0
- package/uievents.idl +0 -23
- package/webgpu.idl +3 -1
package/css-fonts.idl
CHANGED
|
@@ -38,7 +38,7 @@ interface CSSFontFaceDescriptors : CSSStyleDeclaration {
|
|
|
38
38
|
|
|
39
39
|
[Exposed=Window]
|
|
40
40
|
interface CSSFontFaceRule : CSSRule {
|
|
41
|
-
readonly attribute CSSFontFaceDescriptors style;
|
|
41
|
+
[SameObject, PutForwards=cssText] readonly attribute CSSFontFaceDescriptors style;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
44
|
partial interface CSSRule { const unsigned short FONT_FEATURE_VALUES_RULE = 14;
|
|
@@ -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: Digital Credentials (https://wicg.github.io/digital-credentials)
|
|
4
|
+
// Source: Digital Credentials (https://wicg.github.io/digital-credentials/)
|
|
5
5
|
|
|
6
6
|
partial interface Navigator {
|
|
7
7
|
[SecureContext, SameObject] readonly attribute CredentialsContainer identity;
|
package/{FedCM.idl → fedcm.idl}
RENAMED
|
@@ -1,22 +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: Federated Credential Management API (https://
|
|
5
|
-
|
|
6
|
-
enum LoginStatus {
|
|
7
|
-
"logged-in",
|
|
8
|
-
"logged-out",
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
[Exposed=Window, SecureContext]
|
|
12
|
-
|
|
13
|
-
interface NavigatorLogin {
|
|
14
|
-
Promise<undefined> setStatus(LoginStatus status);
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
partial interface Navigator {
|
|
18
|
-
[SecureContext] readonly attribute NavigatorLogin login;
|
|
19
|
-
};
|
|
4
|
+
// Source: Federated Credential Management API (https://w3c-fedid.github.io/FedCM/)
|
|
20
5
|
|
|
21
6
|
dictionary IdentityCredentialDisconnectOptions : IdentityProviderConfig {
|
|
22
7
|
required USVString accountHint;
|
package/ink-enhancement.idl
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
[Exposed=Window]
|
|
7
7
|
interface Ink {
|
|
8
|
-
Promise<
|
|
8
|
+
Promise<DelegatedInkTrailPresenter> requestPresenter(
|
|
9
9
|
optional InkPresenterParam param = {});
|
|
10
10
|
};
|
|
11
11
|
|
|
@@ -14,7 +14,7 @@ dictionary InkPresenterParam {
|
|
|
14
14
|
};
|
|
15
15
|
|
|
16
16
|
[Exposed=Window]
|
|
17
|
-
interface
|
|
17
|
+
interface DelegatedInkTrailPresenter {
|
|
18
18
|
readonly attribute Element? presentationArea;
|
|
19
19
|
|
|
20
20
|
undefined updateInkTrailStartPoint(PointerEvent event, InkTrailStyle style);
|
package/observable.idl
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Observable (https://wicg.github.io/observable/)
|
|
5
|
+
|
|
6
|
+
[Exposed=*]
|
|
7
|
+
interface Subscriber {
|
|
8
|
+
undefined next(any value);
|
|
9
|
+
undefined error(any error);
|
|
10
|
+
undefined complete();
|
|
11
|
+
undefined addTeardown(VoidFunction teardown);
|
|
12
|
+
|
|
13
|
+
// True after the Subscriber is created, up until either
|
|
14
|
+
// complete()/error() are invoked, or the subscriber unsubscribes. Inside
|
|
15
|
+
// complete()/error(), this attribute is true.
|
|
16
|
+
readonly attribute boolean active;
|
|
17
|
+
|
|
18
|
+
readonly attribute AbortSignal signal;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
// SubscribeCallback is where the Observable "creator’s" code lives. It’s
|
|
22
|
+
// called when subscribe() is called, to set up a new subscription.
|
|
23
|
+
callback SubscribeCallback = undefined (Subscriber subscriber);
|
|
24
|
+
callback ObservableSubscriptionCallback = undefined (any value);
|
|
25
|
+
|
|
26
|
+
dictionary SubscriptionObserver {
|
|
27
|
+
ObservableSubscriptionCallback next;
|
|
28
|
+
ObservableSubscriptionCallback error;
|
|
29
|
+
VoidFunction complete;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
callback ObservableInspectorAbortHandler = undefined (any value);
|
|
33
|
+
|
|
34
|
+
dictionary ObservableInspector {
|
|
35
|
+
ObservableSubscriptionCallback next;
|
|
36
|
+
ObservableSubscriptionCallback error;
|
|
37
|
+
VoidFunction complete;
|
|
38
|
+
|
|
39
|
+
VoidFunction subscribe;
|
|
40
|
+
ObservableInspectorAbortHandler abort;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
typedef (ObservableSubscriptionCallback or SubscriptionObserver) ObserverUnion;
|
|
44
|
+
typedef (ObservableSubscriptionCallback or ObservableInspector) ObservableInspectorUnion;
|
|
45
|
+
|
|
46
|
+
dictionary SubscribeOptions {
|
|
47
|
+
AbortSignal signal;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
callback Predicate = boolean (any value, unsigned long long index);
|
|
51
|
+
callback Reducer = any (any accumulator, any currentValue, unsigned long long index);
|
|
52
|
+
callback Mapper = any (any value, unsigned long long index);
|
|
53
|
+
// Differs from Mapper only in return type, since this callback is exclusively
|
|
54
|
+
// used to visit each element in a sequence, not transform it.
|
|
55
|
+
callback Visitor = undefined (any value, unsigned long long index);
|
|
56
|
+
|
|
57
|
+
// This callback returns an `any` that must convert into an `Observable`, via
|
|
58
|
+
// the `Observable` conversion semantics.
|
|
59
|
+
callback CatchCallback = any (any value);
|
|
60
|
+
|
|
61
|
+
[Exposed=*]
|
|
62
|
+
interface Observable {
|
|
63
|
+
constructor(SubscribeCallback callback);
|
|
64
|
+
undefined subscribe(optional ObserverUnion observer = {}, optional SubscribeOptions options = {});
|
|
65
|
+
|
|
66
|
+
// Constructs a native Observable from value if it’s any of the following:
|
|
67
|
+
// - Observable
|
|
68
|
+
// - AsyncIterable
|
|
69
|
+
// - Iterable
|
|
70
|
+
// - Promise
|
|
71
|
+
static Observable from(any value);
|
|
72
|
+
|
|
73
|
+
// Observable-returning operators. See "Operators" section in the spec.
|
|
74
|
+
//
|
|
75
|
+
// takeUntil() can consume promises, iterables, async iterables, and other
|
|
76
|
+
// observables.
|
|
77
|
+
Observable takeUntil(any notifier);
|
|
78
|
+
Observable map(Mapper mapper);
|
|
79
|
+
Observable filter(Predicate predicate);
|
|
80
|
+
Observable take(unsigned long long amount);
|
|
81
|
+
Observable drop(unsigned long long amount);
|
|
82
|
+
Observable flatMap(Mapper mapper);
|
|
83
|
+
Observable switchMap(Mapper mapper);
|
|
84
|
+
Observable inspect(optional ObservableInspectorUnion inspect_observer = {});
|
|
85
|
+
Observable catch(CatchCallback callback);
|
|
86
|
+
Observable finally(VoidFunction callback);
|
|
87
|
+
|
|
88
|
+
// Promise-returning operators.
|
|
89
|
+
Promise<sequence<any>> toArray(optional SubscribeOptions options = {});
|
|
90
|
+
Promise<undefined> forEach(Visitor callback, optional SubscribeOptions options = {});
|
|
91
|
+
Promise<boolean> every(Predicate predicate, optional SubscribeOptions options = {});
|
|
92
|
+
Promise<any> first(optional SubscribeOptions options = {});
|
|
93
|
+
Promise<any> last(optional SubscribeOptions options = {});
|
|
94
|
+
Promise<any> find(Predicate predicate, optional SubscribeOptions options = {});
|
|
95
|
+
Promise<boolean> some(Predicate predicate, optional SubscribeOptions options = {});
|
|
96
|
+
Promise<any> reduce(Reducer reducer, optional any initialValue, optional SubscribeOptions options = {});
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
dictionary ObservableEventListenerOptions {
|
|
100
|
+
boolean capture = false;
|
|
101
|
+
boolean passive;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
partial interface EventTarget {
|
|
105
|
+
Observable when(DOMString type, optional ObservableEventListenerOptions options = {});
|
|
106
|
+
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// GENERATED CONTENT - DO NOT EDIT
|
|
2
|
+
// Content was automatically extracted by Reffy into webref
|
|
3
|
+
// (https://github.com/w3c/webref)
|
|
4
|
+
// Source: Private Aggregation API (https://patcg-individual-drafts.github.io/private-aggregation-api/)
|
|
5
|
+
|
|
6
|
+
[Exposed=(InterestGroupScriptRunnerGlobalScope,SharedStorageWorklet),
|
|
7
|
+
SecureContext]
|
|
8
|
+
interface PrivateAggregation {
|
|
9
|
+
undefined contributeToHistogram(PAHistogramContribution contribution);
|
|
10
|
+
undefined enableDebugMode(optional PADebugModeOptions options = {});
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
dictionary PAHistogramContribution {
|
|
14
|
+
required bigint bucket;
|
|
15
|
+
required long value;
|
|
16
|
+
bigint filteringId = 0;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
dictionary PADebugModeOptions {
|
|
20
|
+
required bigint debugKey;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
partial interface InterestGroupScriptRunnerGlobalScope {
|
|
24
|
+
readonly attribute PrivateAggregation privateAggregation;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
dictionary PASignalValue {
|
|
28
|
+
required DOMString baseValue;
|
|
29
|
+
double scale;
|
|
30
|
+
(bigint or long) offset;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
dictionary PAExtendedHistogramContribution {
|
|
34
|
+
required (PASignalValue or bigint) bucket;
|
|
35
|
+
required (PASignalValue or long) value;
|
|
36
|
+
bigint filteringId = 0;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
[Exposed=InterestGroupScriptRunnerGlobalScope, SecureContext]
|
|
40
|
+
partial interface PrivateAggregation {
|
|
41
|
+
undefined contributeToHistogramOnEvent(
|
|
42
|
+
DOMString event, PAExtendedHistogramContribution contribution);
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
dictionary AuctionReportBuyersConfig {
|
|
46
|
+
required bigint bucket;
|
|
47
|
+
required double scale;
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
dictionary AuctionReportBuyerDebugModeConfig {
|
|
51
|
+
boolean enabled = false;
|
|
52
|
+
|
|
53
|
+
// Must only be provided if `enabled` is true.
|
|
54
|
+
bigint? debugKey;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
partial dictionary AuctionAdConfig {
|
|
58
|
+
sequence<bigint> auctionReportBuyerKeys;
|
|
59
|
+
record<DOMString, AuctionReportBuyersConfig> auctionReportBuyers;
|
|
60
|
+
AuctionReportBuyerDebugModeConfig auctionReportBuyerDebugModeConfig;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
dictionary ProtectedAudiencePrivateAggregationConfig {
|
|
64
|
+
USVString aggregationCoordinatorOrigin;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
partial dictionary AuctionAdConfig {
|
|
68
|
+
ProtectedAudiencePrivateAggregationConfig privateAggregationConfig;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
partial dictionary AuctionAdInterestGroup {
|
|
72
|
+
ProtectedAudiencePrivateAggregationConfig privateAggregationConfig;
|
|
73
|
+
};
|
package/shared-storage.idl
CHANGED
|
@@ -24,6 +24,7 @@ interface SharedStorageWorkletGlobalScope : WorkletGlobalScope {
|
|
|
24
24
|
Function operationCtor);
|
|
25
25
|
|
|
26
26
|
readonly attribute SharedStorage sharedStorage;
|
|
27
|
+
readonly attribute PrivateAggregation privateAggregation;
|
|
27
28
|
};
|
|
28
29
|
|
|
29
30
|
dictionary SharedStorageUrlWithMetadata {
|
|
@@ -77,10 +78,17 @@ dictionary SharedStorageSetMethodOptions {
|
|
|
77
78
|
boolean ignoreIfPresent = false;
|
|
78
79
|
};
|
|
79
80
|
|
|
81
|
+
dictionary SharedStoragePrivateAggregationConfig {
|
|
82
|
+
USVString aggregationCoordinatorOrigin;
|
|
83
|
+
USVString contextId;
|
|
84
|
+
[EnforceRange] unsigned long long filteringIdMaxBytes;
|
|
85
|
+
};
|
|
86
|
+
|
|
80
87
|
dictionary SharedStorageRunOperationMethodOptions {
|
|
81
88
|
object data;
|
|
82
89
|
boolean resolveToConfig = false;
|
|
83
90
|
boolean keepAlive = false;
|
|
91
|
+
SharedStoragePrivateAggregationConfig privateAggregationConfig;
|
|
84
92
|
};
|
|
85
93
|
|
|
86
94
|
dictionary SharedStorageWorkletOptions : WorkletOptions {
|
package/uievents.idl
CHANGED
|
@@ -235,26 +235,3 @@ interface TextEvent : UIEvent {
|
|
|
235
235
|
optional Window? view = null,
|
|
236
236
|
optional DOMString data = "undefined");
|
|
237
237
|
};
|
|
238
|
-
|
|
239
|
-
[Exposed=Window]
|
|
240
|
-
interface MutationEvent : Event {
|
|
241
|
-
// attrChangeType
|
|
242
|
-
const unsigned short MODIFICATION = 1;
|
|
243
|
-
const unsigned short ADDITION = 2;
|
|
244
|
-
const unsigned short REMOVAL = 3;
|
|
245
|
-
|
|
246
|
-
readonly attribute Node? relatedNode;
|
|
247
|
-
readonly attribute DOMString prevValue;
|
|
248
|
-
readonly attribute DOMString newValue;
|
|
249
|
-
readonly attribute DOMString attrName;
|
|
250
|
-
readonly attribute unsigned short attrChange;
|
|
251
|
-
|
|
252
|
-
undefined initMutationEvent(DOMString typeArg,
|
|
253
|
-
optional boolean bubblesArg = false,
|
|
254
|
-
optional boolean cancelableArg = false,
|
|
255
|
-
optional Node? relatedNodeArg = null,
|
|
256
|
-
optional DOMString prevValueArg = "",
|
|
257
|
-
optional DOMString newValueArg = "",
|
|
258
|
-
optional DOMString attrNameArg = "",
|
|
259
|
-
optional unsigned short attrChangeArg = 0);
|
|
260
|
-
};
|
package/webgpu.idl
CHANGED
|
@@ -78,6 +78,7 @@ interface GPU {
|
|
|
78
78
|
};
|
|
79
79
|
|
|
80
80
|
dictionary GPURequestAdapterOptions {
|
|
81
|
+
any featureLevel;
|
|
81
82
|
GPUPowerPreference powerPreference;
|
|
82
83
|
boolean forceFallbackAdapter = false;
|
|
83
84
|
};
|
|
@@ -111,6 +112,7 @@ enum GPUFeatureName {
|
|
|
111
112
|
"texture-compression-bc-sliced-3d",
|
|
112
113
|
"texture-compression-etc2",
|
|
113
114
|
"texture-compression-astc",
|
|
115
|
+
"texture-compression-astc-sliced-3d",
|
|
114
116
|
"timestamp-query",
|
|
115
117
|
"indirect-first-instance",
|
|
116
118
|
"shader-f16",
|
|
@@ -639,7 +641,7 @@ interface mixin GPUPipelineBase {
|
|
|
639
641
|
dictionary GPUProgrammableStage {
|
|
640
642
|
required GPUShaderModule module;
|
|
641
643
|
USVString entryPoint;
|
|
642
|
-
record<USVString, GPUPipelineConstantValue> constants;
|
|
644
|
+
record<USVString, GPUPipelineConstantValue> constants = {};
|
|
643
645
|
};
|
|
644
646
|
|
|
645
647
|
typedef double GPUPipelineConstantValue; // May represent WGSL's bool, f32, i32, u32, and f16 if enabled.
|