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

Unified Diff: LayoutTests/http/tests/misc/performance-memory-in-dedicated-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-dedicated-worker.html
diff --git a/LayoutTests/http/tests/misc/performance-memory-in-dedicated-worker.html b/LayoutTests/http/tests/misc/performance-memory-in-dedicated-worker.html
index 0fb76ae046de8ed21d954da830faabe0e1826621..f37a6be0e699f3a34ac6381edf4e4fd3fc84c4b2 100644
--- a/LayoutTests/http/tests/misc/performance-memory-in-dedicated-worker.html
+++ b/LayoutTests/http/tests/misc/performance-memory-in-dedicated-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 dedicated workers');
« no previous file with comments | « LayoutTests/fast/svg/SVGStyleElement.html ('k') | LayoutTests/http/tests/misc/performance-memory-in-shared-worker.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698