mirror of https://github.com/axmolengine/axmol.git
[ci skip]Fix JS test issues reported from QA (#17691)
* Fix websocket sendbinary issue * Fix web issues reported from QA
This commit is contained in:
parent
9c9fd875a4
commit
77724d3c85
|
@ -135,7 +135,7 @@ var WebSocketTestLayer = cc.Layer.extend({
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
this._wsiSendBinary = new WebSocket("ws://echo.websocket.org", ["protocol3"]);
|
this._wsiSendBinary = new WebSocket("ws://echo.websocket.org");
|
||||||
this._wsiSendBinary.binaryType = "arraybuffer";
|
this._wsiSendBinary.binaryType = "arraybuffer";
|
||||||
this._wsiSendBinary.onopen = function(evt) {
|
this._wsiSendBinary.onopen = function(evt) {
|
||||||
self._sendBinaryStatus.setString("Opened, url: " + self._wsiSendBinary.url + ", protocol: " + self._wsiSendBinary.protocol);
|
self._sendBinaryStatus.setString("Opened, url: " + self._wsiSendBinary.url + ", protocol: " + self._wsiSendBinary.protocol);
|
||||||
|
|
2
web
2
web
|
@ -1 +1 @@
|
||||||
Subproject commit 003dfae46b18ba2c4b8913408dbbc8c37cdc4372
|
Subproject commit 353c5b5b5be72e3959bc323a03878ca3d0d86430
|
Loading…
Reference in New Issue