Index: LayoutTests/fast/mediastream/RTCIceCandidate.html |
diff --git a/LayoutTests/fast/mediastream/RTCIceCandidate.html b/LayoutTests/fast/mediastream/RTCIceCandidate.html |
index 9d5eb63b6be9554decfdb86f5830032be41a3893..235f67020103c9b4cc6884fd4d541535365a7593 100644 |
--- a/LayoutTests/fast/mediastream/RTCIceCandidate.html |
+++ b/LayoutTests/fast/mediastream/RTCIceCandidate.html |
@@ -16,7 +16,7 @@ shouldBeEqualToString('candidate.candidate', 'foo'); |
shouldBeEqualToString('candidate.sdpMid', 'bar'); |
shouldBe('candidate.sdpMLineIndex', '6'); |
-shouldNotThrow('initializer = JSON.parse(stringifyDOMObject(candidate));'); |
+shouldNotThrow('initializer = JSON.parse(JSON.stringify(candidate));'); |
shouldNotThrow('candidate = new RTCIceCandidate(initializer);'); |
shouldBeEqualToString('candidate.candidate', 'foo'); |