From 78ab774d55e5da54edf0b48b5d1378363c1ef890 Mon Sep 17 00:00:00 2001 From: Andrew McCreight Date: Thu, 6 Apr 2017 14:39:02 -0700 Subject: [PATCH] Bug 1352522, part 3 - Remove the unused listener for webrtc:StartBrowserSharing. r=florian MozReview-Commit-ID: 780LNGx1p15 --HG-- extra : rebase_source : 89d346d0f14ace7f80d842ee780e121c223788f9 --- browser/base/content/content.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/browser/base/content/content.js b/browser/base/content/content.js index 45c9af3bdc1d..0b28ae22574f 100644 --- a/browser/base/content/content.js +++ b/browser/base/content/content.js @@ -712,13 +712,6 @@ addMessageListener("rtcpeer:Deny", ContentWebRTCShim); addMessageListener("webrtc:Allow", ContentWebRTCShim); addMessageListener("webrtc:Deny", ContentWebRTCShim); addMessageListener("webrtc:StopSharing", ContentWebRTCShim); -addMessageListener("webrtc:StartBrowserSharing", () => { - let windowID = content.QueryInterface(Ci.nsIInterfaceRequestor) - .getInterface(Ci.nsIDOMWindowUtils).outerWindowID; - sendAsyncMessage("webrtc:response:StartBrowserSharing", { - windowID - }); -}); addEventListener("pageshow", function(event) { if (event.target == content.document) {