Skip to content

Commit 6ca4887

Browse files
metcoder95github-actions[bot]
authored andcommitted
chore: update WPT
1 parent 6211fac commit 6ca4887

File tree

20 files changed

+422
-65
lines changed

20 files changed

+422
-65
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
features:
2+
- name: fetch-request-streams
3+
files:
4+
- request-upload*
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
features:
2+
- name: zstd
3+
files: "**"

test/fixtures/wpt/fetch/private-network-access/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ See also:
88
* [The specification](https://wicg.github.io/private-network-access/)
99
* [The repository](https://github.com/WICG/private-network-access/)
1010
* [Open issues](https://github.com/WICG/private-network-access/issues/)
11+
12+
Private Network Access is deprecated and will eventually be replaced by [Local
13+
Network Access](https://github.com/explainers-by-googlers/local-network-access).

test/fixtures/wpt/interfaces/fedcm.idl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ interface IdentityCredential : Credential {
1212
static Promise<undefined> disconnect(IdentityCredentialDisconnectOptions options);
1313
readonly attribute USVString? token;
1414
readonly attribute boolean isAutoSelected;
15+
readonly attribute USVString configURL;
1516
};
1617

1718
dictionary DisconnectedAccount {
@@ -78,6 +79,7 @@ dictionary IdentityProviderAPIConfig {
7879
required USVString login_url;
7980
USVString disconnect_endpoint;
8081
IdentityProviderBranding branding;
82+
USVString account_label;
8183
};
8284

8385
dictionary IdentityProviderAccount {
@@ -89,6 +91,7 @@ dictionary IdentityProviderAccount {
8991
sequence<USVString> approved_clients;
9092
sequence<DOMString> login_hints;
9193
sequence<DOMString> domain_hints;
94+
sequence<DOMString> label_hints;
9295
};
9396
dictionary IdentityProviderAccountList {
9497
sequence<IdentityProviderAccount> accounts;

test/fixtures/wpt/interfaces/ppa.idl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ dictionary PrivateAttributionConversionOptions {
5151
unsigned long maxValue = 1;
5252
};
5353

54+
enum PrivateAttributionLogic {
55+
"last-touch",
56+
};
57+
5458
dictionary PrivateAttributionConversionResult {
5559
required Uint8Array report;
5660
};
@@ -59,7 +63,3 @@ dictionary PrivateAttributionConversionResult {
5963
partial interface PrivateAttribution {
6064
Promise<PrivateAttributionConversionResult> measureConversion(PrivateAttributionConversionOptions options);
6165
};
62-
63-
enum PrivateAttributionLogic {
64-
"last-touch",
65-
};

test/fixtures/wpt/interfaces/screen-capture.idl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ partial dictionary MediaTrackSettings {
7171
DOMString cursor;
7272
boolean restrictOwnAudio;
7373
boolean suppressLocalAudioPlayback;
74+
double screenPixelRatio;
7475
};
7576

7677
partial dictionary MediaTrackCapabilities {

test/fixtures/wpt/interfaces/speech-api.idl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interface SpeechRecognition : EventTarget {
1919
undefined start(MediaStreamTrack audioTrack);
2020
undefined stop();
2121
undefined abort();
22-
static Promise<boolean> availableOnDevice(DOMString lang);
22+
static Promise<AvailabilityStatus> availableOnDevice(DOMString lang);
2323
static Promise<boolean> installOnDevice(DOMString lang);
2424

2525
// event methods
@@ -52,6 +52,13 @@ enum SpeechRecognitionMode {
5252
"cloud-only", // Cloud speech recognition only.
5353
};
5454

55+
enum AvailabilityStatus {
56+
"unavailable",
57+
"downloadable",
58+
"downloading",
59+
"available"
60+
};
61+
5562
[Exposed=Window]
5663
interface SpeechRecognitionErrorEvent : Event {
5764
constructor(DOMString type, SpeechRecognitionErrorEventInit eventInitDict);

test/fixtures/wpt/interfaces/webaudio.idl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
enum AudioContextState {
77
"suspended",
88
"running",
9-
"closed"
9+
"closed",
10+
"interrupted"
1011
};
1112

1213
enum AudioContextRenderSizeCategory {

test/fixtures/wpt/interfaces/webgpu.idl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ interface GPUAdapterInfo {
6464
readonly attribute DOMString description;
6565
readonly attribute unsigned long subgroupMinSize;
6666
readonly attribute unsigned long subgroupMaxSize;
67+
readonly attribute boolean isFallbackAdapter;
6768
};
6869

6970
interface mixin NavigatorGPU {
@@ -96,7 +97,6 @@ interface GPUAdapter {
9697
[SameObject] readonly attribute GPUSupportedFeatures features;
9798
[SameObject] readonly attribute GPUSupportedLimits limits;
9899
[SameObject] readonly attribute GPUAdapterInfo info;
99-
readonly attribute boolean isFallbackAdapter;
100100

101101
Promise<GPUDevice> requestDevice(optional GPUDeviceDescriptor descriptor = {});
102102
};
@@ -936,12 +936,16 @@ interface GPUCommandEncoder {
936936
GPURenderPassEncoder beginRenderPass(GPURenderPassDescriptor descriptor);
937937
GPUComputePassEncoder beginComputePass(optional GPUComputePassDescriptor descriptor = {});
938938

939+
undefined copyBufferToBuffer(
940+
GPUBuffer source,
941+
GPUBuffer destination,
942+
optional GPUSize64 size);
939943
undefined copyBufferToBuffer(
940944
GPUBuffer source,
941945
GPUSize64 sourceOffset,
942946
GPUBuffer destination,
943947
GPUSize64 destinationOffset,
944-
GPUSize64 size);
948+
optional GPUSize64 size);
945949

946950
undefined copyBufferToTexture(
947951
GPUTexelCopyBufferInfo source,

test/fixtures/wpt/interfaces/webrtc-stats.idl

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ dictionary RTCCodecStats : RTCStats {
3838

3939
dictionary RTCReceivedRtpStreamStats : RTCRtpStreamStats {
4040
unsigned long long packetsReceived;
41+
unsigned long long packetsReceivedWithEct1;
42+
unsigned long long packetsReceivedWithCe;
43+
unsigned long long packetsReportedAsLost;
44+
unsigned long long packetsReportedAsLostButRecovered;
4145
long long packetsLost;
4246
double jitter;
4347
};
@@ -107,18 +111,21 @@ dictionary RTCRemoteInboundRtpStreamStats : RTCReceivedRtpStreamStats {
107111
double totalRoundTripTime;
108112
double fractionLost;
109113
unsigned long long roundTripTimeMeasurements;
114+
unsigned long long packetsWithBleachedEct1Marking;
110115
};
111116

112117
dictionary RTCSentRtpStreamStats : RTCRtpStreamStats {
113-
unsigned long long packetsSent;
114-
unsigned long long bytesSent;
118+
unsigned long long packetsSent;
119+
unsigned long long bytesSent;
120+
unsigned long long packetsSentWithEct1;
115121
};
116122

117123
dictionary RTCOutboundRtpStreamStats : RTCSentRtpStreamStats {
118124
DOMString mid;
119125
DOMString mediaSourceId;
120126
DOMString remoteId;
121127
DOMString rid;
128+
unsigned long encodingIndex;
122129
unsigned long long headerBytesSent;
123130
unsigned long long retransmittedPacketsSent;
124131
unsigned long long retransmittedBytesSent;
@@ -225,6 +232,8 @@ dictionary RTCTransportStats : RTCStats {
225232
RTCDtlsRole dtlsRole;
226233
DOMString srtpCipher;
227234
unsigned long selectedCandidatePairChanges;
235+
unsigned long ccfbMessagesSent;
236+
unsigned long ccfbMessagesReceived;
228237
};
229238

230239
enum RTCDtlsRole {

0 commit comments

Comments
 (0)