From ce8ea0b31b493e79c9be0f05db5a9966f9dd228a Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 29 Dec 2015 22:43:24 -0500 Subject: [PATCH] reverting fix to #533 because bad side effects --- platform/chromium/manifest.json | 2 +- platform/chromium/vapi-background.js | 26 +++++++++++++------------- platform/opera/manifest.json | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/platform/chromium/manifest.json b/platform/chromium/manifest.json index c1d6422a0..8e50283eb 100644 --- a/platform/chromium/manifest.json +++ b/platform/chromium/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uBlock Origin", - "version": "1.5.1", + "version": "1.5.2", "default_locale": "en", "description": "__MSG_extShortDesc__", diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js index aca17ca4f..78fb9605e 100644 --- a/platform/chromium/vapi-background.js +++ b/platform/chromium/vapi-background.js @@ -112,19 +112,19 @@ vAPI.browserSettings = { // https://github.com/gorhill/uBlock/issues/533#issuecomment-164292868 // If WebRTC is supported, there won't be an exception if we // try to instanciate a peer connection object. - var pc = null; - try { - var PC = self.RTCPeerConnection || self.webkitRTCPeerConnection; - if ( PC ) { - pc = new PC(null); - } - } catch (ex) { - console.error(ex); - } - if ( pc === null ) { - break; - } - pc.close(); + //var pc = null; + //try { + // var PC = self.RTCPeerConnection || self.webkitRTCPeerConnection; + // if ( PC ) { + // pc = new PC(null); + // } + //} catch (ex) { + // console.error(ex); + //} + //if ( pc === null ) { + // break; + //} + //pc.close(); // https://github.com/gorhill/uBlock/issues/533 // If we reach this point, the property diff --git a/platform/opera/manifest.json b/platform/opera/manifest.json index 14f7da68a..0483e0ffe 100644 --- a/platform/opera/manifest.json +++ b/platform/opera/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 2, "name": "uBlock Origin", - "version": "1.5.1", + "version": "1.5.2", "default_locale": "en", "description": "__MSG_extShortDesc__",