()
| 1154 | } |
| 1155 | |
| 1156 | toJSON() { |
| 1157 | // Updates to URLSearchParams are lazily propagated to URL, so we need to check we're in sync. |
| 1158 | this.#ensureSearchParamsUpdated(); |
| 1159 | return this.#context.href; |
| 1160 | } |
| 1161 | |
| 1162 | static canParse(url, base = undefined) { |
| 1163 | if (arguments.length === 0) { |
no test coverage detected