()
| 1099 | } |
| 1100 | |
| 1101 | get pathname() { |
| 1102 | let endsAt; |
| 1103 | if (this.#context.hasSearch) { |
| 1104 | endsAt = this.#context.search_start; |
| 1105 | } else if (this.#context.hasHash) { |
| 1106 | endsAt = this.#context.hash_start; |
| 1107 | } |
| 1108 | return StringPrototypeSlice(this.#context.href, this.#context.pathname_start, endsAt); |
| 1109 | } |
| 1110 | |
| 1111 | set pathname(value) { |
| 1112 | const href = bindingUrl.update(this.#context.href, updateActions.kPathname, `${value}`); |
nothing calls this directly
no test coverage detected