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

Unified Diff: LayoutTests/fast/dom/Window/window-properties-performance.html

Issue 1171893004: bindings: Supports serializer for PerformanceTiming. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added a test for PerformanceTiming's serializer. Created 5 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Window/window-properties-performance-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/dom/Window/window-properties-performance.html
diff --git a/LayoutTests/fast/dom/Window/window-properties-performance.html b/LayoutTests/fast/dom/Window/window-properties-performance.html
index 0a8f81ef12588825d5d16d5a9d2ddbe76b86930d..68d12e067bc4ebef5abf0b4d908997512c06b3fa 100644
--- a/LayoutTests/fast/dom/Window/window-properties-performance.html
+++ b/LayoutTests/fast/dom/Window/window-properties-performance.html
@@ -91,6 +91,9 @@ function logProperties(object, objectName)
logValue('window.performance');
window.performance.timing = 'timing is not replaceable';
logValue('window.performance.timing');
+// PerformanceTiming supports a serializer.
+var jsonizedTiming = JSON.parse(JSON.stringify(window.performance.timing));
+logValue('jsonizedTiming');
window.performance.navigation = 'navigation is not replaceable';
logValue('window.performance.navigation');
window.performance = 'performance is replaceable';
« no previous file with comments | « no previous file | LayoutTests/fast/dom/Window/window-properties-performance-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698