| Index: third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js
|
| index 62a245a5260505718fce0ea4a1d08db1fdb45631..66bccf2d4f520d9c57ca4ac6591741deeb8012ed 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js
|
| @@ -318,9 +318,10 @@ test(() => {
|
|
|
| test(() => {
|
| var res = new Response('hello');
|
| - res.body.getReader();
|
| + const reader = res.body.getReader();
|
| assert_false(res.bodyUsed);
|
| assert_throws({name: 'TypeError'}, () => res.clone());
|
| + reader.releaseLock();
|
| }, 'Locked => clone');
|
|
|
| // Tests for MIME types.
|
|
|