mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
update test html now mozilla uses normal ws apis
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
a69f051870
commit
86e82ab22f
1 changed files with 2 additions and 2 deletions
|
@ -208,7 +208,7 @@ document.getElementById("number").textContent = get_appropriate_ws_url();
|
|||
|
||||
var socket_di;
|
||||
|
||||
if (BrowserDetect.browser == "Firefox") {
|
||||
if (BrowserDetect.browser == "Firefox" && BrowserDetect.version < 12) {
|
||||
socket_di = new MozWebSocket(get_appropriate_ws_url(),
|
||||
"dumb-increment-protocol");
|
||||
} else {
|
||||
|
@ -249,7 +249,7 @@ function reset() {
|
|||
var socket_lm;
|
||||
var color = "#000000";
|
||||
|
||||
if (BrowserDetect.browser == "Firefox") {
|
||||
if (BrowserDetect.browser == "Firefox" && BrowserDetect.version < 12) {
|
||||
socket_lm = new MozWebSocket(get_appropriate_ws_url(),
|
||||
"lws-mirror-protocol");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue