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

Commit 7cb01a8

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 feba017 commit 7cb01a8

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
@@ -652,6 +652,9 @@ describe('browser', function() {
652652
$provide.value('$browser', browser);
653653
browser.pollFns = [];
654654

655+
sniffer.history = true;
656+
$provide.value('$sniffer', sniffer);
657+
655658
$locationProvider.html5Mode(true);
656659
}));
657660

0 commit comments

Comments
 (0)