Auto merge of #13733 - jeenalee:request-clone, r=jdm

Fix Request's Headers to be cloned correctly

<!-- Please describe your changes on the following line: -->
Previously, when `Clone()` was called, Headers of the template Request did not get cloned properly. This commit fixes that issue, and updates the expected wpt results.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11894 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13733)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-10-13 05:33:36 -05:00 committed by GitHub
commit 1a3287bef7
2 changed files with 4 additions and 11 deletions

View file

@ -1,8 +0,0 @@
[request-clone.sub.html]
type: testharness
[Check cloning a request]
expected: FAIL
[Check cloning a request copies the headers]
expected: FAIL