diff --git a/content/base/test/test_ws_basic_tests.html b/content/base/test/test_ws_basic_tests.html index 0863d183db7a..6beaaee1fa4f 100644 --- a/content/base/test/test_ws_basic_tests.html +++ b/content/base/test/test_ws_basic_tests.html @@ -164,7 +164,7 @@ function testWebSocket5() { is(this.bufferedAmount, 0, "Shouldn't have anything buffered"); var msg = "some data"; this.send(msg); - ok(this.bufferedAmount, msg.length, "Should have some data buffered"); + is(this.bufferedAmount, msg.length, "Should have some data buffered"); finishWSTest(); } ws.onerror = function(e) {