Skip to content

Commit e589bf2

Browse files
authored
Meta: export obtain a WebSocket connection
Also fix a URL reference.
1 parent 78660ff commit e589bf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ through a custom server.</p>
9898

9999
<div algorithm>
100100

101-
To <dfn id=concept-websocket-connection-obtain>obtain a WebSocket connection</dfn>, given a
101+
To <dfn export id=concept-websocket-connection-obtain>obtain a WebSocket connection</dfn>, given a
102102
|url|, run these steps:
103103

104104
1. Let |host| be |url|'s <a for=url>host</a>.
@@ -260,7 +260,7 @@ It can have the following values:
260260
:: Creates a new {{WebSocket}} object, immediately establishing the associated WebSocket
261261
connection.
262262

263-
|url| is a string giving the <a dfn spec=url>URL</a> over which the connection is established.
263+
|url| is a string giving the <a for=/>URL</a> over which the connection is established.
264264
Only "`ws`" or "`wss`" schemes are allowed; others will cause a "{{SyntaxError}}"
265265
{{DOMException}}. URLs with [=fragments=] will also cause such an exception.
266266

0 commit comments

Comments
 (0)