Description

This test checks that getUserMedia with an unknown value in the constraints parameter rejects with a TypeError.

Summary

Harness status: OK

Found 1 tests

Details

ResultTest NameMessage
PassTests that getUserMedia is rejected with a TypeError when used with an unknown constraint
Asserts run
Pass
assert_equals("TypeError", "TypeError", "TypeError returned as expected")
    at Test.<anonymous> ( /mediacapture-streams/GUM-unknownkey-option-param.https.html:25:5)
Pass
assert_equals(undefined, undefined, "constraintName attribute not set as expected")
    at Test.<anonymous> ( /mediacapture-streams/GUM-unknownkey-option-param.https.html:26:5)