Skip to content

Commit 1a4b325

Browse files
Uzlopakgithub-actions[bot]
authored andcommitted
chore: update WPT
1 parent 2b81fbc commit 1a4b325

27 files changed

+253
-461
lines changed

test/fixtures/wpt/interfaces/fedcm.idl

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ dictionary IdentityProviderRequestOptions : IdentityProviderConfig {
4343
USVString nonce;
4444
DOMString loginHint;
4545
DOMString domainHint;
46+
any params;
4647
};
4748

4849
dictionary IdentityProviderWellKnown {

test/fixtures/wpt/interfaces/fenced-frame.idl

+5
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,14 @@ interface Fence {
7474
undefined reportEvent(optional ReportEventType event = {});
7575
undefined setReportEventDataForAutomaticBeacons(optional FenceEvent event = {});
7676
sequence<FencedFrameConfig> getNestedConfigs();
77+
undefined notifyEvent(Event event);
7778
};
7879

7980
partial interface Window {
8081
// Collection of fenced frame APIs
8182
readonly attribute Fence? fence;
8283
};
84+
85+
partial interface mixin GlobalEventHandlers {
86+
attribute EventHandler onfencedtreeclick;
87+
};

test/fixtures/wpt/interfaces/html.idl

+2
Original file line numberDiff line numberDiff line change
@@ -881,10 +881,12 @@ interface HTMLInputElement : HTMLElement {
881881
[HTMLConstructor] constructor();
882882

883883
[CEReactions] attribute DOMString accept;
884+
[CEReactions] attribute boolean alpha;
884885
[CEReactions] attribute DOMString alt;
885886
[CEReactions] attribute DOMString autocomplete;
886887
[CEReactions] attribute boolean defaultChecked;
887888
attribute boolean checked;
889+
[CEReactions] attribute DOMString colorSpace;
888890
[CEReactions] attribute DOMString dirName;
889891
[CEReactions] attribute boolean disabled;
890892
readonly attribute HTMLFormElement? form;
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
interface mixin InvokerElement {
2-
[CEReactions,Reflect=invoketarget] attribute Element? commandForElement;
3-
[CEReactions,Reflect=invokeaction] attribute DOMString command;
1+
interface mixin CommandElement {
2+
[CEReactions,Reflect=commandfor] attribute Element? commandForElement;
3+
[CEReactions,Reflect=command] attribute DOMString command;
44
};
55

66
interface CommandEvent : Event {
77
constructor(DOMString type, optional CommandEventInit eventInitDict = {});
8-
readonly attribute Element? invoker;
8+
readonly attribute Element? source;
99
readonly attribute DOMString command;
1010
};
1111

1212
dictionary CommandEventInit : EventInit {
13-
Element? invoker = null;
13+
Element? source = null;
1414
DOMString command = "";
1515
};

test/fixtures/wpt/interfaces/mediasession.idl

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ interface MediaMetadata {
5959
attribute DOMString title;
6060
attribute DOMString artist;
6161
attribute DOMString album;
62-
attribute FrozenArray<MediaImage> artwork;
62+
attribute FrozenArray<object> artwork;
6363
[SameObject] readonly attribute FrozenArray<ChapterInformation> chapterInfo;
6464
};
6565

test/fixtures/wpt/interfaces/private-aggregation-api.idl

-52
Original file line numberDiff line numberDiff line change
@@ -19,55 +19,3 @@ dictionary PAHistogramContribution {
1919
dictionary PADebugModeOptions {
2020
required bigint debugKey;
2121
};
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-
};

test/fixtures/wpt/interfaces/resource-timing.idl

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ interface PerformanceResourceTiming : PerformanceEntry {
1818
readonly attribute DOMHighResTimeStamp connectEnd;
1919
readonly attribute DOMHighResTimeStamp secureConnectionStart;
2020
readonly attribute DOMHighResTimeStamp requestStart;
21+
readonly attribute DOMHighResTimeStamp finalResponseHeadersStart;
2122
readonly attribute DOMHighResTimeStamp firstInterimResponseStart;
2223
readonly attribute DOMHighResTimeStamp responseStart;
2324
readonly attribute DOMHighResTimeStamp responseEnd;

test/fixtures/wpt/interfaces/turtledove.idl

+63-6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dictionary AuctionAd {
1515

1616
USVString buyerReportingId;
1717
USVString buyerAndSellerReportingId;
18+
sequence<USVString> selectableBuyerAndSellerReportingIds;
1819
sequence<USVString> allowedReportingOrigins;
1920
DOMString adRenderId;
2021
};
@@ -47,11 +48,16 @@ dictionary GenerateBidInterestGroup {
4748
record<DOMString, sequence<DOMString>> sizeGroups;
4849
};
4950

51+
dictionary ProtectedAudiencePrivateAggregationConfig {
52+
USVString aggregationCoordinatorOrigin;
53+
};
54+
5055
dictionary AuctionAdInterestGroup : GenerateBidInterestGroup {
5156
double priority = 0.0;
5257
record<DOMString, double> prioritySignalsOverrides;
5358
required double lifetimeMs;
5459
DOMString additionalBidKey;
60+
ProtectedAudiencePrivateAggregationConfig privateAggregationConfig;
5561
};
5662

5763
[SecureContext]
@@ -76,6 +82,18 @@ partial interface Navigator {
7682
readonly attribute boolean deprecatedRunAdAuctionEnforcesKAnonymity;
7783
};
7884

85+
dictionary AuctionReportBuyersConfig {
86+
required bigint bucket;
87+
required double scale;
88+
};
89+
90+
dictionary AuctionReportBuyerDebugModeConfig {
91+
boolean enabled = false;
92+
93+
// Must only be provided if `enabled` is true.
94+
bigint? debugKey;
95+
};
96+
7997
dictionary AuctionRealTimeReportingConfig {
8098
required DOMString type;
8199
};
@@ -89,21 +107,27 @@ dictionary AuctionAdConfig {
89107
sequence<USVString> interestGroupBuyers;
90108
Promise<any> auctionSignals;
91109
Promise<any> sellerSignals;
92-
Promise<DOMString> directFromSellerSignalsHeaderAdSlot;
93-
Promise<record<USVString, USVString>> deprecatedRenderURLReplacements;
110+
Promise<DOMString?> directFromSellerSignalsHeaderAdSlot;
111+
Promise<record<USVString, USVString>?> deprecatedRenderURLReplacements;
94112
unsigned long long sellerTimeout;
95113
unsigned short sellerExperimentGroupId;
96-
Promise<record<USVString, any>> perBuyerSignals;
97-
Promise<record<USVString, unsigned long long>> perBuyerTimeouts;
98-
Promise<record<USVString, unsigned long long>> perBuyerCumulativeTimeouts;
114+
Promise<record<USVString, any>?> perBuyerSignals;
115+
Promise<record<USVString, unsigned long long>?> perBuyerTimeouts;
116+
Promise<record<USVString, unsigned long long>?> perBuyerCumulativeTimeouts;
99117
unsigned long long reportingTimeout;
100118
USVString sellerCurrency;
101-
Promise<record<USVString, USVString>> perBuyerCurrencies;
119+
Promise<record<USVString, USVString>?> perBuyerCurrencies;
102120
record<USVString, unsigned short> perBuyerMultiBidLimits;
103121
record<USVString, unsigned short> perBuyerGroupLimits;
104122
record<USVString, unsigned short> perBuyerExperimentGroupIds;
105123
record<USVString, record<USVString, double>> perBuyerPrioritySignals;
124+
125+
sequence<bigint> auctionReportBuyerKeys;
126+
record<DOMString, AuctionReportBuyersConfig> auctionReportBuyers;
127+
AuctionReportBuyerDebugModeConfig auctionReportBuyerDebugModeConfig;
106128
sequence<DOMString> requiredSellerCapabilities;
129+
ProtectedAudiencePrivateAggregationConfig privateAggregationConfig;
130+
107131
record<DOMString, DOMString> requestedSize;
108132
sequence<record<DOMString, DOMString>> allSlotsRequestedSizes;
109133
Promise<undefined> additionalBids;
@@ -144,13 +168,44 @@ dictionary AdAuctionDataBuyerConfig {
144168
unsigned long targetSize;
145169
};
146170

171+
dictionary StorageInterestGroup : AuctionAdInterestGroup {
172+
unsigned long long joinCount;
173+
unsigned long long bidCount;
174+
sequence<PreviousWin> prevWinsMs;
175+
USVString joiningOrigin;
176+
long long timeSinceGroupJoinedMs;
177+
long long lifetimeRemainingMs;
178+
long long timeSinceLastUpdateMs;
179+
long long timeUntilNextUpdateMs;
180+
unsigned long long estimatedSize;
181+
};
182+
147183
[SecureContext]
148184
partial interface Navigator {
149185
Promise<DOMString> createAuctionNonce();
150186
};
151187

152188
[Exposed=InterestGroupScriptRunnerGlobalScope]
153189
interface InterestGroupScriptRunnerGlobalScope {
190+
readonly attribute PrivateAggregation? privateAggregation;
191+
};
192+
193+
dictionary PASignalValue {
194+
required DOMString baseValue;
195+
double scale;
196+
(bigint or long) offset;
197+
};
198+
199+
dictionary PAExtendedHistogramContribution {
200+
required (PASignalValue or bigint) bucket;
201+
required (PASignalValue or long) value;
202+
bigint filteringId = 0;
203+
};
204+
205+
[Exposed=InterestGroupScriptRunnerGlobalScope]
206+
partial interface PrivateAggregation {
207+
undefined contributeToHistogramOnEvent(
208+
DOMString event, PAExtendedHistogramContribution contribution);
154209
};
155210

156211
[Exposed=InterestGroupBiddingAndScoringScriptRunnerGlobalScope]
@@ -198,6 +253,7 @@ dictionary GenerateBidOutput {
198253
DOMString bidCurrency;
199254
(DOMString or AdRender) render;
200255
any ad;
256+
USVString selectedBuyerAndSellerReportingId;
201257
sequence<(DOMString or AdRender)> adComponents;
202258
double adCost;
203259
unrestricted double modelingSignals;
@@ -294,6 +350,7 @@ dictionary ReportingBrowserSignals {
294350
USVString componentSeller;
295351

296352
USVString buyerAndSellerReportingId;
353+
USVString selectedBuyerAndSellerReportingId;
297354
};
298355

299356
dictionary ReportResultBrowserSignals : ReportingBrowserSignals {

test/fixtures/wpt/interfaces/user-timing.idl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// GENERATED CONTENT - DO NOT EDIT
22
// Content was automatically extracted by Reffy into webref
33
// (https://github.com/w3c/webref)
4-
// Source: User Timing Level 3 (https://w3c.github.io/user-timing/)
4+
// Source: User Timing (https://w3c.github.io/user-timing/)
55

66
dictionary PerformanceMarkOptions {
77
any detail;

test/fixtures/wpt/interfaces/web-animations.idl

+1
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ dictionary KeyframeAnimationOptions : KeyframeEffectOptions {
136136

137137
dictionary GetAnimationsOptions {
138138
boolean subtree = false;
139+
CSSOMString? pseudoElement = null;
139140
};
140141

141142
partial interface Document {

test/fixtures/wpt/interfaces/webaudio.idl

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// GENERATED CONTENT - DO NOT EDIT
22
// Content was automatically extracted by Reffy into webref
33
// (https://github.com/w3c/webref)
4-
// Source: Web Audio API (https://webaudio.github.io/web-audio-api/)
4+
// Source: Web Audio API 1.1 (https://webaudio.github.io/web-audio-api/)
55

66
enum AudioContextState {
77
"suspended",
@@ -33,8 +33,8 @@ interface BaseAudioContext : EventTarget {
3333
AnalyserNode createAnalyser ();
3434
BiquadFilterNode createBiquadFilter ();
3535
AudioBuffer createBuffer (unsigned long numberOfChannels,
36-
unsigned long length,
37-
float sampleRate);
36+
unsigned long length,
37+
float sampleRate);
3838
AudioBufferSourceNode createBufferSource ();
3939
ChannelMergerNode createChannelMerger (optional unsigned long numberOfInputs = 6);
4040
ChannelSplitterNode createChannelSplitter (
@@ -45,12 +45,12 @@ interface BaseAudioContext : EventTarget {
4545
DynamicsCompressorNode createDynamicsCompressor ();
4646
GainNode createGain ();
4747
IIRFilterNode createIIRFilter (sequence<double> feedforward,
48-
sequence<double> feedback);
48+
sequence<double> feedback);
4949
OscillatorNode createOscillator ();
5050
PannerNode createPanner ();
5151
PeriodicWave createPeriodicWave (sequence<float> real,
52-
sequence<float> imag,
53-
optional PeriodicWaveConstraints constraints = {});
52+
sequence<float> imag,
53+
optional PeriodicWaveConstraints constraints = {});
5454
ScriptProcessorNode createScriptProcessor(
5555
optional unsigned long bufferSize = 0,
5656
optional unsigned long numberOfInputChannels = 2,

test/fixtures/wpt/interfaces/webcodecs.idl

+9-1
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ interface VideoFrame {
317317
readonly attribute unsigned long codedHeight;
318318
readonly attribute DOMRectReadOnly? codedRect;
319319
readonly attribute DOMRectReadOnly? visibleRect;
320+
readonly attribute double rotation;
321+
readonly attribute boolean flip;
320322
readonly attribute unsigned long displayWidth;
321323
readonly attribute unsigned long displayHeight;
322324
readonly attribute unsigned long long? duration; // microseconds
@@ -340,10 +342,13 @@ dictionary VideoFrameInit {
340342
AlphaOption alpha = "keep";
341343

342344
// Default matches image. May be used to efficiently crop. Will trigger
343-
// new computation of displayWidth and displayHeight using images pixel
345+
// new computation of displayWidth and displayHeight using image's pixel
344346
// aspect ratio unless an explicit displayWidth and displayHeight are given.
345347
DOMRectInit visibleRect;
346348

349+
double rotation = 0;
350+
boolean flip = false;
351+
347352
// Default matches image unless visibleRect is provided.
348353
[EnforceRange] unsigned long displayWidth;
349354
[EnforceRange] unsigned long displayHeight;
@@ -364,6 +369,9 @@ dictionary VideoFrameBufferInit {
364369
// Default visible rect is coded size positioned at (0,0)
365370
DOMRectInit visibleRect;
366371

372+
double rotation = 0;
373+
boolean flip = false;
374+
367375
// Default display dimensions match visibleRect.
368376
[EnforceRange] unsigned long displayWidth;
369377
[EnforceRange] unsigned long displayHeight;

0 commit comments

Comments
 (0)