Index: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice.html |
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice.html b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice.html |
index f489753ca36b69a5dca30943b75455ca8a651a58..f144b9dacfd2914c80f0bf16aa68e458ad49eaf0 100644 |
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice.html |
+++ b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice.html |
@@ -36,8 +36,8 @@ function onIceChange1() |
if (pc.iceConnectionState === "completed") { |
testPassed("iceConnectionState is completed"); |
iceCandidate = new RTCIceCandidate({candidate:"nano nano"}); |
- shouldThrow('pc.addIceCandidate(null, null, null);'); |
- shouldThrow('pc.addIceCandidate(iceCandidate, null, null);'); |
+ shouldThrow('pc.addIceCandidate(null, addIceCandidateSuccess, addIceCandidateFailure);'); |
+ shouldThrow('pc.addIceCandidate(iceCandidate, null, addIceCandidateFailure);'); |
shouldThrow('pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, null);'); |
shouldNotThrow('pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, addIceCandidateFailure);'); |
} |