Index: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt |
index c8ab6b1425b4e48deed5c564593727ee35bbf0ac..b43adc6e7bcc5036be91cae5bf115ce642d153b9 100644 |
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt |
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-expected.txt |
@@ -5,10 +5,16 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE |
PASS pc = new webkitRTCPeerConnection(null, null); did not throw exception. |
PASS iceConnectionState is completed |
-PASS pc.addIceCandidate(null, addIceCandidateSuccess, addIceCandidateFailure); threw exception TypeError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': parameter 1 is not of type 'RTCIceCandidate'.. |
-PASS pc.addIceCandidate(iceCandidate, null, addIceCandidateFailure); threw exception TypeError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': The callback provided as parameter 2 is not a function.. |
-PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, null); threw exception TypeError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': The callback provided as parameter 3 is not a function.. |
+PASS pc.addIceCandidate(null, addIceCandidateSuccess, addIceCandidateFailure).catch(expectedTypeError); did not throw exception. |
+PASS pc.addIceCandidate(iceCandidate, null, addIceCandidateFailure).catch(expectedTypeError); did not throw exception. |
+PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, null).catch(expectedTypeError); did not throw exception. |
PASS pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, addIceCandidateFailure); did not throw exception. |
+PASS TypeError is TypeError |
+PASS expectedTypeError was called. |
+PASS TypeError is TypeError |
+PASS expectedTypeError was called. |
+PASS TypeError is TypeError |
+PASS expectedTypeError was called. |
PASS addIceCandidateSuccess was called. |
PASS iceConnectionState is closed. |
PASS successfullyParsed is true |