loleaflet/src/core/Socket.js |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit f7563519bb11e75df0be381f9460900011030ed6
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Thu Nov 1 01:59:41 2018 +0200
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Thu Nov 1 01:59:41 2018 +0200

    Bin some temporary mobile app debug messages

diff --git a/loleaflet/src/core/Socket.js b/loleaflet/src/core/Socket.js
index 70d611400..80f810926 100644
--- a/loleaflet/src/core/Socket.js
+++ b/loleaflet/src/core/Socket.js
@@ -14,7 +14,6 @@ function FakeWebSocket() {
        this.readyState = 1;
        this.id = window.fakeWebSocketCounter++;
        this.sendCounter = 0;
-       window.webkit.messageHandlers.debug.postMessage('>>>>> Created 
FakeWebSocket #' + this.id);
        this.onclose = function() {
        };
        this.onerror = function() {
@@ -26,11 +25,9 @@ function FakeWebSocket() {
 }
 
 FakeWebSocket.prototype.close = function() {
-       window.webkit.messageHandlers.debug.postMessage('>>>>>> Closing 
FakeWebSocket#' + this.id);
 }
 
 FakeWebSocket.prototype.send = function(data) {
-       window.webkit.messageHandlers.debug.postMessage('>>>>>> Sending data on 
FakeWebSocket#' + this.id + ' (' + this.sendCounter + '): "' + data + '"');
        this.sendCounter++;
        window.webkit.messageHandlers.lool.postMessage(data, '*');
 }
@@ -196,9 +193,6 @@ L.Socket = L.Class.extend({
 
        _onSocketOpen: function () {
                console.debug('_onSocketOpen:');
-               if (window.ThisIsAMobileApp) {
-                       window.webkit.messageHandlers.debug.postMessage('>>>>>> 
_onSocketOpen');
-               }
                this._map._serverRecycling = false;
                this._map._documentIdle = false;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to