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(); |