Index: LayoutTests/fast/mediastream/RTCPeerConnection-localDescription.html |
diff --git a/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription.html b/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription.html |
index 9aabdf1981bd1f84c135cbc8377cce09866e7e48..f5775886c4618a29cec1b657a2f089c15fe9efd1 100644 |
--- a/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription.html |
+++ b/LayoutTests/fast/mediastream/RTCPeerConnection-localDescription.html |
@@ -8,7 +8,6 @@ |
description("Tests RTCPeerConnection localDescription."); |
var pc = null; |
-var observation = null; |
function requestFailed2() |
{ |
@@ -39,13 +38,8 @@ |
{ |
testPassed('requestSucceeded was called.'); |
- shouldBeTrue('pc.localDescription === sessionDescription'); |
- observation = internals.observeGC(pc.localDescription); |
- asyncGC(function() { |
- shouldBeFalse('observation.wasCollected'); |
- sessionDescription = new RTCSessionDescription({type:"answer", sdp:"remote"}); |
- shouldNotThrow('pc.setLocalDescription(sessionDescription, requestSucceeded2, requestFailed2);'); |
- }); |
+ sessionDescription = new RTCSessionDescription({type:"answer", sdp:"remote"}); |
+ shouldNotThrow('pc.setLocalDescription(sessionDescription, requestSucceeded2, requestFailed2);'); |
} |
pc = new webkitRTCPeerConnection(null, null); |