Summary

Harness status: OK

Found 8 tests

Details

ResultTest NameMessage
PassRTCPeerConnectionIceEvent with no arguments throws TypeError
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => {     new RTCPeerConnectionIceEvent();   }")
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:23:3)
FailRTCPeerConnectionIceEvent with no eventInitDict (default)assert_equals: expected (object) null but got (undefined) undefined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCPeerConnectionIceEvent-constructor.html:35:3)
    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/RTCPeerConnectionIceEvent-constructor.html:28:1
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:34:3)
Fail
assert_equals(undefined, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:35:3)
FailRTCPeerConnectionIceEvent with empty object as eventInitDict (default)assert_equals: expected (object) null but got (undefined) undefined
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/webrtc/RTCPeerConnectionIceEvent-constructor.html:56:3)
    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/RTCPeerConnectionIceEvent-constructor.html:48:1
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:55:3)
Fail
assert_equals(undefined, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:56:3)
PassRTCPeerConnectionIceEvent.candidate is null when constructed with { candidate: null }
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:73:3)
PassRTCPeerConnectionIceEvent.candidate is null when constructed with { candidate: undefined }
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:80:3)
PassRTCPeerConnectionIceEvent with RTCIceCandidate
Asserts run
Pass
assert_equals(object "[object RTCIceCandidate]", object "[object RTCIceCandidate]")
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:105:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:106:3)
Pass
assert_false(false)
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:107:3)
PassRTCPeerConnectionIceEvent with non RTCIceCandidate object throws
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => new RTCPeerConnectionIceEvent("type", { candidate: plain })")
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:112:3)
PassRTCPeerConnectionIceEvent bubbles and cancelable
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:122:3)
Pass
assert_true(true)
    at Test.<anonymous> ( /webrtc/RTCPeerConnectionIceEvent-constructor.html:123:3)