OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 FAIL Tests that getUserMedia raises a NOT_SUPPORTED_ERR exception when used with
an empty options parameter assert_throws: function "function () { |
| 3 navigator.getUserMedia({}, t.step_func(function (stream) { |
| 4 assert_unreached("This should never be triggered since the constraints p
arameter is empty"); |
| 5 t.done(); |
| 6 }), t.step_func(function (error) { |
| 7 assert_unreached("This should never be triggered since the constraints p
arameter is empty"); |
| 8 })); |
| 9 }" threw object "TypeError: Failed to execute 'getUserMedia' on 'Navigator': A
t least one of audio and video must be requested" that is not a DOMException NOT
_SUPPORTED_ERR: property "code" is equal to undefined, expected 9 |
| 10 Harness: the test ran to completion. |
| 11 |
OLD | NEW |