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

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: PerfTestRunner.layoutOrFullyRender() 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
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..d0ff3f8996e4d776ce2f4ca93bd4c91e1fecd2db 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.layoutOrFullyRender();
window.resizeTo(landscape.width, landscape.height);
- document.body.offsetTop;
+ PerfTestRunner.layoutOrFullyRender();
};
function onTestDone() {

Powered by Google App Engine
This is Rietveld 408576698