Skip to content

Commit baccc86

Browse files
Uzlopakgithub-actions[bot]
authored andcommitted
chore: update WPT
1 parent e8c3aba commit baccc86

File tree

9 files changed

+31
-27
lines changed

9 files changed

+31
-27
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 {
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/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

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ dictionary VideoFrameInit {
340340
AlphaOption alpha = "keep";
341341

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

test/fixtures/wpt/interfaces/webgpu.idl

+1
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ enum GPUFeatureName {
119119
"rg11b10ufloat-renderable",
120120
"bgra8unorm-storage",
121121
"float32-filterable",
122+
"float32-blendable",
122123
"clip-distances",
123124
"dual-source-blending",
124125
};

test/fixtures/wpt/interfaces/webtransport.idl

+2-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ dictionary WebTransportConnectionStats {
9696
required DOMHighResTimeStamp rttVariation;
9797
required DOMHighResTimeStamp minRtt;
9898
required WebTransportDatagramStats datagrams;
99-
required unsigned long long? estimatedSendRate;
99+
unsigned long long? estimatedSendRate = null;
100+
boolean atSendCapacity = false;
100101
};
101102

102103
dictionary WebTransportDatagramStats {

test/fixtures/wpt/interfaces/webusb.idl

+13-13
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dictionary USBConnectionEventInit : EventInit {
4040
};
4141

4242
[
43-
Exposed=(DedicatedWorker,SharedWorker,Window),
43+
Exposed=(Worker,Window),
4444
SecureContext
4545
]
4646
interface USBConnectionEvent : Event {
@@ -55,7 +55,7 @@ enum USBTransferStatus {
5555
};
5656

5757
[
58-
Exposed=(DedicatedWorker,SharedWorker,Window),
58+
Exposed=(Worker,Window),
5959
SecureContext
6060
]
6161
interface USBInTransferResult {
@@ -65,7 +65,7 @@ interface USBInTransferResult {
6565
};
6666

6767
[
68-
Exposed=(DedicatedWorker,SharedWorker,Window),
68+
Exposed=(Worker,Window),
6969
SecureContext
7070
]
7171
interface USBOutTransferResult {
@@ -75,7 +75,7 @@ interface USBOutTransferResult {
7575
};
7676

7777
[
78-
Exposed=(DedicatedWorker,SharedWorker,Window),
78+
Exposed=(Worker,Window),
7979
SecureContext
8080
]
8181
interface USBIsochronousInTransferPacket {
@@ -85,7 +85,7 @@ interface USBIsochronousInTransferPacket {
8585
};
8686

8787
[
88-
Exposed=(DedicatedWorker,SharedWorker,Window),
88+
Exposed=(Worker,Window),
8989
SecureContext
9090
]
9191
interface USBIsochronousInTransferResult {
@@ -95,7 +95,7 @@ interface USBIsochronousInTransferResult {
9595
};
9696

9797
[
98-
Exposed=(DedicatedWorker,SharedWorker,Window),
98+
Exposed=(Worker,Window),
9999
SecureContext
100100
]
101101
interface USBIsochronousOutTransferPacket {
@@ -105,15 +105,15 @@ interface USBIsochronousOutTransferPacket {
105105
};
106106

107107
[
108-
Exposed=(DedicatedWorker,SharedWorker,Window),
108+
Exposed=(Worker,Window),
109109
SecureContext
110110
]
111111
interface USBIsochronousOutTransferResult {
112112
constructor(sequence<USBIsochronousOutTransferPacket> packets);
113113
readonly attribute FrozenArray<USBIsochronousOutTransferPacket> packets;
114114
};
115115

116-
[Exposed=(DedicatedWorker,SharedWorker,Window), SecureContext]
116+
[Exposed=(Worker,Window), SecureContext]
117117
interface USBDevice {
118118
readonly attribute octet usbVersionMajor;
119119
readonly attribute octet usbVersionMinor;
@@ -171,7 +171,7 @@ dictionary USBControlTransferParameters {
171171
};
172172

173173
[
174-
Exposed=(DedicatedWorker,SharedWorker,Window),
174+
Exposed=(Worker,Window),
175175
SecureContext
176176
]
177177
interface USBConfiguration {
@@ -182,7 +182,7 @@ interface USBConfiguration {
182182
};
183183

184184
[
185-
Exposed=(DedicatedWorker,SharedWorker,Window),
185+
Exposed=(Worker,Window),
186186
SecureContext
187187
]
188188
interface USBInterface {
@@ -194,7 +194,7 @@ interface USBInterface {
194194
};
195195

196196
[
197-
Exposed=(DedicatedWorker,SharedWorker,Window),
197+
Exposed=(Worker,Window),
198198
SecureContext
199199
]
200200
interface USBAlternateInterface {
@@ -219,7 +219,7 @@ enum USBEndpointType {
219219
};
220220

221221
[
222-
Exposed=(DedicatedWorker,SharedWorker,Window),
222+
Exposed=(Worker,Window),
223223
SecureContext
224224
]
225225
interface USBEndpoint {
@@ -252,7 +252,7 @@ dictionary USBPermissionStorage {
252252
sequence<AllowedUSBDevice> allowedDevices = [];
253253
};
254254

255-
[Exposed=(DedicatedWorker,SharedWorker,Window)]
255+
[Exposed=(Worker,Window)]
256256
interface USBPermissionResult : PermissionStatus {
257257
attribute FrozenArray<USBDevice> devices;
258258
};

test/fixtures/wpt/service-workers/service-worker/tentative/static-router/static-router-resource-timing.https.html

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
if (entry.workerFinalSourceType === 'cache') {
6464
assert_equals(entry.fetchStart, entry.responseStart, description);
6565
assert_less_than_equal(entry.workerCacheLookupStart, entry.responseStart, description);
66+
assert_equals(entry.deliveryType, 'cache-storage', description);
6667
} else {
6768
assert_less_than_equal(entry.workerCacheLookupStart, entry.fetchStart, description);
6869
}

0 commit comments

Comments
 (0)