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

Unified Diff: LayoutTests/http/tests/xmlhttprequest/re-login-async.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/re-login-async.html
diff --git a/LayoutTests/http/tests/xmlhttprequest/re-login-async.html b/LayoutTests/http/tests/xmlhttprequest/re-login-async.html
deleted file mode 100644
index 9dbc273e27c8c53b8426a6d091a22210476526f6..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/xmlhttprequest/re-login-async.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<body>
-<p>Test that default credentials aren't used when ones are provided to XHR explicitly.</p>
-<span>Login: </span><span id="login">FAIL - Test not run</span><br>
-<span>Default: </span><span id="default">FAIL - Test not run</span><br>
-<span>Re-login: </span><span id="relogin">FAIL - Test not run</span><br>
-<span>New default: </span><span id="newdefault">FAIL - Test not run</span>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-
-var xhr = new XMLHttpRequest;
-
-function f1()
-{
- // "?login1" is only here for ease of debugging; it doesn't affect behavior.
- xhr.open("GET", "resources/re-login/resource.php?login1", true, "user1", "pass");
- xhr.send("");
- xhr.onload = function() {
- document.getElementById("login").innerHTML = xhr.responseText == "User: user1, password: pass." ? "PASS" : "FAIL";
- f2();
- }
-}
-
-function f2()
-{
- // "?default" is only here for ease of debugging; it doesn't affect behavior.
- xhr.open("GET", "resources/re-login/resource.php?default", true);
- xhr.send("");
- xhr.onload = function() {
- document.getElementById("default").innerHTML = xhr.responseText == "User: user1, password: pass." ? "PASS" : "FAIL";
- f3();
- }
-}
-
-function f3()
-{
- // "?login2" is only here for ease of debugging; it doesn't affect behavior.
- xhr.open("GET", "resources/re-login/resource.php?login2", true, "user2", "pass");
- xhr.send("");
- xhr.onload = function() {
- document.getElementById("relogin").innerHTML = xhr.responseText == "User: user2, password: pass." ? "PASS" : "FAIL";
- f4();
- }
-}
-
-function f4()
-{
- // "?newdefault" is only here for ease of debugging; it doesn't affect behavior.
- xhr.open("GET", "resources/re-login/resource.php?newdefault", true);
- xhr.send("");
- xhr.onload = function() {
- document.getElementById("newdefault").innerHTML = xhr.responseText == "User: user2, password: pass." ? "PASS" : "FAIL";
- if (window.testRunner)
- testRunner.notifyDone();
- }
-}
-
-f1();
-
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698