Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Request's Headers to be cloned correctly #13733

Merged
merged 1 commit into from Oct 13, 2016

Conversation

jeenalee
Copy link
Contributor

@jeenalee jeenalee commented Oct 12, 2016

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

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
Copy link
Member

jdm commented Oct 12, 2016

@bors-servo: r+
Good catch!

@bors-servo
Copy link
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
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
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