angular.js/test/ng
Will Moore 0fa8e47fb5 fix($httpBackend): patch for Firefox bug w/ CORS and response headers
A workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=608735
In FF getAllResponseHeaders() returns null if the request is the result of CORS.

Tried to format the code so that when a FF patch is released and gains enough
traction it can easily be selected and deleted. Heavily inspired by jQuery's
patch for the same bug. This patch falls short of passing through custom headers
but covers all of the "simple response headers" in the spec at
http://www.w3.org/TR/cors/

This commit should get reverted once Firefox 21 gets out.

Closes #1468

Conflicts:
	src/ng/httpBackend.js
2013-02-14 16:52:02 -08:00
..
directive fix(a): workaround IE bug affecting mailto urls 2013-02-14 16:43:28 -08:00
filter fix(numberFilter): fix formatting when "0" passed as fractionSize 2013-02-14 13:46:07 -08:00
anchorScrollSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
browserSpecs.js fix($cookies): set cookies on Safari&IE when base[href] is undefined 2013-02-07 02:36:52 -08:00
cacheFactorySpec.js fix($cacheFactory): return undefined when removing non-existent entry 2012-11-24 21:58:17 +01:00
compileSpec.js fix($compile): rename $compileNote to compileNode 2013-02-07 02:49:18 -08:00
controllerSpec.js chore(controller): allow setting map of controllers 2012-05-04 15:50:37 -07:00
documentSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
exceptionHandlerSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
httpBackendSpec.js fix($httpBackend): patch for Firefox bug w/ CORS and response headers 2013-02-14 16:52:02 -08:00
httpSpec.js fix($http): add utf-8 to default Content-Type header (post/put) 2012-06-08 16:07:15 -07:00
interpolateSpec.js fix($parser): string concatination with undefined model 2012-09-06 15:49:48 -07:00
localeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
locationSpec.js fix($location): reset $location.$$replace with every watch call 2012-11-26 23:24:39 +01:00
logSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
parseSpec.js fix($parse): support methods on falsy primitive types 2012-05-05 03:30:19 +02:00
qSpec.js fix($q): $q.reject should forward callbacks if missing 2012-04-02 10:14:04 -07:00
rootElementSpec.js feat($rootElement): added application root element 2012-06-02 14:50:58 -07:00
rootScopeSpec.js fix($rootScope): minor typo fixes 2013-02-14 14:43:32 -08:00
routeParamsSpec.js fix($route): support route params not separated with slashes. 2013-01-16 09:42:35 -08:00
routeSpec.js fix($route): support route params not separated with slashes. 2013-01-16 09:42:35 -08:00
snifferSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
timeoutSpec.js fix($timeout): allow calling $timeout.cancel() with undefined 2012-06-04 17:43:14 -07:00
windowSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00