Skip to content

Fix Request's Headers to be cloned correctly - #13733

Merged
bors-servo merged 1 commit into
servo:masterfrom
jeenalee:request-clone
Oct 13, 2016
Merged

bors-servo merged 1 commit into
servo:masterfrom
jeenalee:request-clone

Conversation

@jeenalee

@jeenalee jeenalee commented Oct 12, 2016 •

Copy link
Copy Markdown
Contributor

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.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix Implement JS fetch API #11894 (github issue number if applicable).
  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

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.
@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @KiChjang: components/script/dom/request.rs

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 12, 2016
@jdm

jdm commented Oct 12, 2016

Copy link
Copy Markdown
Member

@bors-servo: r+
Good catch!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit d03167d has been approved by jdm

@highfive highfive assigned jdm and unassigned mbrubeck Oct 12, 2016
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Oct 12, 2016
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit d03167d with merge 1a3287b...

bors-servo pushed a commit that referenced this pull request Oct 13, 2016
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 -->
@bors-servo

Copy link
Copy Markdown
Contributor

@bors-servo
bors-servo merged commit d03167d into servo:master Oct 13, 2016
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement JS fetch API

5 participants