(absoluteUrl, locationObj, appBase)
| 9245 | } |
| 9246 | |
| 9247 | function parseAbsoluteUrl(absoluteUrl, locationObj, appBase) { |
| 9248 | var parsedUrl = urlResolve(absoluteUrl, appBase); |
| 9249 | |
| 9250 | locationObj.$$protocol = parsedUrl.protocol; |
| 9251 | locationObj.$$host = parsedUrl.hostname; |
| 9252 | locationObj.$$port = int(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null; |
| 9253 | } |
| 9254 | |
| 9255 | |
| 9256 | function parseAppUrl(relativeUrl, locationObj, appBase) { |
no test coverage detected