sendCounter is unused
Signed-off-by: Tor Lillqvist <tml@collabora.com> Change-Id: Ie6f713f062e9c89ed3679d709394089413184d0d
This commit is contained in:
parent
6031436da1
commit
4fd6279f6b
1 changed files with 0 additions and 3 deletions
|
@ -289,7 +289,6 @@ window.app = {
|
||||||
this.protocol = '';
|
this.protocol = '';
|
||||||
this.readyState = 1;
|
this.readyState = 1;
|
||||||
this.id = window.fakeWebSocketCounter++;
|
this.id = window.fakeWebSocketCounter++;
|
||||||
this.sendCounter = 0;
|
|
||||||
this.onclose = function() {
|
this.onclose = function() {
|
||||||
};
|
};
|
||||||
this.onerror = function() {
|
this.onerror = function() {
|
||||||
|
@ -302,7 +301,6 @@ window.app = {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
global.FakeWebSocket.prototype.send = function(data) {
|
global.FakeWebSocket.prototype.send = function(data) {
|
||||||
this.sendCounter++;
|
|
||||||
window.postMobileMessage(data);
|
window.postMobileMessage(data);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -319,7 +317,6 @@ window.app = {
|
||||||
this.readyState = 0; // connecting
|
this.readyState = 0; // connecting
|
||||||
this.sessionId = 'open';
|
this.sessionId = 'open';
|
||||||
this.id = window.proxySocketCounter++;
|
this.id = window.proxySocketCounter++;
|
||||||
this.sendCounter = 0;
|
|
||||||
this.msgInflight = 0;
|
this.msgInflight = 0;
|
||||||
this.openInflight = 0;
|
this.openInflight = 0;
|
||||||
this.inSerial = 0;
|
this.inSerial = 0;
|
||||||
|
|
Loading…
Reference in a new issue