Index: LayoutTests/fast/mediastream/RTCPeerConnection-ice.html |
diff --git a/LayoutTests/fast/mediastream/RTCPeerConnection-ice.html b/LayoutTests/fast/mediastream/RTCPeerConnection-ice.html |
deleted file mode 100644 |
index f489753ca36b69a5dca30943b75455ca8a651a58..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/mediastream/RTCPeerConnection-ice.html |
+++ /dev/null |
@@ -1,53 +0,0 @@ |
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
-<html> |
-<head> |
-<script src="../../resources/js-test.js"></script> |
-</head> |
-<body> |
-<script> |
-description("Tests the RTCPeerConnection Ice functionality."); |
- |
-var pc = null; |
-var iceCandidate = null; |
- |
-function onIceChange2() |
-{ |
- if (pc.iceConnectionState === "closed") { |
- testPassed("iceConnectionState is closed."); |
- finishJSTest(); |
- } |
-} |
- |
-function addIceCandidateSuccess() |
-{ |
- testPassed("addIceCandidateSuccess was called."); |
- pc.oniceconnectionstatechange = onIceChange2; |
- pc.close(); |
-} |
- |
-function addIceCandidateFailure() |
-{ |
- testFailed("addIceCandidateFailue was called."); |
- finishJSTest(); |
-} |
- |
-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(iceCandidate, addIceCandidateSuccess, null);'); |
- shouldNotThrow('pc.addIceCandidate(iceCandidate, addIceCandidateSuccess, addIceCandidateFailure);'); |
- } |
-} |
- |
-shouldNotThrow('pc = new webkitRTCPeerConnection(null, null);'); |
-pc.oniceconnectionstatechange = onIceChange1; |
- |
-window.jsTestIsAsync = true; |
-window.successfullyParsed = true; |
-</script> |
-</body> |
-</html> |