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

Unified Diff: LayoutTests/fast/mediastream/RTCIceCandidate.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/RTCIceCandidate.html
diff --git a/LayoutTests/fast/mediastream/RTCIceCandidate.html b/LayoutTests/fast/mediastream/RTCIceCandidate.html
index 235f67020103c9b4cc6884fd4d541535365a7593..9d5eb63b6be9554decfdb86f5830032be41a3893 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(JSON.stringify(candidate));');
+shouldNotThrow('initializer = JSON.parse(stringifyDOMObject(candidate));');
shouldNotThrow('candidate = new RTCIceCandidate(initializer);');
shouldBeEqualToString('candidate.candidate', 'foo');
« no previous file with comments | « LayoutTests/fast/js/script-tests/delete-syntax.js ('k') | LayoutTests/fast/mediastream/RTCIceCandidate-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698