* Parses the URL in the context of the current document. * * @param {string} url * @param {boolean=} opt_nocache * Cache is always ignored on ESM builds, see https://go.amp.dev/pr/31594 * @return {!Location}
(url, opt_nocache)
| 43 | * @return {!Location} |
| 44 | */ |
| 45 | parse(url, opt_nocache) { |
| 46 | return parseUrlWithA( |
| 47 | this.anchor_, |
| 48 | url, |
| 49 | mode.isEsm() || opt_nocache ? null : this.cache_ |
| 50 | ); |
| 51 | } |
| 52 | |
| 53 | /** |
| 54 | * @param {string|!Location} url |
no test coverage detected