Skip to content

Commit

Permalink
Bug 1844023 [wpt PR 41085] - [webtranport] Update streamErrorCode to …
Browse files Browse the repository at this point in the history
…32-bit long, a=testonly

Automatic update from web-platform-tests
[webtranport] Update streamErrorCode to 32-bit long

The latest version of WebTransport protocol uses 32-bit unsigned
integer for streamErrorCode [1, 2, 3].

[1] ietf-wg-webtrans/draft-ietf-webtrans-http3#115
[2] w3c/webtransport#509
[3] w3c/webtransport#527

Bug: 1465282
Change-Id: I3a3cf9936e09ea2a0b6bb01df18ffd1d9fb287bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4693162
Reviewed-by: Adam Rice <riceachromium.org>
Reviewed-by: Takashi Toyoshima <toyoshimchromium.org>
Commit-Queue: Kenichi Ishibashi <bashichromium.org>
Cr-Commit-Position: refs/heads/main{#1172268}

--

wpt-commits: 7bb3ac14eace21c9ab305ee91e86fc1dba813a61
wpt-pr: 41085

UltraBlame original commit: 7d1c74f6e9f6a49649a1aacd693f8a8a09e610c9
  • Loading branch information
marco-c committed Jul 24, 2023
1 parent 9d73153 commit f4679e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ promise_test(async t => {
}, 'Abort unidirectional stream with default error code');

promise_test(async t => {
const WT_CODE = 240;
const WT_CODE = 0;
const HTTP_CODE = webtransport_code_to_http_code(WT_CODE);
const wt = new WebTransport(
webtransport_url(`abort-stream-from-server.py?code=${HTTP_CODE}`));
Expand All @@ -229,7 +229,7 @@ promise_test(async t => {
}, 'STOP_SENDING coming from server');

promise_test(async t => {
const WT_CODE = 127;
const WT_CODE = 0xffffffff;
const HTTP_CODE = webtransport_code_to_http_code(WT_CODE);
const wt = new WebTransport(
webtransport_url(`abort-stream-from-server.py?code=${HTTP_CODE}`));
Expand Down

0 comments on commit f4679e0

Please sign in to comment.