Skip to content

Commit 77724d3

Browse files
pandamicrominggo
authored andcommitted
[ci skip]Fix JS test issues reported from QA (cocos2d#17691)
* Fix websocket sendbinary issue * Fix web issues reported from QA
1 parent 9c9fd87 commit 77724d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/js-tests/src/ExtensionsTest/NetworkTest/WebSocketTest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ var WebSocketTestLayer = cc.Layer.extend({
135135
};
136136

137137

138-
this._wsiSendBinary = new WebSocket("ws://echo.websocket.org", ["protocol3"]);
138+
this._wsiSendBinary = new WebSocket("ws://echo.websocket.org");
139139
this._wsiSendBinary.binaryType = "arraybuffer";
140140
this._wsiSendBinary.onopen = function(evt) {
141141
self._sendBinaryStatus.setString("Opened, url: " + self._wsiSendBinary.url + ", protocol: " + self._wsiSendBinary.protocol);

0 commit comments

Comments
 (0)