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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/access-control-preflight-request-invalid-status-501-expected.txt

Issue 21532002: CORS: Handle error HTTP status code 4XX/5XX in preflight requests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 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/access-control-preflight-request-invalid-status-501-expected.txt
diff --git a/LayoutTests/http/tests/xmlhttprequest/access-control-preflight-request-invalid-status-501-expected.txt b/LayoutTests/http/tests/xmlhttprequest/access-control-preflight-request-invalid-status-501-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..0955c736b026ac5c6c4f7f1ed3f97cb4d234456d
--- /dev/null
+++ b/LayoutTests/http/tests/xmlhttprequest/access-control-preflight-request-invalid-status-501-expected.txt
@@ -0,0 +1,5 @@
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/xmlhttprequest/resources/access-control-preflight-request-invalid-status.php?code=501. Invalid HTTP status code 501
+Test that preflight requests with invalid status code results in error. Should print PASS.
+
+PASS
+

Powered by Google App Engine
This is Rietveld 408576698