Skip to content

Commit 1b3525c

Browse files
authored
Meta: link Simplified Chinese translation
Also address a couple of markup errors while here.
1 parent 7b748d3 commit 1b3525c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

index.bs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Text Macro: LATESTRD 2023-09
77
Abstract: This specification provides APIs to enable web applications to maintain bidirectional
88
Abstract: communications with server-side processes.
99
Translation: ja https://triple-underscore.github.io/WebSocket-ja.html
10+
Translation: zh-Hans https://htmlspecs.com/websockets/
1011
Indent: 1
1112
Markup Shorthands: markdown yes
1213
</pre>
@@ -356,7 +357,7 @@ The <dfn attribute for=WebSocket>readyState</dfn> getter steps are to return [=t
356357

357358
The <dfn attribute for=WebSocket>extensions</dfn> attribute must initially return the empty
358359
string. After [=the WebSocket connection is established=], its value might change, as defined
359-
below.</p>
360+
below.
360361

361362
The <dfn attribute for=WebSocket>protocol</dfn> attribute must initially return the empty
362363
string. After [=the WebSocket connection is established=], its value might change, as defined below.
@@ -394,7 +395,7 @@ string. After [=the WebSocket connection is established=], its value might chang
394395
If neither |code| nor |reason| is present, the WebSocket Close message must not have a body.
395396

396397
<p class="note">The WebSocket Protocol erroneously states that the status code is <span
397-
class=allow-2119>required</a> for the [=start the WebSocket closing handshake=] algorithm.
398+
class=allow-2119>required</span> for the [=start the WebSocket closing handshake=] algorithm.
398399
<!-- TODO(ricea): File an errata against RFC6455. -->
399400

400401
If |code| is present, then the status code<!--CLOSE CODE--> to use in the WebSocket Close
@@ -583,7 +584,7 @@ When [=a WebSocket message has been received=] with type |type| and data |data|,
583584
:: a new {{DOMString}} containing |data|
584585

585586
: |type| indicates that the data is Binary and [=WebSocket/binary type=] is
586-
<dfn enum-value for=BinaryType>"blob"</a>
587+
<dfn enum-value for=BinaryType>"blob"</dfn>
587588
:: a new {{Blob}} object, created in the [=relevant Realm=] of the {{WebSocket}} object, that
588589
represents |data| as its raw data [[!FILEAPI]]
589590

0 commit comments

Comments
 (0)