()
| 316 | }, |
| 317 | |
| 318 | arrayBuffer () { |
| 319 | // The arrayBuffer() method steps are to return the result |
| 320 | // of running consume body with this and the following step |
| 321 | // given a byte sequence bytes: return a new ArrayBuffer |
| 322 | // whose contents are bytes. |
| 323 | return consumeBody(this, (bytes) => { |
| 324 | return new Uint8Array(bytes).buffer |
| 325 | }, instance, getInternalState) |
| 326 | }, |
| 327 | |
| 328 | text () { |
| 329 | // The text() method steps are to return the result of running |
nothing calls this directly
no test coverage detected