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

Unified Diff: LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials.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/loading/basic-auth-resend-wrong-credentials.html
diff --git a/LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials.html b/LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials.html
deleted file mode 100644
index 1ab9157ab4d1b80bfc2e8abc7061060986bff1cb..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/loading/basic-auth-resend-wrong-credentials.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<html>
-<head>
-<script>
-
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
- testRunner.setHandlesAuthenticationChallenges(true);
- testRunner.setAuthenticationUsername("wrongusername");
- testRunner.setAuthenticationPassword("wrongpassword");
- testRunner.waitUntilDone();
-}
-
-function firstFrameLoaded() {
- if (window.testRunner) {
- testRunner.setAuthenticationUsername("correctusername");
- testRunner.setAuthenticationPassword("correctpassword");
- }
- var frame = document.createElement("iframe");
- frame.setAttribute("src", "http://127.0.0.1:8000/loading/resources/test2/basic-auth-testing.php?username=correctusername&password=correctpassword");
- frame.setAttribute("onload", "secondFrameLoaded()");
- document.body.appendChild(frame);
-}
-
-function secondFrameLoaded() {
- if (window.testRunner)
- testRunner.notifyDone();
-}
-
-</script>
-</head>
-<body>
-This test makes sure that once WebCore preemptively sends out Basic credentials it thinks apply to a new resource, and that resource response with a 401 challenge, that it doesn't try to send the same wrong credentials a second time.<br>
-<iframe src="resources/test2/protected-resource.php" onload="firstFrameLoaded();"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698