Browser Compatability
Submitted by bill on Sun, 09/02/2007 - 15:19.
- Do not mix dojo.back.addToHistory() calls that use changeUrl with ones that do not use changeUrl. Always use one or the other. If you are using changeUrl, you don't always have to provide a string for the value, but at least set it to true to get an auto-generated URL hash.
- Don't test this page using local disk for MSIE. MSIE will not create a history list for iframe_history.html if served from a file: URL. The XML served back from the XHR tests will also not be properly created if served from local disk. Serve the test pages from a web server to test in that browser.
- Safari 2.0.3+ (and probably 1.3.2+): Only the back button works OK (not the forward button), and only if changeUrl is NOT used. When changeUrl is used, Safari jumps all the way back to whatever page was shown before the page that uses dojo.undo.browser support.
- Opera 8.5.3: Does not work.
- Konqueror: Unknown. The latest may have Safari's behavior.
For complete examples, see the unit tests in /dojo/tests/back.html.
- Printer-friendly version
- Login or register to post comments
- Unsubscribe post
unit tests
The unit tests linked at the end of this article don't work as of 0.9.0.
Anyone have working examples?