/home/clopez/webkit/webkit/layout-test-results/retries/fast/mediastream/RTCPeerConnection-add-removeTrack-actual.txt

55
66Test bad addTrack() arguments
77PASS pc.addTrack() threw exception TypeError: Not enough arguments.
8 PASS pc.addTrack(null) threw exception TypeError: Argument 1 ('track') to RTCPeerConnection.addTrack must be an instance of MediaStreamTrack.
9 PASS pc.addTrack({}) threw exception TypeError: Argument 1 ('track') to RTCPeerConnection.addTrack must be an instance of MediaStreamTrack.
10 PASS pc.addTrack(track, null) threw exception TypeError: Argument 2 ('streams') to RTCPeerConnection.addTrack must be an instance of MediaStream.
11 PASS pc.addTrack(track, {}) threw exception TypeError: Argument 2 ('streams') to RTCPeerConnection.addTrack must be an instance of MediaStream.
12 PASS pc.addTrack(track, stream, null) threw exception TypeError: Argument 3 ('streams') to RTCPeerConnection.addTrack must be an instance of MediaStream.
 8PASS pc.addTrack(null) threw exception TypeError: Argument 1 ('track') to webkitRTCPeerConnection.addTrack must be an instance of MediaStreamTrack.
 9PASS pc.addTrack({}) threw exception TypeError: Argument 1 ('track') to webkitRTCPeerConnection.addTrack must be an instance of MediaStreamTrack.
 10PASS pc.addTrack(track, null) threw exception TypeError: Argument 2 ('streams') to webkitRTCPeerConnection.addTrack must be an instance of MediaStream.
 11PASS pc.addTrack(track, {}) threw exception TypeError: Argument 2 ('streams') to webkitRTCPeerConnection.addTrack must be an instance of MediaStream.
 12PASS pc.addTrack(track, stream, null) threw exception TypeError: Argument 3 ('streams') to webkitRTCPeerConnection.addTrack must be an instance of MediaStream.
1313
1414Test bad removeTrack() arguments
1515PASS pc.removeTrack() threw exception TypeError: Not enough arguments.
16 PASS pc.removeTrack(null) threw exception TypeError: Argument 1 ('sender') to RTCPeerConnection.removeTrack must be an instance of RTCRtpSender.
17 PASS pc.removeTrack({}) threw exception TypeError: Argument 1 ('sender') to RTCPeerConnection.removeTrack must be an instance of RTCRtpSender.
 16PASS pc.removeTrack(null) threw exception TypeError: Argument 1 ('sender') to webkitRTCPeerConnection.removeTrack must be an instance of RTCRtpSender.
 17PASS pc.removeTrack({}) threw exception TypeError: Argument 1 ('sender') to webkitRTCPeerConnection.removeTrack must be an instance of RTCRtpSender.
1818
1919PASS pc.getSenders().length is 0
2020PASS sender = pc.addTrack(track, stream) did not throw exception.

4343PASS senderFromPc2 = pc2.addTrack(track, stream) did not throw exception.
4444removeTrack() with 'foreign' sender must be ignored (not throw)
4545PASS pc.removeTrack(senderFromPc2) did not throw exception.
46 PASS pc.addTrack(null); threw exception TypeError: Argument 1 ('track') to RTCPeerConnection.addTrack must be an instance of MediaStreamTrack.
47 PASS pc.addTrack(undefined); threw exception TypeError: Argument 1 ('track') to RTCPeerConnection.addTrack must be an instance of MediaStreamTrack.
48 PASS pc.removeTrack(null); threw exception TypeError: Argument 1 ('sender') to RTCPeerConnection.removeTrack must be an instance of RTCRtpSender.
49 PASS pc.removeTrack(undefined); threw exception TypeError: Argument 1 ('sender') to RTCPeerConnection.removeTrack must be an instance of RTCRtpSender.
 46PASS pc.addTrack(null); threw exception TypeError: Argument 1 ('track') to webkitRTCPeerConnection.addTrack must be an instance of MediaStreamTrack.
 47PASS pc.addTrack(undefined); threw exception TypeError: Argument 1 ('track') to webkitRTCPeerConnection.addTrack must be an instance of MediaStreamTrack.
 48PASS pc.removeTrack(null); threw exception TypeError: Argument 1 ('sender') to webkitRTCPeerConnection.removeTrack must be an instance of RTCRtpSender.
 49PASS pc.removeTrack(undefined); threw exception TypeError: Argument 1 ('sender') to webkitRTCPeerConnection.removeTrack must be an instance of RTCRtpSender.
5050PASS successfullyParsed is true
5151
5252TEST COMPLETE