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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/response-stream-cancel.html

Issue 1004623007: Streams Implementation Update: async read (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@stream-reader-read
Patch Set: Created 5 years, 9 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/response-stream-cancel.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/response-stream-cancel.html b/LayoutTests/http/tests/xmlhttprequest/response-stream-cancel.html
index 61539b3aedbe68b8239c5fe993f7fe01718633f5..9b52ea62be74c568b362b20e9c4e9667a64ed7fe 100644
--- a/LayoutTests/http/tests/xmlhttprequest/response-stream-cancel.html
+++ b/LayoutTests/http/tests/xmlhttprequest/response-stream-cancel.html
@@ -42,7 +42,7 @@ test.step(function()
assert_equals(xhr.readyState, xhr.UNSENT, 'xhr.readyState after cancel');
assert_equals(xhr.response, null, 'xhr.response after cancel');
- stream.closed.then(function(value) {
+ stream.getReader().closed.then(function(value) {
assert_equals(value, undefined,
'stream.closed should be resolved with undefined');
test.done();

Powered by Google App Engine
This is Rietveld 408576698