Summary

Harness status: OK

Found 14 tests

Details

ResultTest NameMessage
PassaddTransceiver - Calling removeTrack when connection is closed should throw InvalidStateError
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "() => pc.removeTrack(sender)")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:46:5)
PassaddTrack - Calling removeTrack when connection is closed should throw InvalidStateError
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "() => pc.removeTrack(sender)")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:59:5)
PassaddTransceiver - Calling removeTrack on different connection that is closed should throw InvalidStateError
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "() => pc2.removeTrack(sender)")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:73:5)
PassaddTrack - Calling removeTrack on different connection that is closed should throw InvalidStateError
Asserts run
Pass
assert_throws_dom("InvalidStateError", function "() => pc2.removeTrack(sender)")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:87:5)
PassaddTransceiver - Calling removeTrack on different connection should throw InvalidAccessError
Asserts run
Pass
assert_throws_dom("InvalidAccessError", function "() => pc2.removeTrack(sender)")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:105:5)
PassaddTrack - Calling removeTrack on different connection should throw InvalidAccessError
Asserts run
Pass
assert_throws_dom("InvalidAccessError", function "() => pc2.removeTrack(sender)")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:119:5)
PassaddTransceiver - Calling removeTrack with valid sender should set sender.track to null
Asserts run
Pass
assert_equals(object "[object MediaStreamTrack]", object "[object MediaStreamTrack]")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:135:5)
Pass
assert_equals("sendrecv", "sendrecv")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:136:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:137:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:140:5)
Pass
assert_equals("recvonly", "recvonly")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:141:5)
PassaddTrack - Calling removeTrack with valid sender should set sender.track to null
Asserts run
Pass
assert_equals(object "[object MediaStreamTrack]", object "[object MediaStreamTrack]")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:153:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:156:5)
PassCalling removeTrack with currentDirection sendrecv should set direction to recvonly
Asserts run
Pass
assert_equals(object "[object MediaStreamTrack]", object "[object MediaStreamTrack]")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:176:5)
Pass
assert_equals("sendrecv", "sendrecv")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:177:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:178:5)
Pass
assert_equals("sendrecv", "sendrecv")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:187:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:190:5)
Pass
assert_equals("recvonly", "recvonly")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:191:5)
Pass
assert_equals("sendrecv", "sendrecv", "Expect currentDirection to not change")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:192:5)
PassCalling removeTrack with currentDirection sendonly should set direction to inactive
Asserts run
Pass
assert_equals(object "[object MediaStreamTrack]", object "[object MediaStreamTrack]")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:211:5)
Pass
assert_equals("sendonly", "sendonly")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:212:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:213:5)
Pass
assert_equals("sendonly", "sendonly")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:219:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:222:5)
Pass
assert_equals("inactive", "inactive")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:223:5)
Pass
assert_equals("sendonly", "sendonly", "Expect currentDirection to not change")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:224:5)
PassCalling removeTrack with currentDirection recvonly should not change direction
Asserts run
Pass
assert_equals(object "[object MediaStreamTrack]", object "[object MediaStreamTrack]")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:245:5)
Pass
assert_equals("recvonly", "recvonly")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:246:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:247:5)
Pass
assert_equals("recvonly", "recvonly")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:256:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:259:5)
Pass
assert_equals("recvonly", "recvonly")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:260:5)
Pass
assert_equals("recvonly", "recvonly")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:261:5)
PassCalling removeTrack with currentDirection inactive should not change direction
Asserts run
Pass
assert_equals(object "[object MediaStreamTrack]", object "[object MediaStreamTrack]")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:279:5)
Pass
assert_equals("inactive", "inactive")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:280:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:281:5)
Pass
assert_equals("inactive", "inactive")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:287:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:290:5)
Pass
assert_equals("inactive", "inactive")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:291:5)
Pass
assert_equals("inactive", "inactive")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:292:5)
PassCalling removeTrack on a stopped transceiver should be a no-op
Asserts run
Pass
assert_equals(object "[object MediaStreamTrack]", object "[object MediaStreamTrack]")
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:307:5)
PassCalling removeTrack on a null track should have no effect
Asserts run
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webrtc/RTCPeerConnection-removeTrack.https.html:320:5)