зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
f4badf6dde
Коммит
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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче