Skip to content

[wasm] System.Runtime.InteropServices.JavaScript.JSException: Invalid JS object handle '17' #54152

@pavelsavara

Description

@pavelsavara

In unit test System.Net.WebSockets.Client.Tests.ConnectTest.ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException on Browser on windows, with remote loopback in xharness.

Unhandled Exception:
System.Runtime.InteropServices.JavaScript.JSException: Invalid JS object handle '17'
    at System.Runtime.InteropServices.JavaScript.JSObject.GetObjectProperty(String name) in C:\\Dev\\runtime\\src\\libraries\\System.Private.Runtime.InteropServices.JavaScript\\src\\System\\Runtime\\InteropServices\\JavaScript\\JSObject.cs:line 105
    at System.Net.WebSockets.BrowserWebSocket.CloseAsyncCore(WebSocketCloseStatus closeStatus, String statusDescription, CancellationToken cancellationToken) in C:\\Dev\\runtime\\src\\libraries\\System.Net.WebSockets.Client\\src\\System\\Net\\WebSockets\\BrowserWebSockets\\BrowserWebSocket.cs:line 577
--- End of stack trace from previous location ---
    at System.Net.WebSockets.BrowserWebSocket.AbortRequest() in C:\\Dev\\runtime\\src\\libraries\\System.Net.WebSockets.Client\\src\\System\\Net\\WebSockets\\BrowserWebSockets\\BrowserWebSocket.cs:line 377

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions