summaryrefslogtreecommitdiffstats
path: root/dom/media/test/test_eme_getstatusforpolicy.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/media/test/test_eme_getstatusforpolicy.html')
-rw-r--r--dom/media/test/test_eme_getstatusforpolicy.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/media/test/test_eme_getstatusforpolicy.html b/dom/media/test/test_eme_getstatusforpolicy.html
index 2031d04df5..6e9503e33a 100644
--- a/dom/media/test/test_eme_getstatusforpolicy.html
+++ b/dom/media/test/test_eme_getstatusforpolicy.html
@@ -68,7 +68,7 @@ add_task(async function testGetStatusForPolicy() {
"Should have set MediaKeys on media element");
let keyStatus = await
video.mediaKeys.getStatusForPolicy({minHdcpVersion : result.minHdcpVersion})
- .catch(e => ok(false, "getStatusForPolicy failed!"));
+ .catch(() => ok(false, "getStatusForPolicy failed!"));
info(`getStatusForPolicy for HDCP ${result.minHdcpVersion} : ${keyStatus}`);
is(keyStatus, result.expectedResult,
`Expected ${result.expectedResult}, got ${keyStatus}`);