-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Closed
Copy link
Labels
Milestone
Description
There seems to be a max length verification for the websocket close description that browser is not checking for.
The tests are expecting an exception but the browser websocket implementation does not throw an exception.
fail: [FAIL] System.Net.WebSockets.Client.Tests.CloseTest.CloseAsync_CloseDescriptionIsMaxLengthPlusOne_ThrowsArgumentException(server: ws://corefx-net-http11.azurewebsites.net/WebSocket/EchoWebSocket.ashx)
info: Assert.Throws() Failure
info: Expected: typeof(System.ArgumentException)
info: Actual: (No exception was thrown)
info: at System.AssertExtensions.Throws[ArgumentException](String expectedParamName, Action action)
info: at System.Net.WebSockets.Client.Tests.CloseTest.CloseAsync_CloseDescriptionIsMaxLengthPlusOne_ThrowsArgumentException(Uri server)
info: --- End of stack trace from previous location ---
See #45470 for tests
Reactions are currently unavailable