From 248b605cbb0d6668a1677348feb61cc98395c625 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 1 Oct 2012 17:59:56 -0700 Subject: [PATCH] clean up websocket tests --- src/library.js | 1 - tests/runner.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/library.js b/src/library.js index a41887bd6..078bc037f 100644 --- a/src/library.js +++ b/src/library.js @@ -6408,7 +6408,6 @@ LibraryManager.library = { return; } for (var i = 0; i < info.sendQueue.length; i++) { - console.log('sending ' + info.sendQueue[i]); info.socket.send(window.btoa(info.sendQueue[i])); } info.sendQueue = []; diff --git a/tests/runner.py b/tests/runner.py index 4a0198170..89a633f12 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -8738,7 +8738,7 @@ elif 'browser' in str(sys.argv): with self.WebsockHarness(8992, server_func): with self.WebsockHarness(8994, no_server=True): Popen(['python', EMCC, path_from_root('tests', 'websockets_bi_side.c'), '-o', 'side.html']).communicate() - self.btest('websockets_bi.c', expected='2499') # XXX result is incorrect + self.btest('websockets_bi.c', expected='2499') finally: self.clean_pids()