Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: LayoutTests/fast/mediastream/RTCPeerConnection-ice.html

Issue 650063002: Move MediaStream and MediaStreamTrack implementation from modules/mediastream to core/mediastream. Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698