Bug 1309494 part 1 - let video controler handle the "mozexitvideosuspend" event; r=jaws

MozReview-Commit-ID: 5DfzY8kDTP4

--HG--
extra : rebase_source : a502241298848f9b39d7e978e3a8fb7a1a87d1e7
extra : source : 778b6c2d384cad117fb914fdb0ba2d591ef60baa
This commit is contained in:
Kaku Kuo 2017-03-13 10:57:25 +08:00
Родитель 3ca20588a1
Коммит 63fa03c5a7
1 изменённых файлов: 2 добавлений и 4 удалений

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

@ -222,7 +222,7 @@
"playing", "waiting", "canplay", "canplaythrough",
"seeking", "seeked", "emptied", "loadedmetadata",
"error", "suspend", "stalled",
"mozinterruptbegin", "mozinterruptend" ],
"mozexitvideosuspend"],
showHours: false,
firstFrameShown : false,
@ -664,9 +664,7 @@
this.controlsSpacer.removeAttribute("hideCursor");
}
break;
case "mozinterruptbegin":
case "mozinterruptend":
// Nothing to do...
case "mozexitvideosuspend":
break;
default:
this.log("!!! event " + aEvent.type + " not handled!");