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

Unified Diff: PerformanceTests/Interactive/resources/window-resize.js

Issue 675983004: Allow performance tests to test full rendering performance (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: layoutOrFullyRender -> forceLayoutOrFullFrame Created 6 years, 1 month 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 | « PerformanceTests/Interactive/SelectAll.html ('k') | PerformanceTests/Layout/ArabicLineLayout.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PerformanceTests/Interactive/resources/window-resize.js
diff --git a/PerformanceTests/Interactive/resources/window-resize.js b/PerformanceTests/Interactive/resources/window-resize.js
index a984b1337db89bc74ab4946c21b695feef593064..fd5b8c870730f4f8ddbe400d250e93f8da3a3dc3 100644
--- a/PerformanceTests/Interactive/resources/window-resize.js
+++ b/PerformanceTests/Interactive/resources/window-resize.js
@@ -7,9 +7,9 @@ if (window.testRunner)
var run = function() {
window.resizeTo(portrait.width, portrait.height);
- document.body.offsetTop;
+ PerfTestRunner.forceLayoutOrFullFrame();
window.resizeTo(landscape.width, landscape.height);
- document.body.offsetTop;
+ PerfTestRunner.forceLayoutOrFullFrame();
};
function onTestDone() {
« no previous file with comments | « PerformanceTests/Interactive/SelectAll.html ('k') | PerformanceTests/Layout/ArabicLineLayout.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698