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

Unified Diff: PerformanceTests/resources/runner.js

Issue 196533018: Remove EnableMemoryInfo WebSetting, rename internal to preciseMemoryInfoEnabled (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Source/core/frame/Settings.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/resources/runner.js
diff --git a/PerformanceTests/resources/runner.js b/PerformanceTests/resources/runner.js
index 3a6c7c0c7ab50253fe504d68117f6d063417f32d..01c72b7964152c6bd985dcf933dbd32902590c0a 100644
--- a/PerformanceTests/resources/runner.js
+++ b/PerformanceTests/resources/runner.js
@@ -1,8 +1,8 @@
// There are tests for computeStatistics() located in LayoutTests/fast/harness/perftests
-// We need access to console.memory for the memory measurements
+// Require non-quantized real-time JS heap size information.
if (window.internals)
- internals.settings.setMemoryInfoEnabled(true);
+ internals.settings.setPreciseMemoryInfoEnabled(true);
if (window.testRunner) {
testRunner.waitUntilDone();
« no previous file with comments | « no previous file | Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698