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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/basic-auth-default.html

Issue 14195011: Removed WONTFIX tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/basic-auth-default.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/basic-auth-default.html b/LayoutTests/http/tests/xmlhttprequest/basic-auth-default.html
deleted file mode 100644
index 624b70c5a0708ca8054f7613afc9be4dae59d560..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/xmlhttprequest/basic-auth-default.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<body>
-<p>Test that Basic credentials are sent preemptively, without waiting for 401 response code. This is not a MUST level requirement in RFC 2616, but it's good to implement.</p>
-<p>No authentication dialogs should appear, and the below line should say "PASS".</p>
-<div id=result>Test didn't run.</div>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-function step1()
-{
- // Remember credentials for a protection space.
- var req = new XMLHttpRequest;
- req.open("GET", "resources/basic-auth-default/dir1/basic-auth.php", true, "test", "test");
- req.onload = step2;
- document.getElementById("result").innerHTML = "Testing, step 1...";
- req.send();
-}
-
-function step2()
-{
- // Same protection space, another directory. The first request will go out without credentials
- // (untested), and then we'll remember that this directory in the same protection space.
- var req = new XMLHttpRequest;
- req.open("GET", "resources/basic-auth-default/dir2/basic-auth.php", true);
- req.onload = step3;
- document.getElementById("result").innerHTML = "Testing, step 2...";
- req.send();
-}
-
-function step3()
-{
- // Same directory, so the very first request should carry basic credentials. If there are none,
- // the script will return code 500.
- var req = new XMLHttpRequest;
- req.open("GET", "resources/basic-auth-default/dir2/catch.php", true);
- req.onload = function() {
- document.getElementById("result").innerHTML = req.status == 200 ? "PASS" : "FAIL";
- if (window.testRunner)
- testRunner.notifyDone();
- }
- document.getElementById("result").innerHTML = "Testing, step 3...";
- req.send();
-}
-
-step1();
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698