Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit a6e6438

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 #9423 Closes #9424
1 parent 3691d2c commit a6e6438

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)