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

Unified Diff: LayoutTests/http/tests/misc/performance-memory-in-shared-worker.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/http/tests/misc/performance-memory-in-shared-worker.html
diff --git a/LayoutTests/http/tests/misc/performance-memory-in-shared-worker.html b/LayoutTests/http/tests/misc/performance-memory-in-shared-worker.html
index 2f975549f46b222cd772c0e393dc7e116aa022fb..7ccadb9c6044e51b56da39189ed0fc327395bd07 100644
--- a/LayoutTests/http/tests/misc/performance-memory-in-shared-worker.html
+++ b/LayoutTests/http/tests/misc/performance-memory-in-shared-worker.html
@@ -11,7 +11,10 @@
var tests = [
'"performance" in self;',
'"memory" in self.performance;',
- 'JSON.stringify(self.performance.memory);',
+ ('JSON.stringify(' +
+ '{jsHeapSizeLimit: self.performance.memory.jsHeapSizeLimit,' +
+ ' totalJSHeapSize: self.performance.memory.totalJSHeapSize,' +
+ ' usedJSHeapSize: self.performance.memory.usedJSHeapSize});')
];
var t = async_test('window.performance.memory in shared workers');

Powered by Google App Engine
This is Rietveld 408576698