Description

This test checks that getUserMedia with no value in the options parameter raises a TypeError exception.

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassTests that getUserMedia is rejected with a TypeError when used with an empty options parameter
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => { throw error }")
    at Test.<anonymous> ( /mediacapture-streams/GUM-empty-option-param.https.html:24:5)
Pass
assert_false(false, "constraintName attribute not set as expected")
    at Test.<anonymous> ( /mediacapture-streams/GUM-empty-option-param.https.html:25:5)