Index: LayoutTests/fast/mediastream/RTCSessionDescription.html |
diff --git a/LayoutTests/fast/mediastream/RTCSessionDescription.html b/LayoutTests/fast/mediastream/RTCSessionDescription.html |
index 1eed8a74b79844a6dec6ae606d20eb15e58e28eb..cd380ee8f59e46dd716726f4bc15fb85fb36bbd6 100644 |
--- a/LayoutTests/fast/mediastream/RTCSessionDescription.html |
+++ b/LayoutTests/fast/mediastream/RTCSessionDescription.html |
@@ -15,7 +15,7 @@ shouldNotThrow("sessionDescription = new RTCSessionDescription(initializer);"); |
shouldBe('sessionDescription.type', '"offer"'); |
shouldBe('sessionDescription.sdp', '"foobar"'); |
-shouldNotThrow('initializer = JSON.parse(stringifyDOMObject(sessionDescription));'); |
+shouldNotThrow('initializer = JSON.parse(JSON.stringify(sessionDescription));'); |
shouldNotThrow("sessionDescription = new RTCSessionDescription(initializer);"); |
shouldBe('sessionDescription.type', '"offer"'); |