Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(609)

Unified Diff: LayoutTests/http/tests/xmlhttprequest/resources/response-stream-abort.js

Issue 795463006: Rename ReadableStream.wait() to ReadableStream.ready. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/xmlhttprequest/resources/response-stream-abort.js
diff --git a/LayoutTests/http/tests/xmlhttprequest/resources/response-stream-abort.js b/LayoutTests/http/tests/xmlhttprequest/resources/response-stream-abort.js
index 2139278dfd6470944020b02d540bf2e11efabed6..ccc2dad2db2011e4ae78ca258f0e2337e82597cc 100644
--- a/LayoutTests/http/tests/xmlhttprequest/resources/response-stream-abort.js
+++ b/LayoutTests/http/tests/xmlhttprequest/resources/response-stream-abort.js
@@ -59,7 +59,7 @@ testInLoadingState.step(function()
var testInDoneState = async_test('Test aborting XMLHttpRequest with responseType set to "stream" in DONE state.');
function readUntilDone(stream) {
- return stream.wait().then(function() {
+ return stream.ready.then(function() {
while (stream.state == 'readable') {
stream.read();
}
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/resources/response-stream.js ('k') | Source/core/streams/ReadableStream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698