Summary

Harness status: OK

Found 21 tests

Details

ResultTest NameMessage
Passnew RTCIceCandidate()
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new RTCIceCandidate()")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:18:5)
Passnew RTCIceCandidate({})
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new RTCIceCandidate({})")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:27:5)
Passnew RTCIceCandidate({ ... }) with manually filled default values
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new RTCIceCandidate({         candidate: '',         sdpMid: null,         sdpMLineIndex: null,         usernameFragment: undefined       })")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:33:5)
Passnew RTCIceCandidate({ sdpMid: null, sdpMLineIndex: null })
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new RTCIceCandidate({         sdpMid: null,         sdpMLineIndex: null       })")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:44:5)
Passnew RTCIceCandidate({ candidate: '' })
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new RTCIceCandidate({         candidate: ''       })")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:53:5)
Passnew RTCIceCandidate({ candidate: null })
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new RTCIceCandidate({         candidate: null       })")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:61:5)
Passnew RTCIceCandidate({ ... }) with valid candidate string only
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new RTCIceCandidate({         candidate: candidateString       })")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:69:5)
Passnew RTCIceCandidate({ sdpMid: 'audio' })
Asserts run
Pass
assert_equals("", "", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:78:5)
Pass
assert_equals("audio", "audio", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:79:5)
Pass
assert_equals(null, null, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:80:5)
Pass
assert_equals(null, null, "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:81:5)
Passnew RTCIceCandidate({ sdpMLineIndex: 0 })
Asserts run
Pass
assert_equals("", "", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:87:5)
Pass
assert_equals(null, null, "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:88:5)
Pass
assert_equals(0, 0, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:89:5)
Pass
assert_equals(null, null, "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:90:5)
Passnew RTCIceCandidate({ sdpMid: 'audio', sdpMLineIndex: 0 })
Asserts run
Pass
assert_equals("", "", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:99:5)
Pass
assert_equals("audio", "audio", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:100:5)
Pass
assert_equals(0, 0, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:101:5)
Pass
assert_equals(null, null, "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:102:5)
Passnew RTCIceCandidate({ candidate: '', sdpMid: 'audio' }
Asserts run
Pass
assert_equals("", "", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:111:5)
Pass
assert_equals("audio", "audio", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:112:5)
Pass
assert_equals(null, null, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:113:5)
Pass
assert_equals(null, null, "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:114:5)
Passnew RTCIceCandidate({ candidate: null, sdpMLineIndex: 0 }
Asserts run
Pass
assert_equals("null", "null", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:123:5)
Pass
assert_equals(null, null, "sdpMid", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:124:5)
Pass
assert_equals(0, 0, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:125:5)
Pass
assert_equals(null, null, "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:126:5)
Passnew RTCIceCandidate({ ... }) with valid candidate string and sdpMid
Asserts run
Pass
assert_equals("candidate:1905690388 1 udp 2113937151 192.168.0.1 58041 typ host generation 0 ufrag thC8 network-cost 50", "candidate:1905690388 1 udp 2113937151 192.168.0.1 58041 typ host generation 0 ufrag thC8 network-cost 50", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:135:5)
Pass
assert_equals("audio", "audio", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:136:5)
Pass
assert_equals(null, null, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:137:5)
Pass
assert_equals(null, null, "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:138:5)
Passnew RTCIceCandidate({ ... }) with invalid candidate string and sdpMid
Asserts run
Pass
assert_equals("<arbitrary string[0] content>;", "<arbitrary string[0] content>;", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:148:5)
Pass
assert_equals("audio", "audio", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:149:5)
Pass
assert_equals(null, null, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:150:5)
Pass
assert_equals(null, null, "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:151:5)
Passnew RTCIceCandidate({ ... }) with nondefault values for most fields
Asserts run
Pass
assert_equals("candidate:1905690388 1 udp 2113937151 192.168.0.1 58041 typ host generation 0 ufrag thC8 network-cost 50", "candidate:1905690388 1 udp 2113937151 192.168.0.1 58041 typ host generation 0 ufrag thC8 network-cost 50", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:165:5)
Pass
assert_equals("video", "video", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:166:5)
Pass
assert_equals(1, 1, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:167:5)
Pass
assert_equals("test", "test", "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:168:5)
Pass
assert_equals("1905690388", "1905690388", "foundation")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:171:5)
Pass
assert_equals("rtp", "rtp", "component")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:172:5)
Pass
assert_equals(2113937151, 2113937151, "priority")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:173:5)
Pass
assert_equals("192.168.0.1", "192.168.0.1", "address")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:174:5)
Pass
assert_equals("udp", "udp", "protocol")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:175:5)
Pass
assert_equals(58041, 58041, "port")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:176:5)
Pass
assert_equals("host", "host", "type")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:177:5)
Pass
assert_equals(null, null, "tcpType")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:178:5)
Pass
assert_equals(null, null, "relatedAddress")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:179:5)
Pass
assert_equals(null, null, "relatedPort")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:180:5)
Passnew RTCIceCandidate({ ... }) with nondefault values for most fields, tcp candidate
Asserts run
Pass
assert_equals("candidate:435653019 2 tcp 1845501695 192.168.0.196 4444 typ srflx raddr www.example.com rport 22222 tcptype active", "candidate:435653019 2 tcp 1845501695 192.168.0.196 4444 typ srflx raddr www.example.com rport 22222 tcptype active", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:198:5)
Pass
assert_equals("video", "video", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:199:5)
Pass
assert_equals(1, 1, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:200:5)
Pass
assert_equals("user1", "user1", "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:201:5)
Pass
assert_equals("435653019", "435653019", "foundation")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:204:5)
Pass
assert_equals("rtcp", "rtcp", "component")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:205:5)
Pass
assert_equals(1845501695, 1845501695, "priority")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:206:5)
Pass
assert_equals("192.168.0.196", "192.168.0.196", "address")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:207:5)
Pass
assert_equals("tcp", "tcp", "protocol")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:208:5)
Pass
assert_equals(4444, 4444, "port")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:209:5)
Pass
assert_equals("srflx", "srflx", "type")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:210:5)
Pass
assert_equals("active", "active", "tcpType")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:211:5)
Pass
assert_equals("www.example.com", "www.example.com", "relatedAddress")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:212:5)
Pass
assert_equals(22222, 22222, "relatedPort")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:213:5)
Failnew RTCIceCandidate({ ... }) with nondefault values for all fieldsassert_equals: relayProtocol expected (string) "udp" but got (object) null
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCIceCandidate-constructor.html:183:7)
    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 https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCIceCandidate-constructor.html:155:3
    at Array.forEach (<anonymous>)
