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

Side by Side Diff: LayoutTests/inspector/curl-command.html

Issue 26237002: Removing сolon from cURL command header. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/inspector/curl-command-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../http/tests/inspector/inspector-test.js"></script> 3 <script src="../http/tests/inspector/inspector-test.js"></script>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 5
6 var test = function() 6 var test = function()
7 { 7 {
8 var logView = WebInspector.panel("network")._networkLogView; 8 var logView = WebInspector.panel("network")._networkLogView;
9 9
10 function newRequest(headers, data, opt_url) 10 function newRequest(headers, data, opt_url)
(...skipping 20 matching lines...) Expand all
31 31
32 dumpRequest({}) 32 dumpRequest({})
33 dumpRequest({}, "123"); 33 dumpRequest({}, "123");
34 dumpRequest({"Content-Type": "application/x-www-form-urlencoded"}, "1&b"); 34 dumpRequest({"Content-Type": "application/x-www-form-urlencoded"}, "1&b");
35 dumpRequest({"Content-Type": "application/json"}, "{\"a\":1}"); 35 dumpRequest({"Content-Type": "application/json"}, "{\"a\":1}");
36 dumpRequest({"Content-Type": "application/binary"}, "1234\r\n\x30\x30\2\3\4\ 5\'\"!"); // expected content length: 15 36 dumpRequest({"Content-Type": "application/binary"}, "1234\r\n\x30\x30\2\3\4\ 5\'\"!"); // expected content length: 15
37 dumpRequest({"Content-Type": "application/binary"}, "1234\r\n\1\x30\x30\2\3\ 4\5\'\"!"); // expected content length: 16 37 dumpRequest({"Content-Type": "application/binary"}, "1234\r\n\1\x30\x30\2\3\ 4\5\'\"!"); // expected content length: 16
38 dumpRequest({"Content-Type": "application/binary"}, "\x7F\x80\x90\xFF\u0009\ u0700"); 38 dumpRequest({"Content-Type": "application/binary"}, "\x7F\x80\x90\xFF\u0009\ u0700");
39 dumpRequest({}, "", "http://labs.ft.com/?querystring=[]{}"); // Character r ange symbols must be escaped (http://crbug.com/265449). 39 dumpRequest({}, "", "http://labs.ft.com/?querystring=[]{}"); // Character r ange symbols must be escaped (http://crbug.com/265449).
40 dumpRequest({"Content-Type": "application/binary"}, "%PATH%$PATH"); 40 dumpRequest({"Content-Type": "application/binary"}, "%PATH%$PATH");
41 dumpRequest({":host": "h", "version": "v"});
41 42
42 InspectorTest.completeTest(); 43 InspectorTest.completeTest();
43 } 44 }
44 45
45 </script> 46 </script>
46 </head> 47 </head>
47 <body onload="runTest()"> 48 <body onload="runTest()">
48 <p>Tests curl command generation</p> 49 <p>Tests curl command generation</p>
49 </body> 50 </body>
50 </html> 51 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/curl-command-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698