(callback, status, response, headersString, statusText)
| 9906 | } |
| 9907 | |
| 9908 | function completeRequest(callback, status, response, headersString, statusText) { |
| 9909 | // cancel timeout and subsequent timeout promise resolution |
| 9910 | if (timeoutId !== undefined) { |
| 9911 | $browserDefer.cancel(timeoutId); |
| 9912 | } |
| 9913 | jsonpDone = xhr = null; |
| 9914 | |
| 9915 | callback(status, response, headersString, statusText); |
| 9916 | $browser.$$completeOutstandingRequest(noop); |
| 9917 | } |
| 9918 | }; |
| 9919 | |
| 9920 | function jsonpReq(url, callbackId, done) { |
no test coverage detected