https://www.w3.org/Bugs/Public/show_bug.cgi?id=23601
Bug ID: 23601
Summary: Define a variable to replace "with prejudice"
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: WebSocket API (editor: Ian Hickson)
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected], [email protected]
The definition of close with prejudice is not straightforward. Sometimes it
takes minutes to interpret it.
I suggest that we replace
> If the user agent was required to fail the WebSocket connection or the
> WebSocket connection is closed with prejudice, fire a simple event named
> error at the WebSocket object. [WSP]
into
> If the user agent was required to fail the WebSocket connection or the closed
> with prejudice flag is true, fire a simple event named error at the WebSocket
> object. [WSP]
and insert this text
> When it is said to close the WebSocket connection with prejudice, run these
> steps:
> - Set the closed with prejudice flag.
> - close the WebSocket connection
and put occurrences of "close the WebSocket connection with prejudice" in the
send() definition into an anchor pointing the new text.
--
You are receiving this mail because:
You are on the CC list for the bug.