зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1443157 - Disregard aData for event recording-device-events. r=johannh
MozReview-Commit-ID: 8Lo8PWmOAPQ --HG-- extra : rebase_source : 73ad3259abdef72f5b35d4f1e61f24e17b938dfd
This commit is contained in:
Родитель
6267577292
Коммит
cee7fb987b
|
@ -66,12 +66,7 @@ var WebrtcUI = {
|
|||
} else if (aTopic === "PeerConnection:request") {
|
||||
this.handlePCRequest(aSubject, aTopic, aData);
|
||||
} else if (aTopic === "recording-device-events") {
|
||||
switch (aData) {
|
||||
case "shutdown":
|
||||
case "starting":
|
||||
this.notify();
|
||||
break;
|
||||
}
|
||||
this.notify();
|
||||
} else if (aTopic === "VideoCapture:Paused") {
|
||||
if (this._notificationId) {
|
||||
Notifications.cancel(this._notificationId);
|
||||
|
|
Загрузка…
Ссылка в новой задаче