(response)
| 12848 | } |
| 12849 | get body() { |
| 12850 | webidl.brandCheck(this, _Response); |
| 12851 | return this[kState].body ? this[kState].body.stream : null; |
| 12852 | } |
| 12853 | get bodyUsed() { |
| 12854 | webidl.brandCheck(this, _Response); |
| 12855 | return !!this[kState].body && util.isDisturbed(this[kState].body.stream); |
| 12856 | } |
| 12857 | // Returns a clone of response. |
| 12858 | clone() { |
| 12859 | var _a; |
| 12860 | webidl.brandCheck(this, _Response); |
| 12861 | if (bodyUnusable(this)) { |
| 12862 | throw webidl.errors.exception({ |
| 12863 | header: "Response.clone", |
| 12864 | message: "Body has already been consumed." |
| 12865 | }); |
no test coverage detected