Bug 1524065 - part3 : remove unused message. r=baku

`resumeMedia` is used for resuming delayed autoplay, which have been replaced by notifying via the browsing context.

Differential Revision: https://phabricator.services.mozilla.com/D18139

--HG--
extra : moz-landing-system : lando
This commit is contained in:
alwu 2019-03-19 18:45:37 +00:00
Родитель 247fac2aa0
Коммит b47db5a111
1 изменённых файлов: 0 добавлений и 8 удалений

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

@ -34,14 +34,6 @@ class AudioPlaybackChild extends ActorChild {
case "mediaControlStopped":
utils.mediaSuspend = suspendTypes.SUSPENDED_STOP_DISPOSABLE;
break;
case "resumeMedia":
// User has clicked the tab audio indicator to play a delayed
// media. That's clear user intent to play, so gesture activate
// the content document tree so that the block-autoplay logic
// allows the media to autoplay.
this.content.document.notifyUserGestureActivation();
utils.mediaSuspend = suspendTypes.NONE_SUSPENDED;
break;
default:
dump("Error : wrong media control msg!\n");
break;