* @param {string|!Location} url * @return {!Location} * @private
(url)
| 56 | * @private |
| 57 | */ |
| 58 | parse_(url) { |
| 59 | if (typeof url !== 'string') { |
| 60 | return url; |
| 61 | } |
| 62 | return this.parse(url); |
| 63 | } |
| 64 | |
| 65 | /** |
| 66 | * Returns whether the URL has valid protocol. |
no test coverage detected