summaryrefslogtreecommitdiffstats
path: root/dom/media/test/test_decode_error_crossorigin.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/test/test_decode_error_crossorigin.html')
-rw-r--r--dom/media/test/test_decode_error_crossorigin.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/test/test_decode_error_crossorigin.html b/dom/media/test/test_decode_error_crossorigin.html
index 24c1430a5b..8fa3db6c38 100644
--- a/dom/media/test/test_decode_error_crossorigin.html
+++ b/dom/media/test/test_decode_error_crossorigin.html
@@ -19,7 +19,7 @@ function startTest(test, token) {
};
const v = document.createElement("video");
manager.started(token);
- v.addEventListener("error", event => {
+ v.addEventListener("error", () => {
if (v.readyState == v.HAVE_NOTHING) {
is(v.error.code, MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED,
"Expected code for a load error");