angular.js/test/service
Igor Minar a13b5ed3bc fix($http): fix and cleanup $http and friends
$http:
- use promises internally
- get rid of XhrFuture that was previously used internally
- get rid of $browser.defer calls for async stuff (serving from cache),
  promises will take care of asynchronicity
- fix transformation bugs (when caching requested + multiple request
  pending + error is returned)
- get rid of native header parsing and instead just lazily parse the
  header string

$httpBackend:
- don't return raw/mock XMLHttpRequest object (we don't use it for
  anything anymore)
- call the callback with response headers string

mock $httpBackend:
- unify response api for expect and when
- call the callback with response headers string
- changed the expect/when failure error message so that EXPECTED and GOT
  values are aligned

Conflicts:

	src/service/http.js
	test/service/compilerSpec.js
	test/service/httpSpec.js
2012-01-09 13:17:48 -08:00
..
filter refactor: remove old JSTD assertions 2012-01-03 15:09:00 -08:00
autoScrollSpec.js feat(service.$autoScroll): scroll to hash fragment 2011-11-21 17:49:49 -08:00
browserSpecs.js feat($httpBackend): extract $browser.xhr into separate service 2011-11-30 11:17:22 -05:00
cacheFactorySpec.js feat($cacheFactory): add general purpose $cacheFactory service 2011-11-30 11:03:42 -05:00
compilerSpec.js refactor(injector): switch to injector 2.0 introduce modules 2011-11-14 16:39:32 -08:00
cookiesSpec.js style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
cookieStoreSpec.js refactor(injector): turn scope into a service 2011-11-14 16:39:31 -08:00
deferSpec.js feat(browser.defer): flush should throw exception when queue is empty 2012-01-09 13:17:48 -08:00
documentSpec.js refactor(injector): turn scope into a service 2011-11-14 16:39:31 -08:00
exceptionHandlerSpec.js refactor(services): migrate angular.service -> module 2011-11-14 16:39:33 -08:00
formFactorySpec.js refactor(injector): turn scope into a service 2011-11-14 16:39:31 -08:00
httpBackendSpec.js fix($http): fix and cleanup $http and friends 2012-01-09 13:17:48 -08:00
httpSpec.js fix($http): fix and cleanup $http and friends 2012-01-09 13:17:48 -08:00
interpolateSpec.js feat($interpolate): string interpolation function 2011-11-30 14:49:36 -05:00
localeSpec.js refactor(services): migrate angular.service -> module 2011-11-14 16:39:33 -08:00
locationSpec.js fix($location): links without path segment should not change the path 2011-11-14 20:31:17 -08:00
logSpec.js style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
parseSpec.js fix(filter): remove the $ prefix from filter service ids 2011-12-07 13:07:19 -08:00
qSpec.js style(q): rename src/Deferred.js to src/service/q.js 2012-01-03 17:48:09 -08:00
resourceSpec.js feat(strict mode): adding strict mode flag to all js files 2011-07-18 12:12:55 -07:00
routeParamsSpec.js refactor(injector): turn scope into a service 2011-11-14 16:39:31 -08:00
routeSpec.js fix(route): $destroy scope after update and reload 2011-12-06 13:35:05 -08:00
scopeSpec.js feat(scope): throw exception when recursive $apply 2012-01-06 12:19:39 -08:00
snifferSpec.js refactor(services): migrate angular.service -> module 2011-11-14 16:39:33 -08:00
windowSpec.js refactor(injector): turn scope into a service 2011-11-14 16:39:31 -08:00