Bug 1352522, part 3 - Remove the unused listener for webrtc:StartBrowserSharing. r=florian

MozReview-Commit-ID: 780LNGx1p15

--HG--
extra : rebase_source : 89d346d0f14ace7f80d842ee780e121c223788f9
This commit is contained in:
Andrew McCreight 2017-04-06 14:39:02 -07:00
Родитель f4badf6dde
Коммит 78ab774d55
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -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) {