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

Unified Diff: webkit/tools/layout_tests/dashboards/dashboard_base.js

Issue 267044: Fix double page generation bug. Now that we use onhashchange,... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 2 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 | webkit/tools/layout_tests/flakiness_dashboard.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/layout_tests/dashboards/dashboard_base.js
===================================================================
--- webkit/tools/layout_tests/dashboards/dashboard_base.js (revision 28636)
+++ webkit/tools/layout_tests/dashboards/dashboard_base.js (working copy)
@@ -248,6 +248,8 @@
var hasDoneInitialPageGeneration = false;
function handleResourceLoad() {
+ // In case we load a results.json that's not in the list of builders,
+ // make sure to only call handleLocationChange once from the resource loads.
if (!hasDoneInitialPageGeneration)
handleLocationChange();
}
« no previous file with comments | « no previous file | webkit/tools/layout_tests/flakiness_dashboard.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698