DescriptionAllow POST method when converting file protocol to http protocol for layout tests.
When running layout tests on Android, we host test files on a Linux/Mac machine, convert file requests to http requests, and forward http requests from Android to the same port on the host machine.
The following tests use POST method and failed at DCHECK(params->method == "GET" || params->method.empty()):
fast/events/popup-allowed-from-gesture-initiated-form-submit.html
fast/forms/document-write.html
fast/forms/form-and-frame-interaction-retains-values.html
fast/forms/form-data-encoding-normalization-overrun.html
fast/forms/form-post-urlencoded.html
fast/forms/formmethod-attribute-button-html.html
fast/forms/formmethod-attribute-input-html.html
fast/forms/submit-to-url-fragment.html
fast/forms/xss-auditor-doesnt-crash-on-post-submit.html
fast/history/form-submit-in-frame-via-onclick.html
fast/history/form-submit-in-frame.html
fast/loader/form-submission-after-beforeunload-cancel.html
fast/loader/form-submit-aborts-parsing.html
fast/loader/submit-form-while-parsing-1.xhtml
The following test loads an image referred by the test page, and failed at DCHECK(params->referrer.is_empty()):
http/tests/security/local-image-from-remote-whitelisted.html
BUG=http://b/5655809
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111342
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|