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

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/method-names-expected.txt

Issue 262173002: Reduce method names converted to upper case via uppercaseKnownHTTPMethod() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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
OLDNEW
(Empty)
1 Test that open() converts only special request methods to uppercase, per http:// xhr.spec.whatwg.org/#dom-xmlhttprequest-open
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Known methods to be converted to upper-case
7 PASS req.getResponseHeader('x-request-method') is "DELETE"
8 PASS req.responseText is "DELETE"
9 PASS req.getResponseHeader('x-request-method') is "GET"
10 PASS req.responseText is "GET"
11 PASS req.getResponseHeader('x-request-method') is "HEAD"
12 PASS req.getResponseHeader('x-request-method') is "OPTIONS"
13 PASS req.responseText is "OPTIONS"
14 PASS req.getResponseHeader('x-request-method') is "POST"
15 PASS req.responseText is "POST"
16 PASS req.getResponseHeader('x-request-method') is "PUT"
17 PASS req.responseText is "PUT"
18 Other methods should be sent as-is
19 PASS req.getResponseHeader('x-request-method') is "pAtCH"
20 PASS req.responseText is "pAtCH"
21 PASS req.getResponseHeader('x-request-method') is "XuniCORn"
22 PASS req.responseText is "XuniCORn"
23 PASS req.getResponseHeader('x-request-method') is "LOck"
24 PASS req.responseText is "LOck"
25 PASS req.getResponseHeader('x-request-method') is "LOck"
26 PASS req.responseText is "LOck"
27 PASS req.getResponseHeader('x-request-method') is "unLOCK"
28 PASS req.responseText is "unLOCK"
29 PASS req.getResponseHeader('x-request-method') is "m-post"
30 PASS req.responseText is "m-post"
31 PASS req.getResponseHeader('x-request-method') is "iNdex"
32 PASS req.responseText is "iNdex"
33 PASS successfullyParsed is true
34
35 TEST COMPLETE
36
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/xmlhttprequest/method-names.html ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698