Asserts run
Pass
assert_equals("candidate:1905690388 1 udp 2113937151 192.168.0.1 58041 typ host generation 0 ufrag thC8 network-cost 50", "candidate:1905690388 1 udp 2113937151 192.168.0.1 58041 typ host generation 0 ufrag thC8 network-cost 50", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:165:5)
Pass
assert_equals("video", "video", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:166:5)
Pass
assert_equals(1, 1, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:167:5)
Pass
assert_equals("test", "test", "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:168:5)
Pass
assert_equals("1905690388", "1905690388", "foundation")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:171:5)
Pass
assert_equals("rtp", "rtp", "component")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:172:5)
Pass
assert_equals(2113937151, 2113937151, "priority")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:173:5)
Pass
assert_equals("192.168.0.1", "192.168.0.1", "address")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:174:5)
Pass
assert_equals("udp", "udp", "protocol")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:175:5)
Pass
assert_equals(58041, 58041, "port")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:176:5)
Pass
assert_equals("host", "host", "type")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:177:5)
Pass
assert_equals(null, null, "tcpType")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:178:5)
Pass
assert_equals(null, null, "relatedAddress")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:179:5)
Pass
assert_equals(null, null, "relatedPort")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:180:5)
Fail
assert_equals(null, "udp", "relayProtocol")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:183:7)
Failnew RTCIceCandidate({ ... }) with nondefault values for all fields, tcp candidateassert_equals: url expected (string) "turn:turn.example.net" but got (object) null
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCIceCandidate-constructor.html:216:7)
    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 https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCIceCandidate-constructor.html:188:3
    at Array.forEach (<anonymous>)
Asserts run
Pass
assert_equals("candidate:435653019 2 tcp 1845501695 192.168.0.196 4444 typ srflx raddr www.example.com rport 22222 tcptype active", "candidate:435653019 2 tcp 1845501695 192.168.0.196 4444 typ srflx raddr www.example.com rport 22222 tcptype active", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:198:5)
Pass
assert_equals("video", "video", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:199:5)
Pass
assert_equals(1, 1, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:200:5)
Pass
assert_equals("user1", "user1", "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:201:5)
Pass
assert_equals("435653019", "435653019", "foundation")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:204:5)
Pass
assert_equals("rtcp", "rtcp", "component")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:205:5)
Pass
assert_equals(1845501695, 1845501695, "priority")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:206:5)
Pass
assert_equals("192.168.0.196", "192.168.0.196", "address")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:207:5)
Pass
assert_equals("tcp", "tcp", "protocol")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:208:5)
Pass
assert_equals(4444, 4444, "port")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:209:5)
Pass
assert_equals("srflx", "srflx", "type")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:210:5)
Pass
assert_equals("active", "active", "tcpType")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:211:5)
Pass
assert_equals("www.example.com", "www.example.com", "relatedAddress")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:212:5)
Pass
assert_equals(22222, 22222, "relatedPort")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:213:5)
Fail
assert_equals(null, "turn:turn.example.net", "url")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:216:7)
Failnew RTCIceCandidate({ relayProtocol, url }) cloned vs signaledassert_equals: relayProtocol cloned expected (string) "tls" but got (object) null
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCIceCandidate-constructor.html:229: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 https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCIceCandidate-constructor.html:222:3
Asserts run
Fail
assert_equals(null, "tls", "relayProtocol cloned")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:229:5)
Passnew RTCIceCandidate({ ... }) with invalid sdpMid
Asserts run
Pass
assert_equals("", "", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:243:5)
Pass
assert_equals("<arbitrary string[0] content>;", "<arbitrary string[0] content>;", "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:244:5)
Pass
assert_equals(null, null, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:245:5)
Pass
assert_equals(null, null, "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:246:5)
Passnew RTCIceCandidate({ ... }) with invalid sdpMLineIndex
Asserts run
Pass
assert_equals("", "", "candidate")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:259:5)
Pass
assert_equals(null, null, "sdpMid")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:260:5)
Pass
assert_equals(65535, 65535, "sdpMLineIndex")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:261:5)
Pass
assert_equals(null, null, "usernameFragment")
    at Test.<anonymous> ( /webrtc/RTCIceCandidate-constructor.html:262:5)