summaryrefslogtreecommitdiffstats
path: root/dom/media/test/test_background_video_resume_after_end_show_last_frame.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/test/test_background_video_resume_after_end_show_last_frame.html')
-rw-r--r--dom/media/test/test_background_video_resume_after_end_show_last_frame.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/test/test_background_video_resume_after_end_show_last_frame.html b/dom/media/test/test_background_video_resume_after_end_show_last_frame.html
index 68f7179e12..991de9ac98 100644
--- a/dom/media/test/test_background_video_resume_after_end_show_last_frame.html
+++ b/dom/media/test/test_background_video_resume_after_end_show_last_frame.html
@@ -79,7 +79,7 @@ function waitUntilSeekToLastFrame(video) {
);
}
- return new Promise(function(resolve, reject) {
+ return new Promise(function(resolve) {
video.seenEnded = false;
video.addEventListener("ended", () => {
video.seenEnded = true;