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

Unified Diff: LayoutTests/fast/mediastream/RTCSessionDescription.html

Issue 1033983002: Add serializers to RTCIceCandidate and RTCSessionDescription (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-serializer
Patch Set: fix global-interface-listing expectation Created 5 years, 9 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: 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"');

Powered by Google App Engine
This is Rietveld 408576698