mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
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:
parent
f4badf6dde
commit
78ab774d55
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user