Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
Passorg.w3.clearkey test requestMediaKeySystemAccess() exceptions.
Asserts run
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
Passorg.w3.clearkey test MediaKeySystemAccess attribute syntax.
Asserts run
Pass
assert_equals("function", "function")
    at  /encrypted-media/scripts/syntax-mediakeysystemaccess.js:128:21
Pass
assert_true(true, "initDataType not supported")
    at  /encrypted-media/scripts/syntax-mediakeysystemaccess.js:129:21
Pass
assert_not_equals(object "[object MediaKeySystemAccess]", null)
    at  /encrypted-media/scripts/syntax-mediakeysystemaccess.js:132:21
Pass
assert_equals("object", "object")
    at  /encrypted-media/scripts/syntax-mediakeysystemaccess.js:133:21
Pass
assert_equals("org.w3.clearkey", "org.w3.clearkey")
    at  /encrypted-media/scripts/syntax-mediakeysystemaccess.js:134:21
Pass
assert_equals("function", "function")
    at  /encrypted-media/scripts/syntax-mediakeysystemaccess.js:135:21
Pass
assert_equals("function", "function")
    at  /encrypted-media/scripts/syntax-mediakeysystemaccess.js:136:21