| 51 | function createConnectingWebSocketClass() { |
| 52 | // Starts in CONNECTING state; tests flip readyState and fire onopen manually. |
| 53 | return class ConnectingWebSocket { |
| 54 | static CONNECTING = 0 |
| 55 | static OPEN = 1 |
| 56 | static CLOSED = 3 |
nothing calls this directly
no outgoing calls
no test coverage detected