(absoluteUrl, locationObj, appBase)
| 9166 | } |
| 9167 | |
| 9168 | function parseAbsoluteUrl(absoluteUrl, locationObj, appBase) { |
| 9169 | var parsedUrl = urlResolve(absoluteUrl, appBase); |
| 9170 | |
| 9171 | locationObj.$$protocol = parsedUrl.protocol; |
| 9172 | locationObj.$$host = parsedUrl.hostname; |
| 9173 | locationObj.$$port = int(parsedUrl.port) || DEFAULT_PORTS[parsedUrl.protocol] || null; |
| 9174 | } |
| 9175 | |
| 9176 | |
| 9177 | function parseAppUrl(relativeUrl, locationObj, appBase) { |
no test coverage detected