Changeset 139270 in webkit
- Timestamp:
- Jan 9, 2013 6:35:36 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r139263 r139270 1 2013-01-09 Julie Parent <jparent@chromium.org> 2 3 Dashboard Cleanup: Reload the page as soon as we know we need to. 4 https://bugs.webkit.org/show_bug.cgi?id=106515 5 6 No need to continue parsing all of the data once we know that 7 we need to do a reload. 8 9 Reviewed by Dirk Pranke. 10 11 * TestResultServer/static-dashboards/dashboard_base.js: 12 (parseParameters): 13 1 14 2013-01-09 Eric Seidel <eric@webkit.org> 2 15 -
trunk/Tools/TestResultServer/static-dashboards/dashboard_base.js
r139260 r139270 322 322 323 323 parseCrossDashboardParameters(); 324 325 // Some parameters require loading different JSON files when the value changes. Do a reload. 326 if (Object.keys(oldCrossDashboardState).length) { 327 for (var key in g_crossDashboardState) { 328 if (oldCrossDashboardState[key] != g_crossDashboardState[key] && RELOAD_REQUIRING_PARAMETERS.indexOf(key) != -1) { 329 window.location.reload(); 330 return {}; 331 } 332 } 333 } 334 324 335 parseDashboardSpecificParameters(); 325 336 parseParameter(queryHashAsMap(), 'builder'); … … 337 348 if (g_currentState.tests) 338 349 delete g_currentState.builder; 339 340 // Some parameters require loading different JSON files when the value changes. Do a reload.341 if (Object.keys(oldCrossDashboardState).length) {342 for (var key in g_crossDashboardState) {343 if (oldCrossDashboardState[key] != g_crossDashboardState[key] && RELOAD_REQUIRING_PARAMETERS.indexOf(key) != -1)344 window.location.reload();345 }346 }347 350 348 351 return dashboardSpecificDiffState;
Note: See TracChangeset
for help on using the changeset viewer.