| Index: third_party/WebKit/LayoutTests/fast/mediastream/RTCIceCandidate.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/mediastream/RTCIceCandidate.html b/third_party/WebKit/LayoutTests/fast/mediastream/RTCIceCandidate.html
|
| deleted file mode 100644
|
| index be05c735bc73cdc924f66e1ebada233893fe1626..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/mediastream/RTCIceCandidate.html
|
| +++ /dev/null
|
| @@ -1,49 +0,0 @@
|
| -<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
| -<html>
|
| -<head>
|
| -<script src="../../resources/js-test.js"></script>
|
| -</head>
|
| -<body>
|
| -<p id="description"></p>
|
| -<div id="console"></div>
|
| -<script>
|
| -description("Tests RTCIceCandidate.");
|
| -
|
| -var initializer = {candidate:"foo", sdpMid:"bar", sdpMLineIndex:6};
|
| -var candidate;
|
| -shouldNotThrow('candidate = new RTCIceCandidate(initializer);');
|
| -shouldBeEqualToString('candidate.candidate', 'foo');
|
| -shouldBeEqualToString('candidate.sdpMid', 'bar');
|
| -shouldBe('candidate.sdpMLineIndex', '6');
|
| -
|
| -shouldNotThrow('initializer = JSON.parse(JSON.stringify(candidate));');
|
| -
|
| -shouldNotThrow('candidate = new RTCIceCandidate(initializer);');
|
| -shouldBeEqualToString('candidate.candidate', 'foo');
|
| -shouldBeEqualToString('candidate.sdpMid', 'bar');
|
| -shouldBe('candidate.sdpMLineIndex', '6');
|
| -
|
| -shouldThrow('new RTCIceCandidate({});');
|
| -shouldThrow('new RTCIceCandidate(5);');
|
| -shouldThrow('new RTCIceCandidate("foobar");');
|
| -shouldThrow('new RTCIceCandidate({candidate:""});');
|
| -
|
| -shouldNotThrow('new RTCIceCandidate({candidate:"x"});');
|
| -
|
| -candidate = new RTCIceCandidate(initializer);
|
| -candidate.candidate = "bar";
|
| -candidate.sdpMid = "foo";
|
| -candidate.sdpMLineIndex = 0;
|
| -shouldBeEqualToString('candidate.candidate', 'bar');
|
| -shouldBeEqualToString('candidate.sdpMid', 'foo');
|
| -shouldBe('candidate.sdpMLineIndex', '0');
|
| -
|
| -candidate.candidate = null;
|
| -candidate.sdpMid = null;
|
| -shouldBeEqualToString('candidate.candidate', 'null');
|
| -shouldBeEqualToString('candidate.sdpMid', 'null');
|
| -
|
| -window.successfullyParsed = true;
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|