Pass | assert_not_equals("Failed to execute 'requestMediaKeySystemAccess' on 'Navigator': 2 arguments required, but only 0 present.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess();\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess();\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'requestMediaKeySystemAccess' on 'Navigator': 2 arguments required, but only 1 present.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem);\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Unsupported keySystem or supportedConfigurations.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(null, [{}]);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_dom("NotSupportedError", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess(null, [{}]);\n }\"")
at /encrypted-media/util/utils.js:268:17 |
Pass | assert_not_equals("Unsupported keySystem or supportedConfigurations.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(undefined, [{}]);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_dom("NotSupportedError", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess(undefined, [{}]);\n }\"")
at /encrypted-media/util/utils.js:268:17 |
Pass | assert_not_equals("Unsupported keySystem or supportedConfigurations.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(1, [{}]);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_dom("NotSupportedError", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess(1, [{}]);\n }\"")
at /encrypted-media/util/utils.js:268:17 |
Pass | assert_not_equals("Unsupported keySystem or supportedConfigurations.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess('unsupported', [{}]);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_dom("NotSupportedError", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess('unsupported', [{}]);\n }\"")
at /encrypted-media/util/utils.js:268:17 |
Pass | assert_not_equals("Failed to execute 'requestMediaKeySystemAccess' on 'Navigator': The keySystem parameter is empty.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess('', [{}]);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess('', [{}]);\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'requestMediaKeySystemAccess' on 'Navigator': The keySystem parameter is empty.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(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 () {\n return navigator.requestMediaKeySystemAccess(new Uint8Array(0), [{}]);\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Unsupported keySystem or supportedConfigurations.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem + '\\u263A', [{}]);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_dom("NotSupportedError", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem + '\\u263A', [{}]);\n }\"")
at /encrypted-media/util/utils.js:268:17 |
Pass | assert_not_equals("Failed to execute 'requestMediaKeySystemAccess' on 'Navigator': The supportedConfigurations parameter is empty.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem, []);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem, []);\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'requestMediaKeySystemAccess' on 'Navigator': The object must have a callable @@iterator property.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem, {});\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem, {});\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'requestMediaKeySystemAccess' on 'Navigator': The provided value cannot be converted to a sequence.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem, \"invalid\");\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem, \"invalid\");\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'requestMediaKeySystemAccess' on 'Navigator': The provided value is not of type 'MediaKeySystemConfiguration'.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem, [{}, 6]);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem, [{}, 6]);\n }\"")
at /encrypted-media/util/utils.js:264:17 |
Pass | assert_not_equals("Failed to execute 'requestMediaKeySystemAccess' on 'Navigator': The provided value is not of type 'MediaKeySystemConfiguration'.", "", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem, [\"invalid\", \"upsupported\"]);\n }\"")
at /encrypted-media/util/utils.js:257:13 |
Pass | assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error; }", "function \"function () {\n return navigator.requestMediaKeySystemAccess(keysystem, [\"invalid\", \"upsupported\"]);\n }\"")
at /encrypted-media/util/utils.js:264:17 |