()
| 12084 | } |
| 12085 | // Returns response?s URL, if it has one; otherwise the empty string. |
| 12086 | get url() { |
| 12087 | webidl.brandCheck(this, _Response); |
| 12088 | const urlList = this.#state.urlList; |
| 12089 | const url = urlList[urlList.length - 1] ?? null; |
| 12090 | if (url === null) { |
| 12091 | return ""; |
| 12092 | } |
| 12093 | return URLSerializer(url, true); |
| 12094 | } |
| 12095 | // Returns whether response was obtained through a redirect. |
| 12096 | get redirected() { |
| 12097 | webidl.brandCheck(this, _Response); |
nothing calls this directly
no test coverage detected