aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/browserSpecs.js
AgeCommit message (Collapse)Author
2014-01-02fix($browser): remove base href domain when url begins with '//'Caitlin Potter
This change prevents an incorrect appBase url from being calculated when the <base> href's domain begins with '//'. Closes #5606
2013-10-02fix($location): prevent infinite digest error in IE7Angel Balcarcel
Refactored `replacedUrl` to store the new URL on both `location.replace` and setting `location.href` directly to handle delays in the actual location value change in IE. Closes #2802
2013-05-11fix($browser): should use first value for a cookie.Chirayu Krishnappa
With this change, $browser.cookies()["foo"] will behave like docCookies.getItem("foo") where docCookies is defined at https://developer.mozilla.org/en-US/docs/DOM/document.cookie This fixes the issue where, if there's a value for the XSRF-TOKEN cookie value with the path /, then that value is used for all applications in the domain even if they set path specific values for XSRF-TOKEN. Closes #2635
2013-04-29test(browser/compile): fix calls to Jasmine fail()Oren Avissar
The fail() function in Jasmine expects an Error object parameter. Also, there is no global alias for fail() so it must be accessed using `this.fail(new Error())`.
2013-02-07fix($cookies): set cookies on Safari&IE when base[href] is undefinedFredrik Bonander
Safari and IE don't like being told to store cookies with path set to undefined. This change ensures that if base[href] (from which cookie path is derived) is undefined then the cookie path defaults to ''. The test verifies that the cookie is set instead of checking that cookie has correct path, this is due to that cookie meta information is not avabile once the cookie is set. Closes #1190, #1191
2013-01-08refactor($browser): remove faulty 20+ cookies warningIgor Minar
the warning is defunct (and the test is incorrect) so obviously nobody is using it and it just takes up space. also the browser behavior varies (ff and chrome allow up to 150 cookies, safari even more), so it's not very useful. Closes #1712
2012-06-22fix(browser): prevent ie from getting into redirect loopMisko Hevery
Closes #1075 Closes #1079 Closes #1085
2012-05-13fix($browser/$location): single quote in url causes infinite digest in FFIgor Minar
The real issue is in FF, see https://bugzilla.mozilla.org/show_bug.cgi?id=407172. FF overly encodes stuff which breaks our expectations and then we fail .url() != currentUrl.absUrl() comparison unexpectidly, which leads to infinite digest. The workaround is to correct for this inconsistency in $browser and decode any single quotes in urls. Closes #920
2012-05-04bug($cookie): set on app base path rather the current path.Misko Hevery
2012-04-09chore($browser): remove the addJs methodIgor Minar
this was never meant to be a public api used by apps. I refactored the code to hide the functionality. BREAKING CHANGE: $browser.addJs method was removed apps that depended on this functionality should either use many of the existing script loaders or create a simple helper method specific to the app.
2012-03-28chore(module): move files around in preparation for more modulesMisko Hevery