aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/browser.js
AgeCommit message (Collapse)Author
2014-03-07style(jsdoc tags): remove/ammend invalid tagsPeter Bacon Darwin
As highlighted by the new sterner dgeni.
2014-02-26docs(*): fix jsdoc type expressionsPeter Bacon Darwin
These errors in the docs were preventing some parts of the docs from being parsed.
2014-02-16docs(bike-shed-migration): convert doctype and namesPeter Bacon Darwin
2014-01-02style($browser): remove ws, fix typoIgor Minar
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-12-30fix($location): re-assign history after BFCache back on Android browserkimwz
Closes #5425
2013-10-22style: make jshint happyVojta Jina
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-09-30fix($location): re-assign location after BFCache backJeff Cross
In the Android browser, the BFCache maintains the state of JavaScript applications even when navigating to another app, so that going forward and back, to and from an application is very fast. Unfortunately, this can have undesired side effects. In this instance, the location variable was holding a reference to a stale window.location, and was throwing errors when going back to an Angular app after browsing to another site. This fix makes sure that location.url() includes a check to make sure that location is referencing the current window.location. Closes #4044
2013-09-13docs($browser): add jsdoc tags and fix typoBen Tesser
2013-07-27docs(*): fixed typos and ngdoc parameter namesCarl Danley
2013-07-24fix($location): prevent infinite digest error due to IE bugPavel Vasek
If an app uses HTML5 mode and we open an html5 url on IE8 or 9 which don't support location href, we use location.replace to reload the page with the hashbang equivalent of the url but this fails with infinite digest. This is because location.replace doesn't update location.href synchronously on IE8 and 9. Closes #2802, #3305, #1417
2013-06-19feat(jqLite): switch bind/unbind to more recent jQuery on/offMichał Gołębiowski
jQuery switched to a completely new event binding implementation as of 1.7.0, centering around on/off methods instead of previous bind/unbind. This patch makes jqLite match this implementation while still supporting previous bind/unbind methods.
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-03-29docs(*): fixed typosPascal Borreli
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-06-12docs($browser): hide $browser docs - it's a private serviceIgor Minar
2012-06-12docs(*): simplify doc urlsIgor Minar
we now have two types of namespaces: - true namespace: angular.* - used for all global apis - virtual namespace: ng.*, ngMock.*, ... - used for all DI modules the virual namespaces have services under the second namespace level (e.g. ng.) and filters and directives prefixed with filter: and directive: respectively (e.g. ng.filter:orderBy, ng.directive:ngRepeat) this simplifies urls and makes them a lot shorter while still avoiding name collisions
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-07bug(html5 navigation): broken in OperaMisko Hevery
http://my.opera.com/community/forums/topic.dml?id=1185462 Closes# 938
2012-05-04bug($cookie): set on app base path rather the current path.Misko Hevery
2012-04-10chore(*): remove dead code and fix code style issuesIgor Minar
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-04-09chore($browser): remove the addCss methodIgor Minar
this api was never supposed to be public. nobody should be relying on it. I'm removing it since angular doesn't need it. BREAKING CHANGE: $browser.addCss was removed apps the depend on this functionality should write a simple utility function specific to the app (see this diff for hints).
2012-03-28chore(module): move files around in preparation for more modulesMisko Hevery