From c8da97458d4f8003beea00d8ba9791e3551be171 Mon Sep 17 00:00:00 2001 From: Sze Howe Koh Date: Wed, 2 Apr 2014 20:18:13 +0800 Subject: Use the proper protocol names - "WebSocket" is one word, with uppercase 'W' and 'S'. - "HTTP"/"HTTPS" is fully uppercase Change-Id: Ice3a50c94394433c97f7347291af5cda69b234ce Reviewed-by: Kurt Pattyn --- examples/websockets/sslechoserver/sslechoclient.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'examples/websockets/sslechoserver/sslechoclient.html') diff --git a/examples/websockets/sslechoserver/sslechoclient.html b/examples/websockets/sslechoserver/sslechoclient.html index b9faa44..7ecb147 100644 --- a/examples/websockets/sslechoserver/sslechoclient.html +++ b/examples/websockets/sslechoserver/sslechoclient.html @@ -1,14 +1,14 @@ - Websocket Echo Client + WebSocket Echo Client -

Websocket Echo Client

+

WebSocket Echo Client

- - + +

@@ -39,7 +39,7 @@ } } - function initWebsocket() { + function initWebSocket() { try { if (typeof MozWebSocket == 'function') WebSocket = MozWebSocket; @@ -64,7 +64,7 @@ } } - function stopWebsocket() { + function stopWebSocket() { if (websocket) websocket.close(); } @@ -94,9 +94,9 @@ break; } } - debug("Websocket state = " + websocket.readyState + " ( " + stateStr + " )"); + debug("WebSocket state = " + websocket.readyState + " ( " + stateStr + " )"); } else { - debug("Websocket is null"); + debug("WebSocket is null"); } } -- cgit v1.2.1