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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/xmlhttprequest-mimetype-mixed-case.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-test-resources/js-test-pre.js"></script> 4 <script src="/js-test-resources/js-test-pre.js"></script>
5 <script> 5 <script>
6 description('This tests that XMLHttpRequest properly handles mixed case MIME strings.'); 6 description('This tests that XMLHttpRequest properly handles mixed case MIME strings.');
7 window.jsTestIsAsync = true; 7 window.jsTestIsAsync = true;
8 8
9 var xhr = new XMLHttpRequest(), 9 var xhr = new XMLHttpRequest(),
10 url = 'resources/xmlhttprequest-mimetype-mixed-case.php'; 10 url = 'resources/xmlhttprequest-mimetype-mixed-case.php';
11 xhr.onload = function() { 11 xhr.onload = function() {
12 shouldBeNonNull('xhr.responseXML'); 12 shouldBeNonNull('xhr.responseXML');
13 finishJSTest(); 13 finishJSTest();
14 }; 14 };
15 xhr.onerror = function() { 15 xhr.onerror = function() {
16 testFailed('The XHR request to an existing resource failed: "' + url + '"'); 16 testFailed('The XHR request to an existing resource failed: "' + url + '"');
17 finishJSTest(); 17 finishJSTest();
18 }; 18 };
19 xhr.open('GET', url); 19 xhr.open('GET', url);
20 xhr.responseType = 'document'; 20 xhr.responseType = 'document';
21 xhr.send(null); 21 xhr.send(null);
22 </script> 22 </script>
23 <script src="/js-test-resources/js-test-post.js"></script>
24 </head> 23 </head>
25 <body> 24 <body>
26 <div id="description"></div> 25 <div id="description"></div>
27 <div id="console"></div> 26 <div id="console"></div>
28 </body> 27 </body>
29 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698