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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/post-content-type.html

Issue 57483002: Implement File constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed most feedback. 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
OLDNEW
1 <html> 1 <!DOCTYPE html>
2 <body> 2
3 <p>Test for <a href="http://crbug.com/172802">bug 172802</a> 3 <p>Test for <a href="http://crbug.com/172802">bug 172802</a>
4 - Wrong default Content-Type set in XMLHttpRequest.send(DOMString)</p> 4 - Wrong default Content-Type set in XMLHttpRequest.send(DOMString)</p>
5 <p>Should be text/plain;charset=UTF-8:</p> 5 <p>Should be text/plain;charset=UTF-8:</p>
6 <script> 6 <script>
7 if (window.testRunner) 7 if (window.testRunner)
8 testRunner.dumpAsText(); 8 testRunner.dumpAsText();
9 9
10 objXmlHttp = new XMLHttpRequest; 10 objXmlHttp = new XMLHttpRequest;
11 objXmlHttp.open("POST", "print-content-type.cgi", false); 11 objXmlHttp.open("POST", "print-content-type.cgi", false);
12 objXmlHttp.send(""); 12 objXmlHttp.send("");
13 document.write("<pre>" + objXmlHttp.responseText + "</pre>"); 13 document.write("<pre>" + objXmlHttp.responseText + "</pre>");
14 </script> 14 </script>
15 </body>
16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698