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

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

Issue 821303006: bindings: Fixes layouttests when moving attributes to prototype chains. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed performance memory tests and addressed review comments. Created 5 years, 11 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 cd380ee8f59e46dd716726f4bc15fb85fb36bbd6..1eed8a74b79844a6dec6ae606d20eb15e58e28eb 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(JSON.stringify(sessionDescription));');
+shouldNotThrow('initializer = JSON.parse(stringifyDOMObject(sessionDescription));');
shouldNotThrow("sessionDescription = new RTCSessionDescription(initializer);");
shouldBe('sessionDescription.type', '"offer"');

Powered by Google App Engine
This is Rietveld 408576698