Skip to content

Commit

Permalink
Fix WebTransport close web-platform test to match the spec
Browse files Browse the repository at this point in the history
Differential Revision: https://phabricator.services.mozilla.com/D168747

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1814750
gecko-commit: 50bedfa293810c1fb23ac8c6b2173a8eddb774db
gecko-reviewers: smaug
  • Loading branch information
Randell Jesup authored and pull[bot] committed Jul 16, 2023
1 parent 29f8426 commit eaf6f1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webtransport/close.https.any.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ promise_test(async t => {

const close_info = await wt.closed;

assert_not_own_property(close_info, 'closeCode');
assert_not_own_property(close_info, 'reason');
assert_equals(close_info.closeCode, 0 , 'code');
assert_equals(close_info.reason, '', 'reason');

await wait(10);
const data = await query(id);
Expand Down

0 comments on commit eaf6f1a

Please sign in to comment.