Vojta Jina
|
caeb1bf899
|
feat($httpBackend): fix 0 status code when "file" protocol
Browsers return always 0 status code for "file" protocol, so we convert them into 200/404.
|
2011-11-30 11:17:24 -05:00 |
|
Vojta Jina
|
5ad0c7d0e4
|
feat($httpBackend): extract $browser.xhr into separate service
- remove whole $browser.xhr stuff
- remove whole mock $browser.xhr stuff
- add $httpBackend service + migrate unit tests from $browser
- add temporary API to access $browser's outstandingRequests count
|
2011-11-30 11:17:22 -05:00 |
|
Vojta Jina
|
cd28a2e952
|
feat(mocks.$httpBackend): add $httpBackend mock
$httpBackend mock allows:
- expecting (asserting) requests
- stubbing (responding without asserting)
Add empty $httpBackend service (currently just wrapper for $browser.xhr)
|
2011-11-30 11:12:14 -05:00 |
|