{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/1927","labels_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1927/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1927/comments","events_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1927/events","html_url":"https://github.com/angular-ui/ui-router/issues/1927","id":71841731,"number":1927,"title":"Regression: $location.replace() with changes only to stateParams using reloadOnSearch:false - still cause page reload","user":{"login":"benbracha","id":3404050,"avatar_url":"https://avatars.githubusercontent.com/u/3404050?v=3","gravatar_id":"","url":"https://api.github.com/users/benbracha","html_url":"https://github.com/benbracha","followers_url":"https://api.github.com/users/benbracha/followers","following_url":"https://api.github.com/users/benbracha/following{/other_user}","gists_url":"https://api.github.com/users/benbracha/gists{/gist_id}","starred_url":"https://api.github.com/users/benbracha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbracha/subscriptions","organizations_url":"https://api.github.com/users/benbracha/orgs","repos_url":"https://api.github.com/users/benbracha/repos","events_url":"https://api.github.com/users/benbracha/events{/privacy}","received_events_url":"https://api.github.com/users/benbracha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-29T10:42:32Z","updated_at":"2015-04-29T14:19:26Z","closed_at":null,"body":"Hey,\r\n\r\nDoing the following:\r\n$location.search('myParam', 'someValue');\r\n$location.replace();\r\n\r\nSeems to cause page reload, even when we use \"reloadOnSearch:false\" for our state.\r\nWe use angular 1.3.15 and angular-ui-router 0.2.14 (Chrome  42.0.2311.135 (64-bit) - latest)\r\n\r\nThe strange thing is, that it started to happen only on the following scenario:\r\n- Since Chrome 42 version.\r\n- When navigate to our app using Chrome's basic-authentication via URL, for example: \r\nhttp://username@email.com:password@127.0.0.1:9000\r\n\r\nIt doesn't happen if we use Chrome 41 or on Chrome 42 without the basic-authentication navigation feature.\r\n\r\nSo the flow is the following:\r\n1. We navigate to our app as above.\r\n2. Then click some element that causes navigation to a new state\r\n3. The new state is doing $location.search('myParam','myValue') then $location.replace()\r\n4. A page reload occurs.\r\n\r\n(BTW, the reason we use the URL basic-authentication feature - is for selenium-testing for our app).\r\n\r\nAny ideas what could cause this regression?"},"comment":{"url":"https://api.github.com/repos/angular-ui/ui-router/issues/comments/97444200","html_url":"https://github.com/angular-ui/ui-router/issues/1927#issuecomment-97444200","issue_url":"https://api.github.com/repos/angular-ui/ui-router/issues/1927","id":97444200,"user":{"login":"benbracha","id":3404050,"avatar_url":"https://avatars.githubusercontent.com/u/3404050?v=3","gravatar_id":"","url":"https://api.github.com/users/benbracha","html_url":"https://github.com/benbracha","followers_url":"https://api.github.com/users/benbracha/followers","following_url":"https://api.github.com/users/benbracha/following{/other_user}","gists_url":"https://api.github.com/users/benbracha/gists{/gist_id}","starred_url":"https://api.github.com/users/benbracha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbracha/subscriptions","organizations_url":"https://api.github.com/users/benbracha/orgs","repos_url":"https://api.github.com/users/benbracha/repos","events_url":"https://api.github.com/users/benbracha/events{/privacy}","received_events_url":"https://api.github.com/users/benbracha/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T14:19:26Z","updated_at":"2015-04-29T14:19:26Z","body":"Interesting. It does print some stuff, but now I see it also prints this exception (which wasn't before):\r\n\r\nError: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!\r\nWatchers fired in the last 5 iterations: []\r\nhttp://errors.angularjs.org/1.3.15/$rootScope/infdig?p0=10&p1=%5B%5D\r\n    at REGEX_STRING_REGEXP (http://upitewta.balovgop%40ravellosystems.com:astadatifgefdek@127.0.0.1:9000/bower_components/angular/angular.js:63:12)\r\n    at Scope.$get.Scope.$digest (http://upitewta.balovgop%40ravellosystems.com:astadatifgefdek@127.0.0.1:9000/bower_components/angular/angular.js:14346:19)\r\n    at Scope.$get.Scope.$apply (http://upitewta.balovgop%40ravellosystems.com:astadatifgefdek@127.0.0.1:9000/bower_components/angular/angular.js:14571:24)\r\n    at http://upitewta.balovgop%40ravellosystems.com:astadatifgefdek@127.0.0.1:9000/bower_components/angular/angular.js:16308:36\r\n    at completeOutstandingRequest (http://upitewta.balovgop%40ravellosystems.com:astadatifgefdek@127.0.0.1:9000/bower_components/angular/angular.js:4924:10)\r\n    at http://upitewta.balovgop%40ravellosystems.com:astadatifgefdek@127.0.0.1:9000/bower_components/angular/angular.js:5312:7 undefined\r\n"}}