Bug 1402877 - Part 3. Don't wait for click event being dispatched to media when media controls is present. r=surkov
MozReview-Commit-ID: DSQREXSyEWk
--- a/accessible/tests/mochitest/actions/test_media.html
+++ b/accessible/tests/mochitest/actions/test_media.html
@@ -59,34 +59,32 @@ https://bugzilla.mozilla.org/show_bug.cg
var playBtn = audioElm.firstChild;
// var scrubber = playBtn.nextSibling.nextSibling.nextSibling;
var muteBtn = audioElm.lastChild.previousSibling;
var actions = [
{
ID: muteBtn,
actionName: "press",
- events: CLICK_EVENTS,
eventSeq: [
// new focusChecker(muteBtn),
new nameChecker(muteBtn, "Unmute"),
]
},
// {
// ID: scrubber,
// actionName: "activate",
// events: null,
// eventSeq: [
// new focusChecker(scrubber)
// ]
// },
{
ID: playBtn,
actionName: "press",
- events: CLICK_EVENTS,
eventSeq: [
// new focusChecker(playBtn),
new nameChecker(playBtn, "Pause"),
]
}
];
testActions(actions); // Will call SimpleTest.finish();