diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-15 12:44:59 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-04-15 12:44:59 +0530 |
commit | eb78e21fbe05215a798af954bbe82bd41071a94b (patch) | |
tree | 2cdb038ee4d1d662c5b2909cbc999c1bd35534d8 /tests/wpt/css-tests/css-variables-1_dev | |
parent | 7faa3ed9cb87ebfa62554940e916bb7e4d04512b (diff) | |
parent | 43369fa897711ad19a932b20fb01e3b28eecde90 (diff) | |
download | servo-eb78e21fbe05215a798af954bbe82bd41071a94b.tar.gz servo-eb78e21fbe05215a798af954bbe82bd41071a94b.zip |
Auto merge of #10555 - jdm:http_response_refactor, r=ms2ger
Remove unnecessary indirection in HTTP unit tests
Many of the HTTP unit tests use a custom request factory as well as a custom request that contained test logic. This is unnecessarily convoluted, and exists solely because the complete set of headers was unavailable until the request body was sent. These patches restructure the header manipulations so that the headers are available when the request object is created, allowing the test logic to move into the test factories, and enabling the deletion of almost all of the test request types.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10555)
<!-- Reviewable:end -->
Diffstat (limited to 'tests/wpt/css-tests/css-variables-1_dev')
0 files changed, 0 insertions, 0 deletions