@webref/idl 3.34.3 → 3.35.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 +21 -0
- package/document-picture-in-picture.idl +1 -2
- package/encoding.idl +1 -1
- package/fs.idl +2 -2
- package/navigation-timing.idl +1 -0
- package/package.json +1 -1
- package/scroll-animations.idl +2 -11
- package/streams.idl +2 -0
- package/turtledove.idl +11 -3
- package/web-animations.idl +53 -53
- package/webcodecs.idl +2 -0
- package/webgpu.idl +9 -3
- package/webidl.idl +1 -0
- package/webrtc-stats.idl +1 -0
package/FedCM.idl
CHANGED
|
@@ -12,14 +12,23 @@ partial dictionary CredentialRequestOptions {
|
|
|
12
12
|
IdentityCredentialRequestOptions identity;
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
+
enum IdentityCredentialRequestOptionsContext {
|
|
16
|
+
"signin",
|
|
17
|
+
"signup",
|
|
18
|
+
"use",
|
|
19
|
+
"continue"
|
|
20
|
+
};
|
|
21
|
+
|
|
15
22
|
dictionary IdentityCredentialRequestOptions {
|
|
16
23
|
sequence<IdentityProviderConfig> providers;
|
|
24
|
+
IdentityCredentialRequestOptionsContext context = "signin";
|
|
17
25
|
};
|
|
18
26
|
|
|
19
27
|
dictionary IdentityProviderConfig {
|
|
20
28
|
required USVString configURL;
|
|
21
29
|
required USVString clientId;
|
|
22
30
|
USVString nonce;
|
|
31
|
+
DOMString loginHint;
|
|
23
32
|
};
|
|
24
33
|
|
|
25
34
|
dictionary IdentityProviderWellKnown {
|
|
@@ -52,6 +61,7 @@ dictionary IdentityProviderAccount {
|
|
|
52
61
|
USVString given_name;
|
|
53
62
|
USVString picture;
|
|
54
63
|
sequence<USVString> approved_clients;
|
|
64
|
+
sequence<DOMString> login_hints;
|
|
55
65
|
};
|
|
56
66
|
dictionary IdentityProviderAccountList {
|
|
57
67
|
sequence<IdentityProviderAccount> accounts;
|
|
@@ -65,3 +75,14 @@ dictionary IdentityProviderClientMetadata {
|
|
|
65
75
|
USVString privacy_policy_url;
|
|
66
76
|
USVString terms_of_service_url;
|
|
67
77
|
};
|
|
78
|
+
|
|
79
|
+
dictionary IdentityUserInfo {
|
|
80
|
+
USVString email;
|
|
81
|
+
USVString name;
|
|
82
|
+
USVString givenName;
|
|
83
|
+
USVString picture;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
[Exposed=Window, SecureContext] interface IdentityProvider {
|
|
87
|
+
static Promise<sequence<IdentityUserInfo>> getUserInfo(IdentityProviderConfig config);
|
|
88
|
+
};
|
|
@@ -20,10 +20,9 @@ interface DocumentPictureInPicture : EventTarget {
|
|
|
20
20
|
dictionary DocumentPictureInPictureOptions {
|
|
21
21
|
[EnforceRange] unsigned long long width = 0;
|
|
22
22
|
[EnforceRange] unsigned long long height = 0;
|
|
23
|
-
boolean copyStyleSheets = false;
|
|
24
23
|
};
|
|
25
24
|
|
|
26
|
-
[Exposed=Window]
|
|
25
|
+
[Exposed=Window, SecureContext]
|
|
27
26
|
interface DocumentPictureInPictureEvent : Event {
|
|
28
27
|
constructor(DOMString type, DocumentPictureInPictureEventInit eventInitDict);
|
|
29
28
|
[SameObject] readonly attribute Window window;
|
package/encoding.idl
CHANGED
|
@@ -22,7 +22,7 @@ dictionary TextDecodeOptions {
|
|
|
22
22
|
interface TextDecoder {
|
|
23
23
|
constructor(optional DOMString label = "utf-8", optional TextDecoderOptions options = {});
|
|
24
24
|
|
|
25
|
-
USVString decode(optional
|
|
25
|
+
USVString decode(optional AllowSharedBufferSource input, optional TextDecodeOptions options = {});
|
|
26
26
|
};
|
|
27
27
|
TextDecoder includes TextDecoderCommon;
|
|
28
28
|
|
package/fs.idl
CHANGED
|
@@ -80,9 +80,9 @@ dictionary FileSystemReadWriteOptions {
|
|
|
80
80
|
|
|
81
81
|
[Exposed=DedicatedWorker, SecureContext]
|
|
82
82
|
interface FileSystemSyncAccessHandle {
|
|
83
|
-
unsigned long long read(
|
|
83
|
+
unsigned long long read(AllowSharedBufferSource buffer,
|
|
84
84
|
optional FileSystemReadWriteOptions options = {});
|
|
85
|
-
unsigned long long write(
|
|
85
|
+
unsigned long long write(AllowSharedBufferSource buffer,
|
|
86
86
|
optional FileSystemReadWriteOptions options = {});
|
|
87
87
|
|
|
88
88
|
undefined truncate([EnforceRange] unsigned long long newSize);
|
package/navigation-timing.idl
CHANGED
|
@@ -15,6 +15,7 @@ interface PerformanceNavigationTiming : PerformanceResourceTiming {
|
|
|
15
15
|
readonly attribute DOMHighResTimeStamp loadEventEnd;
|
|
16
16
|
readonly attribute NavigationTimingType type;
|
|
17
17
|
readonly attribute unsigned short redirectCount;
|
|
18
|
+
readonly attribute DOMHighResTimeStamp criticalCHRestart;
|
|
18
19
|
[Default] object toJSON();
|
|
19
20
|
};
|
|
20
21
|
|
package/package.json
CHANGED
package/scroll-animations.idl
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
enum ScrollAxis {
|
|
7
7
|
"block",
|
|
8
8
|
"inline",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"x",
|
|
10
|
+
"y"
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
dictionary ScrollTimelineOptions {
|
|
@@ -35,12 +35,3 @@ interface ViewTimeline : ScrollTimeline {
|
|
|
35
35
|
readonly attribute CSSNumericValue startOffset;
|
|
36
36
|
readonly attribute CSSNumericValue endOffset;
|
|
37
37
|
};
|
|
38
|
-
|
|
39
|
-
dictionary AnimationTimeOptions {
|
|
40
|
-
DOMString? range;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
[Exposed=Window]
|
|
44
|
-
partial interface AnimationTimeline {
|
|
45
|
-
CSSNumericValue? getCurrentTime(optional AnimationTimeOptions options = {});
|
|
46
|
-
};
|
package/streams.idl
CHANGED
package/turtledove.idl
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
[SecureContext]
|
|
7
7
|
partial interface Navigator {
|
|
8
|
-
Promise<undefined> joinAdInterestGroup(AuctionAdInterestGroup group
|
|
8
|
+
Promise<undefined> joinAdInterestGroup(AuctionAdInterestGroup group);
|
|
9
9
|
};
|
|
10
10
|
|
|
11
11
|
dictionary AuctionAd {
|
|
@@ -16,6 +16,7 @@ dictionary AuctionAd {
|
|
|
16
16
|
dictionary AuctionAdInterestGroup {
|
|
17
17
|
required USVString owner;
|
|
18
18
|
required USVString name;
|
|
19
|
+
required double lifetimeMs;
|
|
19
20
|
|
|
20
21
|
double priority = 0.0;
|
|
21
22
|
boolean enableBiddingSignalsPrioritization = false;
|
|
@@ -35,7 +36,7 @@ dictionary AuctionAdInterestGroup {
|
|
|
35
36
|
|
|
36
37
|
[SecureContext]
|
|
37
38
|
partial interface Navigator {
|
|
38
|
-
Promise<undefined> leaveAdInterestGroup(AuctionAdInterestGroupKey group);
|
|
39
|
+
Promise<undefined> leaveAdInterestGroup(optional AuctionAdInterestGroupKey group = {});
|
|
39
40
|
};
|
|
40
41
|
|
|
41
42
|
dictionary AuctionAdInterestGroupKey {
|
|
@@ -45,7 +46,7 @@ dictionary AuctionAdInterestGroupKey {
|
|
|
45
46
|
|
|
46
47
|
[SecureContext]
|
|
47
48
|
partial interface Navigator {
|
|
48
|
-
Promise<USVString?> runAdAuction(AuctionAdConfig config);
|
|
49
|
+
Promise<(USVString or FencedFrameConfig)?> runAdAuction(AuctionAdConfig config);
|
|
49
50
|
};
|
|
50
51
|
|
|
51
52
|
dictionary AuctionAdConfig {
|
|
@@ -65,6 +66,7 @@ dictionary AuctionAdConfig {
|
|
|
65
66
|
record<USVString, record<USVString, double>> perBuyerPrioritySignals;
|
|
66
67
|
sequence<AuctionAdConfig> componentAuctions = [];
|
|
67
68
|
AbortSignal? signal;
|
|
69
|
+
Promise<boolean> resolveToConfig;
|
|
68
70
|
};
|
|
69
71
|
|
|
70
72
|
[Exposed=InterestGroupScriptRunnerGlobalScope]
|
|
@@ -118,3 +120,9 @@ dictionary GenerateBidOutput {
|
|
|
118
120
|
partial interface Navigator {
|
|
119
121
|
undefined updateAdInterestGroups();
|
|
120
122
|
};
|
|
123
|
+
|
|
124
|
+
dictionary ScoreAdOutput {
|
|
125
|
+
required double desirability;
|
|
126
|
+
double bid;
|
|
127
|
+
boolean allowComponentAuction = false;
|
|
128
|
+
};
|
package/web-animations.idl
CHANGED
|
@@ -18,29 +18,29 @@ interface DocumentTimeline : AnimationTimeline {
|
|
|
18
18
|
|
|
19
19
|
[Exposed=Window]
|
|
20
20
|
interface Animation : EventTarget {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
21
|
+
constructor(optional AnimationEffect? effect = null,
|
|
22
|
+
optional AnimationTimeline? timeline);
|
|
23
|
+
attribute DOMString id;
|
|
24
|
+
attribute AnimationEffect? effect;
|
|
25
|
+
attribute AnimationTimeline? timeline;
|
|
26
|
+
attribute double playbackRate;
|
|
27
|
+
readonly attribute AnimationPlayState playState;
|
|
28
|
+
readonly attribute AnimationReplaceState replaceState;
|
|
29
|
+
readonly attribute boolean pending;
|
|
30
|
+
readonly attribute Promise<Animation> ready;
|
|
31
|
+
readonly attribute Promise<Animation> finished;
|
|
32
|
+
attribute EventHandler onfinish;
|
|
33
|
+
attribute EventHandler oncancel;
|
|
34
|
+
attribute EventHandler onremove;
|
|
35
|
+
undefined cancel();
|
|
36
|
+
undefined finish();
|
|
37
|
+
undefined play();
|
|
38
|
+
undefined pause();
|
|
39
|
+
undefined updatePlaybackRate(double playbackRate);
|
|
40
|
+
undefined reverse();
|
|
41
|
+
undefined persist();
|
|
42
|
+
[CEReactions]
|
|
43
|
+
undefined commitStyles();
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
enum AnimationPlayState { "idle", "running", "paused", "finished" };
|
|
@@ -55,22 +55,22 @@ interface AnimationEffect {
|
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
dictionary EffectTiming {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
FillMode fill = "auto";
|
|
59
|
+
double iterationStart = 0.0;
|
|
60
|
+
unrestricted double iterations = 1.0;
|
|
61
|
+
PlaybackDirection direction = "normal";
|
|
62
|
+
DOMString easing = "linear";
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
dictionary OptionalEffectTiming {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
66
|
+
double delay;
|
|
67
|
+
double endDelay;
|
|
68
|
+
FillMode fill;
|
|
69
|
+
double iterationStart;
|
|
70
|
+
unrestricted double iterations;
|
|
71
|
+
(unrestricted double or DOMString) duration;
|
|
72
|
+
PlaybackDirection direction;
|
|
73
|
+
DOMString easing;
|
|
74
74
|
};
|
|
75
75
|
|
|
76
76
|
enum FillMode { "none", "forwards", "backwards", "both", "auto" };
|
|
@@ -78,21 +78,21 @@ enum FillMode { "none", "forwards", "backwards", "both", "auto" };
|
|
|
78
78
|
enum PlaybackDirection { "normal", "reverse", "alternate", "alternate-reverse" };
|
|
79
79
|
|
|
80
80
|
dictionary ComputedEffectTiming : EffectTiming {
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
double? progress;
|
|
82
|
+
unrestricted double? currentIteration;
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
[Exposed=Window]
|
|
86
86
|
interface KeyframeEffect : AnimationEffect {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
87
|
+
constructor(Element? target,
|
|
88
|
+
object? keyframes,
|
|
89
|
+
optional (unrestricted double or KeyframeEffectOptions) options = {});
|
|
90
|
+
constructor(KeyframeEffect source);
|
|
91
|
+
attribute Element? target;
|
|
92
|
+
attribute CSSOMString? pseudoElement;
|
|
93
|
+
attribute CompositeOperation composite;
|
|
94
|
+
sequence<object> getKeyframes();
|
|
95
|
+
undefined setKeyframes(object? keyframes);
|
|
96
96
|
};
|
|
97
97
|
|
|
98
98
|
dictionary BaseComputedKeyframe {
|
|
@@ -103,15 +103,15 @@ dictionary BaseComputedKeyframe {
|
|
|
103
103
|
};
|
|
104
104
|
|
|
105
105
|
dictionary BasePropertyIndexedKeyframe {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
(double? or sequence<double?>) offset = [];
|
|
107
|
+
(DOMString or sequence<DOMString>) easing = [];
|
|
108
|
+
(CompositeOperationOrAuto or sequence<CompositeOperationOrAuto>) composite = [];
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
dictionary BaseKeyframe {
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
112
|
+
double? offset = null;
|
|
113
|
+
DOMString easing = "linear";
|
|
114
|
+
CompositeOperationOrAuto composite = "auto";
|
|
115
115
|
};
|
|
116
116
|
|
|
117
117
|
dictionary KeyframeEffectOptions : EffectTiming {
|
package/webcodecs.idl
CHANGED
package/webgpu.idl
CHANGED
|
@@ -8,7 +8,7 @@ interface mixin GPUObjectBase {
|
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
dictionary GPUObjectDescriptorBase {
|
|
11
|
-
USVString label;
|
|
11
|
+
USVString label = "";
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
[Exposed=(Window, DedicatedWorker), SecureContext]
|
|
@@ -604,7 +604,7 @@ interface GPUCompilationInfo {
|
|
|
604
604
|
|
|
605
605
|
[Exposed=(Window, DedicatedWorker), SecureContext, Serializable]
|
|
606
606
|
interface GPUPipelineError : DOMException {
|
|
607
|
-
constructor(
|
|
607
|
+
constructor(optional DOMString message = "", GPUPipelineErrorInit options);
|
|
608
608
|
readonly attribute GPUPipelineErrorReason reason;
|
|
609
609
|
};
|
|
610
610
|
|
|
@@ -876,8 +876,14 @@ dictionary GPUImageCopyTextureTagged
|
|
|
876
876
|
boolean premultipliedAlpha = false;
|
|
877
877
|
};
|
|
878
878
|
|
|
879
|
+
typedef (ImageBitmap or
|
|
880
|
+
HTMLVideoElement or
|
|
881
|
+
VideoFrame or
|
|
882
|
+
HTMLCanvasElement or
|
|
883
|
+
OffscreenCanvas) GPUImageCopyExternalImageSource;
|
|
884
|
+
|
|
879
885
|
dictionary GPUImageCopyExternalImage {
|
|
880
|
-
required
|
|
886
|
+
required GPUImageCopyExternalImageSource source;
|
|
881
887
|
GPUOrigin2D origin = {};
|
|
882
888
|
boolean flipY = false;
|
|
883
889
|
};
|
package/webidl.idl
CHANGED
|
@@ -9,6 +9,7 @@ typedef (Int8Array or Int16Array or Int32Array or
|
|
|
9
9
|
Float32Array or Float64Array or DataView) ArrayBufferView;
|
|
10
10
|
|
|
11
11
|
typedef (ArrayBufferView or ArrayBuffer) BufferSource;
|
|
12
|
+
typedef (ArrayBuffer or SharedArrayBuffer or [AllowShared] ArrayBufferView) AllowSharedBufferSource;
|
|
12
13
|
[Exposed=*,
|
|
13
14
|
Serializable]
|
|
14
15
|
interface DOMException { // but see below note about ECMAScript binding
|
package/webrtc-stats.idl
CHANGED
|
@@ -65,6 +65,7 @@ dictionary RTCInboundRtpStreamStats : RTCReceivedRtpStreamStats {
|
|
|
65
65
|
DOMHighResTimeStamp lastPacketReceivedTimestamp;
|
|
66
66
|
unsigned long long headerBytesReceived;
|
|
67
67
|
unsigned long long packetsDiscarded;
|
|
68
|
+
unsigned long long fecBytesReceived;
|
|
68
69
|
unsigned long long fecPacketsReceived;
|
|
69
70
|
unsigned long long fecPacketsDiscarded;
|
|
70
71
|
unsigned long long bytesReceived;
|