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

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

Issue 2097563002: Split the mediastream module in Blink into mediastream and peerconnection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add DEPS file Created 4 years, 6 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: third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-promise.html
diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-promise.html b/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-promise.html
deleted file mode 100644
index b89bbbe4e5ae798fcd1ff6d08cd76fe9ea22f374..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCPeerConnection-ice-promise.html
+++ /dev/null
@@ -1,64 +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("addIceCandidateFailure was called.");
- finishJSTest();
-}
-
-function unexpectedSuccess()
-{
- testFailed("unexpectedSuccess was called.");
- finishJSTest();
-}
-
-function expectedTypeError(error)
-{
- window.error = error;
- shouldBe('error.name', '"TypeError"')
- testPassed('expectedTypeError was called.')
-}
-
-function onIceChange1()
-{
- if (pc.iceConnectionState === "completed") {
- testPassed("iceConnectionState is completed");
- iceCandidate = new RTCIceCandidate({candidate:"nano nano"});
- shouldNotThrow('pc.addIceCandidate(null).then(unexpectedSuccess, expectedTypeError);');
- shouldNotThrow('pc.addIceCandidate(iceCandidate).then(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