angular.js/test
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
..
jstd-scenario-adapter chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
scenario refactor(injector): $injector is no longer a function. 2011-11-14 20:31:19 -08:00
service fix($http): fix and cleanup $http and friends 2012-01-09 13:17:48 -08:00
widget fix(input): bind inputs to the 'input' event 2011-12-07 13:07:20 -08:00
angular-mocksSpec.js fix($http): fix and cleanup $http and friends 2012-01-09 13:17:48 -08:00
AngularSpec.js fix(angular.copy): throw Error if source and destination are identical 2012-01-06 12:19:39 -08:00
ApiSpecs.js fix(ng:repeat): support repeating over array with null 2012-01-06 12:19:39 -08:00
BinderSpec.js style: prefer single quotes + some whitespaces 2012-01-03 15:09:00 -08:00
directivesSpec.js feat($http): new $http service, removing $xhr.* 2011-11-30 11:12:14 -05:00
InjectorSpec.js feat(injector): add $provide.decorator 2011-12-07 09:41:08 -08:00
jqLiteSpec.js refactor(injector): turn scope into a service 2011-11-14 16:39:31 -08:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
JsonSpec.js style: prefer single quotes + some whitespaces 2012-01-03 15:09:00 -08:00
markupSpec.js refactor: remove old JSTD assertions 2012-01-03 15:09:00 -08:00
matchers.js feat(deferreds/promises): Q-like deferred/promise implementation with a ton of specs 2011-11-30 14:49:03 -05:00
ResourceSpec.js fix($resource): forwardport exposing headers from 0.9.19 2011-12-01 16:20:08 -05:00
sanitizerSpec.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
ScenarioSpec.js refactor(compiler) turn compiler into a service 2011-11-14 16:39:32 -08:00
testabilityPatch.js refactor: remove old JSTD assertions 2012-01-03 15:09:00 -08:00
widgetsSpec.js fix($http): fix and cleanup $http and friends 2012-01-09 13:17:48 -08:00