| Index: LayoutTests/http/tests/fetch/script-tests/fetch-body-mixin.js
|
| diff --git a/LayoutTests/http/tests/fetch/script-tests/fetch-body-mixin.js b/LayoutTests/http/tests/fetch/script-tests/fetch-body-mixin.js
|
| index 5e67a367ad1c120fcc27d8bf3645b82e2855e807..56163105be2d1be59997f0713c1a1ded34ceac15 100644
|
| --- a/LayoutTests/http/tests/fetch/script-tests/fetch-body-mixin.js
|
| +++ b/LayoutTests/http/tests/fetch/script-tests/fetch-body-mixin.js
|
| @@ -17,7 +17,7 @@ function readStream(stream, values) {
|
| values.push(stream.read());
|
| }
|
| if (stream.state === 'waiting') {
|
| - return stream.wait().then(function() {
|
| + return stream.ready.then(function() {
|
| readStream(stream, values);
|
| });
|
| }
|
| @@ -29,7 +29,7 @@ promise_test(function(test) {
|
| return fetch('/fetch/resources/doctype.html')
|
| .then(function(resp) {
|
| response = resp;
|
| - return response.body.wait();
|
| + return response.body.ready;
|
| })
|
| .then(function() {
|
| if (response.body.state !== 'readable') {
|
|
|