()
| 887 | } |
| 888 | |
| 889 | #getSearchFromContext() { |
| 890 | if (!this.#context.hasSearch) return ''; |
| 891 | let endsAt = this.#context.href.length; |
| 892 | if (this.#context.hasHash) endsAt = this.#context.hash_start; |
| 893 | if (endsAt - this.#context.search_start <= 1) return ''; |
| 894 | return StringPrototypeSlice(this.#context.href, this.#context.search_start, endsAt); |
| 895 | } |
| 896 | |
| 897 | #getSearchFromParams() { |
| 898 | if (!this.#searchParams?.size) return ''; |
no outgoing calls
no test coverage detected