Changeset 139272 in webkit
- Timestamp:
- Jan 9, 2013 6:50:22 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r139270 r139272 1 2013-01-09 Julie Parent <jparent@chromium.org> 2 3 Dashboard cleanup: Remove code for currentState and window.location.hash getting out of state 4 https://bugs.webkit.org/show_bug.cgi?id=106514 5 6 This is old code, as these can no longer get out of sync. 7 permmaLinkURLHash is generated from currentState, which is set only 8 from the location. The commment about how these can get out of sync 9 refers to a function that no longer exists. 10 11 Reviewed by Dirk Pranke. 12 13 * TestResultServer/static-dashboards/dashboard_base.js: 14 (handleLocationChange): 15 1 16 2013-01-09 Julie Parent <jparent@chromium.org> 2 17 -
trunk/Tools/TestResultServer/static-dashboards/dashboard_base.js
r139270 r139272 515 515 shouldGeneratePage = handleQueryParameterChange(params); 516 516 517 var newHash = permaLinkURLHash(); 518 var winHash = window.location.hash || "#"; 519 // Make sure the location is the same as the state we are using internally. 520 // These get out of sync if processQueryParamChange changed state. 521 if (newHash != winHash) { 522 // This will cause another hashchange, and when we loop 523 // back through here next time, we'll go through generatePage. 524 window.location.hash = newHash; 525 } else if (shouldGeneratePage) 517 if (shouldGeneratePage) 526 518 generatePage(); 527 519 }
Note: See TracChangeset
for help on using the changeset viewer.