(absoluteUrl, locationObj, appBase)
| 9274 | } |
| 9275 | |
| 9276 | function parseAbsoluteUrl(absoluteUrl, locationObj, appBase) { |
| 9277 | var parsedUrl = urlResolve(absoluteUrl, appBase); |
| 9278 | |
| 9279 | locationObj.$$protocol = parsedUrl.protocol; |
| 9280 | locationObj.$$host = parsedUrl.hostname; |
| 9281 | locationObj.$$port = int(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null; |
| 9282 | } |
| 9283 | |
| 9284 | |
| 9285 | function parseAppUrl(relativeUrl, locationObj, appBase) { |
no test coverage detected