зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1582569 - part2 : modify tests. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D82580
This commit is contained in:
Родитель
8db4dcbd7c
Коммит
20f7602472
|
@ -5,6 +5,7 @@ const gMediaSessionActions = [
|
|||
"seekforward",
|
||||
"previoustrack",
|
||||
"nexttrack",
|
||||
"skipad",
|
||||
"stop",
|
||||
];
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@ const ACTIONS = [
|
|||
"seekforward",
|
||||
"previoustrack",
|
||||
"nexttrack",
|
||||
"skipad",
|
||||
"stop",
|
||||
];
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ test(function(t) {
|
|||
window.navigator.mediaSession.setActionHandler("seekforward", null);
|
||||
window.navigator.mediaSession.setActionHandler("stop", null);
|
||||
window.navigator.mediaSession.setActionHandler("seekto", null);
|
||||
window.navigator.mediaSession.setActionHandler("skipad", null);
|
||||
}, "Test that setActionHandler() can be executed for supported actions");
|
||||
|
||||
test(function(t) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче