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

Side by Side Diff: LayoutTests/http/tests/appcache/auth.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <body>
2 <p>Test that appcache works with authentication. Should say SUCCESS:</p>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
7 }
8
9 // Store authentication credentials.
10 var req = new XMLHttpRequest;
11 req.open("GET", "resources/auth/setup.php", false, "login", "pasword");
12 req.send();
13
14 var ifr = document.createElement("iframe");
15 ifr.setAttribute("src", "resources/auth/iframe.php");
16 document.body.appendChild(ifr);
17
18 function success()
19 {
20 var text = document.createElement("p");
21 text.appendChild(document.createTextNode("SUCCESS"));
22 document.body.replaceChild(text, document.getElementsByTagName("iframe")[0]) ;
23
24 if (window.testRunner)
25 testRunner.notifyDone();
26 }
27 </script>
28 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698