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

Unified Diff: tools/page_cycler/common/head.js

Issue 7941010: Revert r101718 "wait for test script to be loaded" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | « chrome/test/perf/page_cycler_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/page_cycler/common/head.js
diff --git a/tools/page_cycler/common/head.js b/tools/page_cycler/common/head.js
index 39bb220130de01b0597d4d3171ca22a1a0f918b6..19a38dce0121eb93bfb7d17bf5242e29581499b3 100644
--- a/tools/page_cycler/common/head.js
+++ b/tools/page_cycler/common/head.js
@@ -74,11 +74,8 @@ function __ontimeout() {
document.location.href = url;
}
function __onload() {
- if (__results) {
- // Set a variable to indicate that the result report page is loaded.
- document.cookie = " __navigated_to_report=1; path=/";
+ if (__results)
return;
- }
var unused = document.body.offsetHeight; // force layout
var ts = 0, td = 0, te = (new Date()).getTime(), tf = 0;
« no previous file with comments | « chrome/test/perf/page_cycler_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698