Skip to content

Bug in ws client mock - wrong close code when server not found #378

@easy-death

Description

@easy-death

Current native Websocket implementation returns wasClean: false and code: 1006 when wrong url is provided.

this.dispatchEvent(createCloseEvent({ type: 'close', target: this, code: CLOSE_CODES.CLOSE_NORMAL }));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions