Bug 1643722 [wpt PR 24011] - [Reland] [WebSocket] Test header + close frame in same...
commitac3660f14bf0f16f0cc55f5fb3a4e8fe422de997
authorAdam Rice <ricea@chromium.org>
Wed, 10 Jun 2020 11:33:51 +0000 (10 11:33 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 12 Jun 2020 09:19:06 +0000 (12 09:19 +0000)
tree8a62275eb41f07eb1aee409f9ef5a1ecc957e819
parent202f7dc72d013a7051773ff911f884f6b9e94180
Bug 1643722 [wpt PR 24011] - [Reland] [WebSocket] Test header + close frame in same packet, a=testonly

Automatic update from web-platform-tests
[Reland] [WebSocket] Test header + close frame in same packet

Modify the existing web platform test opening-handshake/005.html to send
the response header and the close frame in the same packet. This
verifies that Chrome passes the close data to JavaScript correctly in
this case.

This increases the coverage of the existing test, so there's no need to
retain the old behaviour.

Also remove the timeout expectations for this test, and make sure it
doesn't timeout on failure.

Originally landed as
https://chromium-review.googlesource.com/c/chromium/src/+/2228252. This
reland contains a fix for a flakiness problem with the previous CL.

Closed: 1090210
Change-Id: I89222d78f78a8251043fffe5ed860bc402882a9e

--

wpt-commits: 7d60df8b68eb44de97b6f9fcb551212bd7fd6b0b
wpt-pr: 24011
testing/web-platform/tests/websockets/handlers/simple_handshake_wsh.py
testing/web-platform/tests/websockets/opening-handshake/005.html