Ticket #1045 (closed defect: wontfix)
dojo.undo.browser breaks in ambiguous situations
| Reported by: | adam@… | Owned by: | blowery |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | General | Version: | 0.3 |
| Severity: | normal | Keywords: | undo dojo.undo.browser history back-button |
| Cc: |
Description
Given a page index.html which uses dojo.undo.browser to change urls, if a user visits:
(1) index.html#a (2) index.html#b (3) index.html#c (4) index.html#b
in that order, then presses back three times, the third back will not affect the page.
What happens is that dojo correctly interprets the first back as a movement from (4) to (3), but then misinterprets the second back as a forward (since (2) and (4) are the same url), and assumes we are now at (4). When the user presses back a third time, dojo cannot work out how we reached (1), and thus doesn't call a state handler.
Change History
Note: See
TracTickets for help on using
tickets.