116116
117117●●options
118118
119- spec_date:2023 - 09 - 27
119+ spec_date:2025 - 07 - 14
120120trans_update:2023 - 05 - 13
121121 source_checked:230510
122122spec_status:LS
147147U:span
148148cn:span
149149i:i
150+ em:em
150151cite:cite
151152
152153●●mdn_urls
620621
621622Commits :
622623 < a href = "https://github.com/whatwg/websockets/commits" > GitHub whatwg/websockets/commits</ a >
623- < a href = "https://websockets.spec.whatwg.org/commit-snapshots/76b79e8fad87879ee9d6bfc9c355e78f1b2a9998 /" id = "commit-snapshot-link" > Snapshot as of this commit < / a >
624+ < a href = "https://websockets.spec.whatwg.org/commit-snapshots/1b3525cb24f58240581b06b7681ba46849dae182 /" id = "commit-snapshot-link" > Snapshot as of this commit < / a >
624625 < a href = "https://twitter.com/whatsockets" > @whatsockets</ a >
625626Tests:
626627 < a href = "https://github.com/web-platform-tests/wpt/tree/master/websockets" > web-platform-tests websockets/</ a > ( < a href = "https://github.com/web-platform-tests/wpt/labels/websockets" > ongoing work</ a > )
627628
628629各国語翻訳(非規範的)
629630 日本語(このページ)
631+ < a href = "https://htmlspecs.com/websockets/" hreflang = "zh-hans" lang = "zh-hans" rel = "alternate" > 简体中文 < / a >
630632
631633</ script >
632634
@@ -1407,7 +1409,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
14071409 < li >
14081410%基底~URL ~LET コレに`関連な設定群~obj$の`~API用~基底~URL$enV
14091411◎
1410- Let baseURL be this' s relevant settings object' s API base URL.
1412+ Let baseURL be this’ s relevant settings object’ s API base URL.
14111413</ li >
14121414 < li >
14131415%~URL~record ~LET `~URL構文解析する$( %url, %基底~URL )
@@ -1485,12 +1487,12 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
14851487 < li >
14861488コレの`~URL$wS ~SET %~URL~record
14871489◎
1488- Set this' s url to urlRecord.
1490+ Set this’ s url to urlRecord.
14891491</ li >
14901492 < li >
14911493%~client ~LET コレに`関連な設定群~obj$
14921494◎
1493- Let client be this' s relevant settings object.
1495+ Let client be this’ s relevant settings object.
14941496</ li >
14951497 < li >
14961498< p >
@@ -1528,7 +1530,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
15281530⇒
15291531~RET `~URLを直列化する$( コレの`~URL$wS )
15301532◎
1531- The url getter steps are to return this' s url, serialized.
1533+ The url getter steps are to return this’ s url, serialized.
15321534</ div >
15331535
15341536< div class ="algo ">
@@ -1537,7 +1539,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
15371539⇒
15381540~RET コレの`準備y状態$wS
15391541◎
1540- The readyState getter steps are to return this' s ready state.
1542+ The readyState getter steps are to return this’ s ready state.
15411543</ div >
15421544
15431545< p >
@@ -1618,7 +1620,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
16181620◎
16191621Run the first matching steps from the following list:
16201622◎
1621- If this' s ready state is CLOSING (2) or CLOSED (3)
1623+ If this’ s ready state is CLOSING (2) or CLOSED (3)
16221624• Do nothing.
16231625</ p >
16241626
@@ -1641,7 +1643,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
16411643コレの`準備y状態$wS ~SET `CLOSING$m
16421644◎
16431645If the WebSocket connection is not yet established [WSP]
1644- • Fail the WebSocket connection and set this' s ready state to CLOSING (2). [WSP]
1646+ • Fail the WebSocket connection and set this’ s ready state to CLOSING (2). [WSP]
16451647</ p >
16461648
16471649< p class ="note "> 注記:
@@ -1670,7 +1672,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
16701672`~WebSocket~closing~handshakeを開始する$ws:
16711673◎
16721674Start the WebSocket closing handshake\
1673- ↓and set this' s ready state to CLOSING (2). [WSP]
1675+ ↓and set this’ s ready state to CLOSING (2). [WSP]
16741676</ p >
16751677 < ul >
16761678 < li >
@@ -1688,7 +1690,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
16881690
16891691< p class ="note "> 注記:
16901692`WSP$r は、[
1691- `~WebSocket~closing~handshakeを開始する$ws~algoに状態s~codeが要求される
1693+ `~WebSocket~closing~handshakeを開始する$ws~algoに状態s~codeが`要求される^em
16921694]ものと,誤って言明している。
16931695◎
16941696The WebSocket Protocol erroneously states that the status code is required for the start the WebSocket closing handshake algorithm.
@@ -1744,7 +1746,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
17441746コレの`準備y状態$wS ~SET `CLOSING$m
17451747◎
17461748Otherwise
1747- • Set this' s ready state to CLOSING (2).
1749+ • Set this’ s ready state to CLOSING (2).
17481750</ p >
17491751
17501752< p class ="note "> 注記:
@@ -1835,7 +1837,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
18351837⇒
18361838~RET コレの`~binary種別$wS
18371839◎
1838- The binaryType getter steps are to return this' s binary type.
1840+ The binaryType getter steps are to return this’ s binary type.
18391841</ div >
18401842
18411843< div class ="algo ">
@@ -1844,7 +1846,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
18441846⇒
18451847コレの`~binary種別$wS ~SET 所与の値
18461848◎
1847- The binaryType setter steps are to set this' s binary type to the given value.
1849+ The binaryType setter steps are to set this’ s binary type to the given value.
18481850</ div >
18491851
18501852< p class ="note "> 注記:
@@ -1883,7 +1885,7 @@ <h3 title="Interface definition">3.1. ~interface定義</h3>
18831885⇒
18841886~THROW `InvalidStateError^E
18851887◎
1886- If this' s ready state is CONNECTING, then throw an "InvalidStateError" DOMException.
1888+ If this’ s ready state is CONNECTING, then throw an "InvalidStateError" DOMException.
18871889</ li >
18881890 < li >
18891891< p >
@@ -2125,7 +2127,7 @@ <h2 title="Feedback from the protocol">4. ~protocolからの~feedback</h2>
21252127`origin$m 属性 ~SET `生成元を直列化する$【!`~URLを直列化する$】( %O の`~URL$wSの`生成元$url ),
21262128`data$m 属性 ~SET %~event用の~data
21272129◎
2128- Fire an event named message at the WebSocket object, using MessageEvent, with the origin attribute initialized to the serialization of the WebSocket object’s url' s origin, and the data attribute initialized to dataForEvent.
2130+ Fire an event named message at the WebSocket object, using MessageEvent, with the origin attribute initialized to the serialization of the WebSocket object’s url’ s origin, and the data attribute initialized to dataForEvent.
21292131</ li >
21302132</ ol >
21312133
0 commit comments