Pass | assert_equals("function", "function")
at /encrypted-media/scripts/syntax-mediakeys.js:94:25 |
Pass | assert_true(true, "initDataType not supported")
at /encrypted-media/scripts/syntax-mediakeys.js:95:25 |
Pass | assert_not_equals(6, 0)
at /encrypted-media/scripts/syntax-mediakeys.js:103:25 |
Pass | assert_not_equals("Failed to execute 'setServerCertificate' on 'MediaKeys': 1 argument required, but only 0 present.", "", "function \"function (mk) {\n return mk.setServerCertificate();\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function (mk) {\n return mk.setServerCertificate();\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'setServerCertificate' on 'MediaKeys': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.", "", "function \"function (mk) {\n return mk.setServerCertificate('');\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function (mk) {\n return mk.setServerCertificate('');\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'setServerCertificate' on 'MediaKeys': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.", "", "function \"function (mk) {\n return mk.setServerCertificate(null);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function (mk) {\n return mk.setServerCertificate(null);\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'setServerCertificate' on 'MediaKeys': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.", "", "function \"function (mk) {\n return mk.setServerCertificate(undefined);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function (mk) {\n return mk.setServerCertificate(undefined);\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'setServerCertificate' on 'MediaKeys': The provided value is not of type '(ArrayBuffer or ArrayBufferView)'.", "", "function \"function (mk) {\n return mk.setServerCertificate(1);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function (mk) {\n return mk.setServerCertificate(1);\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'setServerCertificate' on 'MediaKeys': The serverCertificate parameter is empty.", "", "function \"function (mk) {\n return mk.setServerCertificate(new Uint8Array(0));\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function (mk) {\n return mk.setServerCertificate(new Uint8Array(0));\n }\"")
at /encrypted-media/util/utils.js:264:17 |