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

Unified Diff: chrome/test/data/login/xhr_with_credentials.html

Issue 143903003: Disable HTTP authentication dialog for XHR with credentials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add browser tests Created 6 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: chrome/test/data/login/xhr_with_credentials.html
diff --git a/chrome/test/data/login/xhr_with_credentials.html b/chrome/test/data/login/xhr_with_credentials.html
new file mode 100644
index 0000000000000000000000000000000000000000..9e421841ba91c0ceb8fa72093f1b91e730d1eb94
--- /dev/null
+++ b/chrome/test/data/login/xhr_with_credentials.html
@@ -0,0 +1,6 @@
+<script>
+ var request = new XMLHttpRequest();
+ request.open("GET", "/auth-basic/xhr", false, "basicuser", location.hash.substring(1));
+ request.send("");
+ document.title = "status=" + request.status;
+</script>
« no previous file with comments | « chrome/browser/ui/login/login_prompt_browsertest.cc ('k') | chrome/test/data/login/xhr_without_credentials.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698