Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e1d9e9f

Browse files
committedJun 11, 2015
fix($location): do not get caught in infinite digest in IE9
Closes angular#11439 Closes angular#11675 Closes angular#11935
1 parent 3381fec commit e1d9e9f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed
 

‎test/ng/locationSpec.js

-12
Original file line numberDiff line numberDiff line change
@@ -780,9 +780,6 @@ describe('$location', function() {
780780
inject(function($rootScope, $injector, $browser) {
781781
var $browserUrl = spyOnlyCallsWithArgs($browser, 'url').andCallThrough();
782782

783-
$browser.url('http://server/app');
784-
$browser.poll();
785-
786783
var $location = $injector.get('$location');
787784
updatePathOnLocationChangeSuccessTo('/Home');
788785

@@ -800,9 +797,6 @@ describe('$location', function() {
800797
inject(function($rootScope, $injector, $browser) {
801798
var $browserUrl = spyOnlyCallsWithArgs($browser, 'url').andCallThrough();
802799

803-
$browser.url('http://server/app');
804-
$browser.poll();
805-
806800
var $location = $injector.get('$location');
807801
updatePathOnLocationChangeSuccessTo('/');
808802

@@ -820,9 +814,6 @@ describe('$location', function() {
820814
inject(function($rootScope, $injector, $browser) {
821815
var $browserUrl = spyOnlyCallsWithArgs($browser, 'url').andCallThrough();
822816

823-
$browser.url('http://server/app/');
824-
$browser.poll();
825-
826817
var $location = $injector.get('$location');
827818
updatePathOnLocationChangeSuccessTo('/Home');
828819

@@ -840,9 +831,6 @@ describe('$location', function() {
840831
inject(function($rootScope, $injector, $browser) {
841832
var $browserUrl = spyOnlyCallsWithArgs($browser, 'url').andCallThrough();
842833

843-
$browser.url('http://server/app/');
844-
$browser.poll();
845-
846834
var $location = $injector.get('$location');
847835
updatePathOnLocationChangeSuccessTo('/');
848836

0 commit comments

Comments
 (0)
Please sign in to comment.