mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1861869 - Fix test_videocontrols.html.
MANUAL PUSH: Orange fix CLOSED TREE
This commit is contained in:
parent
e9b9e6500b
commit
aa7a46f8e8
@ -67,7 +67,7 @@ let expectingEventPromise;
|
||||
async function isMuteButtonMuted() {
|
||||
const muteButton = getElementWithinVideo(video, "muteButton");
|
||||
await new Promise(SimpleTest.executeSoon);
|
||||
return muteButton.getAttribute("muted") === "true";
|
||||
return muteButton.hasAttribute("muted");
|
||||
}
|
||||
|
||||
async function isVolumeSliderShowingCorrectVolume(expectedVolume) {
|
||||
|
Loading…
Reference in New Issue
Block a user