summaryrefslogtreecommitdiffstats
path: root/dom/media/test/test_hls_player_independency.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /dom/media/test/test_hls_player_independency.html
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz
firefox-adbda400be353e676059e335c3c0aaf99e719475.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/media/test/test_hls_player_independency.html')
-rw-r--r--dom/media/test/test_hls_player_independency.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/media/test/test_hls_player_independency.html b/dom/media/test/test_hls_player_independency.html
index cea5c140ed..ed2d5cee52 100644
--- a/dom/media/test/test_hls_player_independency.html
+++ b/dom/media/test/test_hls_player_independency.html
@@ -27,12 +27,12 @@ function startTest() {
var v4x3 = document.getElementById('player4x3');
var v16x9 = document.getElementById('player16x9');
- var p1 = once(v4x3, 'ended', function onended(e) {
+ var p1 = once(v4x3, 'ended', function onended() {
is(v4x3.videoWidth, 400, "4x3 content, the width should be 400.");
is(v4x3.videoHeight, 300, "4x3 content, the height should be 300.");
});
- var p2 = once(v16x9, 'ended', function onended(e) {
+ var p2 = once(v16x9, 'ended', function onended() {
is(v16x9.videoWidth, 416, "16x9 content, the width should be 416.");
is(v16x9.videoHeight, 234, "16x9 content, the height should be 234.");
});