()
| 12791 | } |
| 12792 | // Returns response’s URL, if it has one; otherwise the empty string. |
| 12793 | get url() { |
| 12794 | var _a; |
| 12795 | webidl.brandCheck(this, _Response); |
| 12796 | const urlList = this[kState].urlList; |
| 12797 | const url = (_a = urlList[urlList.length - 1]) != null ? _a : null; |
| 12798 | if (url === null) { |
| 12799 | return ""; |
| 12800 | } |
| 12801 | return URLSerializer(url, true); |
| 12802 | } |
| 12803 | // Returns whether response was obtained through a redirect. |
| 12804 | get redirected() { |
| 12805 | webidl.brandCheck(this, _Response); |
| 12806 | return this[kState].urlList.length > 1; |
| 12807 | } |
| 12808 | // Returns response’s status. |
| 12809 | get status() { |
| 12810 | webidl.brandCheck(this, _Response); |
nothing calls this directly
no test coverage detected