Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
Failnew RTCPeerConnection(config) - with turns server, credentialType oauth, and string credential should throw InvalidAccessErrorassert_throws_dom: function "() => makePc({ iceServers: [{ urls: 'turns:turn.example.org', credentialType: 'oauth', username: 'user', credential: 'cred' }] })" did not throw
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc-extensions/RTCOAuthCredential.html:20:3
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCConfiguration-helper.js:13:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
Asserts run
Fail
assert_throws_dom("InvalidAccessError", function "() =>     makePc({ iceServers: [{       urls: 'turns:turn.example.org',       credentialType: 'oauth',       username: 'user',       credential: 'cred'     }] })")
    at  /webrtc-extensions/RTCOAuthCredential.html:20:3
FailsetConfiguration(config) - with turns server, credentialType oauth, and string credential should throw InvalidAccessErrorassert_throws_dom: function "() => makePc({ iceServers: [{ urls: 'turns:turn.example.org', credentialType: 'oauth', username: 'user', credential: 'cred' }] })" did not throw
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc-extensions/RTCOAuthCredential.html:20:3
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCConfiguration-helper.js:17:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
Asserts run
Fail
assert_throws_dom("InvalidAccessError", function "() =>     makePc({ iceServers: [{       urls: 'turns:turn.example.org',       credentialType: 'oauth',       username: 'user',       credential: 'cred'     }] })")
    at  /webrtc-extensions/RTCOAuthCredential.html:20:3
Pass
assert_idl_attribute(object "[object RTCPeerConnection]", "setConfiguration")
    at  /webrtc/RTCConfiguration-helper.js:19:7
Failnew RTCPeerConnection(config) - with turns server, credential type and credential from spec should not throwassert_equals: expected (string) "oauth" but got (undefined) undefined
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc-extensions/RTCOAuthCredential.html:41:3
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCConfiguration-helper.js:13:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at config_test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCConfiguration-helper.js:12:3)
Asserts run
Fail
assert_equals(undefined, "oauth")
    at  /webrtc-extensions/RTCOAuthCredential.html:41:3
FailsetConfiguration(config) - with turns server, credential type and credential from spec should not throwassert_equals: expected (string) "oauth" but got (undefined) undefined
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc-extensions/RTCOAuthCredential.html:41:3
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCConfiguration-helper.js:17:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at config_test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCConfiguration-helper.js:16:3)
Asserts run
Pass
assert_idl_attribute(object "[object RTCPeerConnection]", "setConfiguration")
    at  /webrtc/RTCConfiguration-helper.js:19:7
Fail
assert_equals(undefined, "oauth")
    at  /webrtc-extensions/RTCOAuthCredential.html:41:3