aboutsummaryrefslogtreecommitdiffstats
path: root/src/service/browser.js
AgeCommit message (Collapse)Author
2011-11-30feat($browser.xhr): add timeout option to abort requestVojta Jina
Timeouted request responds internal status code -1, which should be normalized into 0 by $xhr.
2011-11-30fix($browser.xhr): fix IE6, IE7 bug - sync xhr when serving from cacheVojta Jina
IE6, IE7 is sync when serving content from cache. We want consistent api, so we have to use setTimeout to make it async.
2011-11-30fix($browser.xhr): respond with internal -2 status on jsonp errorVojta Jina
If jsonp is not successfull, we return internal status -2. This internal status should by normalized by $xhr into 0, but $xhr needs to distinguish between jsonp-error/abort/timeout (all status 0).
2011-11-30fix($browser.xhr): change method "JSON" to "JSONP"Vojta Jina
Breaks "JSON" xhr method is now called "JSONP"
2011-11-30feat($browser): xhr returns raw request objectVojta Jina
2011-11-18chore(browser): rename Browser.js -> browser.js, BrowserSpec.js -> ↵TEHEK Firefox
browserSpec.js And move them to proper service subfolder...