We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c227535 commit 68a354eCopy full SHA for 68a354e
tests/unit/navigation/navigation_core.js
@@ -172,6 +172,11 @@
172
});
173
174
asyncTest( "last entry choosen amongst multiple identical url history stack entries on hash change", function(){
175
+ // make sure the stack is clear after initial page load an any other delayed page loads
176
+ // TODO better browser state management
177
+ $.mobile.urlHistory.stack = [];
178
+ $.mobile.urlHistory.activeIndex = 0;
179
+
180
$.testHelper.pageSequence([
181
function(){ $.testHelper.openPage("#dup-history-first"); },
182
function(){ $("#dup-history-first a").click(); },
0 commit comments