()
| 1130 | |
| 1131 | // readonly |
| 1132 | get searchParams() { |
| 1133 | // Create URLSearchParams on demand to greatly improve the URL performance. |
| 1134 | if (this.#searchParams == null) { |
| 1135 | this.#searchParams = new URLSearchParams(this.#getSearchFromContext()); |
| 1136 | setURLSearchParamsContext(this.#searchParams, this); |
| 1137 | this.#searchParamsModified = false; |
| 1138 | } |
| 1139 | return this.#searchParams; |
| 1140 | } |
| 1141 | |
| 1142 | get hash() { |
| 1143 | if (!this.#context.hasHash || (this.#context.href.length - this.#context.hash_start <= 1)) { |
nothing calls this directly
no test coverage detected