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 fetching about:blank #10167

Merged
merged 1 commit into from Mar 24, 2016
Merged

Fix fetching about:blank #10167

merged 1 commit into from Mar 24, 2016

Conversation

ghost
Copy link

@ghost ghost commented Mar 24, 2016

When fetching about:blank, response body should be the empty byte
sequence.
Spec: https://fetch.spec.whatwg.org/#concept-basic-fetch

Before this change, response body would be set to ResponseBody::Empty,
and then fetching would result in an infinite loop at step 19 in fn
main_fetch (methods.rs).

r? @KiChjang


This change is Reviewable

When fetching about:blank, response body should be the empty byte
sequence.
Spec: https://fetch.spec.whatwg.org/#concept-basic-fetch

Before this change, response body would be set to `ResponseBody::Empty`,
and then fetching would result in an infinite loop at step 19 in fn
`main_fetch` (methods.rs).
@highfive
Copy link

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @KiChjang (or someone else) soon.

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 24, 2016
@KiChjang
Copy link
Contributor

@bors-servo r+

Thanks for fixing this!

@bors-servo
Copy link
Contributor

📌 Commit bcd813d has been approved by KiChjang

@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 Mar 24, 2016
@bors-servo
Copy link
Contributor

⌛ Testing commit bcd813d with merge 446783f...

bors-servo pushed a commit that referenced this pull request Mar 24, 2016
Fix fetching about:blank

When fetching about:blank, response body should be the empty byte
sequence.
Spec: https://fetch.spec.whatwg.org/#concept-basic-fetch

Before this change, response body would be set to `ResponseBody::Empty`,
and then fetching would result in an infinite loop at step 19 in fn
`main_fetch` (methods.rs).

r? @KiChjang

<!-- 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/10167)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - android, arm32, gonk, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, status-appveyor

@bors-servo bors-servo merged commit bcd813d into servo:master Mar 24, 2016
@jdm
Copy link
Member

jdm commented Mar 24, 2016

Good find!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants