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

Side by Side Diff: LayoutTests/fast/xmlhttprequest/xmlhttprequest-withcredentials-before-open.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 <script> 5 <script>
6 description('This tests that the XMLHttpRequest withCredentials attribut e is modifiable prior to being in the OPENED state.'); 6 description('This tests that the XMLHttpRequest withCredentials attribut e is modifiable prior to being in the OPENED state.');
7 var xhr; 7 var xhr;
8 8
9 xhr = new XMLHttpRequest(); 9 xhr = new XMLHttpRequest();
10 evalAndLog("xhr.withCredentials = true;"); 10 evalAndLog("xhr.withCredentials = true;");
11 evalAndLog("xhr.open('GET', 'http://mydomain');"); 11 evalAndLog("xhr.open('GET', 'http://mydomain');");
12 shouldBeTrue('xhr.withCredentials'); 12 shouldBeTrue('xhr.withCredentials');
13 </script> 13 </script>
14 <script src="../js/resources/js-test-post.js"></script>
15 </head> 14 </head>
16 <body> 15 <body>
17 <div id="description"></div> 16 <div id="description"></div>
18 <div id="console"></div> 17 <div id="console"></div>
19 </body> 18 </body>
20 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698