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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange-and-abort.html

Issue 2517173002: XMLHttpRequest.abort(): follow spec wrt readyState transitions. (Closed)
Patch Set: fix pass test predicate Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange-and-abort.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange-and-abort.html b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange-and-abort.html
index cab8bb864a81257013bc0c715b822b9707e9875b..b791e7980df2f43a7b60548b28bd237e7cdd056d 100644
--- a/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange-and-abort.html
+++ b/third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/readystatechange-and-abort.html
@@ -46,7 +46,7 @@ test(function()
});
xhr.open("GET", "resources/test.ogv", true);
xhr.abort();
- assert_equals(xhr.readyState, xhr.UNSENT, "xhr.readyState after abort() call");
+ assert_equals(xhr.readyState, xhr.OPENED, "xhr.readyState after abort() call");
assert_array_equals(seenStates, [xhr.OPENED]);
}, "Test onreadystatechange + onabort invocation when abort()-ed in OPENED state.");
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-abort-readyState-shouldNotDispatchEvent.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698