| Index: LayoutTests/http/tests/xmlhttprequest/method-names-expected.txt
|
| diff --git a/LayoutTests/http/tests/xmlhttprequest/method-names-expected.txt b/LayoutTests/http/tests/xmlhttprequest/method-names-expected.txt
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..295f40c04c0244187f1320a3dc8160bc7e2d46c6
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/xmlhttprequest/method-names-expected.txt
|
| @@ -0,0 +1,36 @@
|
| +Test that open() converts only special request methods to uppercase, per http://xhr.spec.whatwg.org/#dom-xmlhttprequest-open
|
| +
|
| +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| +
|
| +
|
| +Known methods to be converted to upper-case
|
| +PASS req.getResponseHeader('x-request-method') is "DELETE"
|
| +PASS req.responseText is "DELETE"
|
| +PASS req.getResponseHeader('x-request-method') is "GET"
|
| +PASS req.responseText is "GET"
|
| +PASS req.getResponseHeader('x-request-method') is "HEAD"
|
| +PASS req.getResponseHeader('x-request-method') is "OPTIONS"
|
| +PASS req.responseText is "OPTIONS"
|
| +PASS req.getResponseHeader('x-request-method') is "POST"
|
| +PASS req.responseText is "POST"
|
| +PASS req.getResponseHeader('x-request-method') is "PUT"
|
| +PASS req.responseText is "PUT"
|
| +Other methods should be sent as-is
|
| +PASS req.getResponseHeader('x-request-method') is "pAtCH"
|
| +PASS req.responseText is "pAtCH"
|
| +PASS req.getResponseHeader('x-request-method') is "XuniCORn"
|
| +PASS req.responseText is "XuniCORn"
|
| +PASS req.getResponseHeader('x-request-method') is "LOck"
|
| +PASS req.responseText is "LOck"
|
| +PASS req.getResponseHeader('x-request-method') is "LOck"
|
| +PASS req.responseText is "LOck"
|
| +PASS req.getResponseHeader('x-request-method') is "unLOCK"
|
| +PASS req.responseText is "unLOCK"
|
| +PASS req.getResponseHeader('x-request-method') is "m-post"
|
| +PASS req.responseText is "m-post"
|
| +PASS req.getResponseHeader('x-request-method') is "iNdex"
|
| +PASS req.responseText is "iNdex"
|
| +PASS successfullyParsed is true
|
| +
|
| +TEST COMPLETE
|
| +
|
|
|