Skip to content

Commit 6a735de

Browse files
committed
fix($browser): don’t use history api when only the hash changes
Fixes a failing test on IE9 caused as a side effect of 404b95f being merged before 0656484. The test should have been independent on the browser running it and it is now. Closes angular#9423 Closes angular#9424
1 parent 05ea61f commit 6a735de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/ng/browserSpecs.js

+3
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,9 @@ describe('browser', function() {
647647
$provide.value('$browser', browser);
648648
browser.pollFns = [];
649649

650+
sniffer.history = true;
651+
$provide.value('$sniffer', sniffer);
652+
650653
$locationProvider.html5Mode(true);
651654
}));
652655

0 commit comments

Comments
 (0)