Move remaining users of the legacy networking stack to fetch.#13961
Move remaining users of the legacy networking stack to fetch.#13961bors-servo merged 13 commits intomasterfrom
Conversation
|
Heads up! This PR modifies the following files:
|
|
@bors-servo try |
|
⌛ Trying commit 9856ccf with merge b883928... |
|
💔 Test failed - linux-rel-wpt |
|
@bors-servo: retry |
|
⌛ Trying commit 9856ccf with merge 1b77dfa... |
[WIP] Sync fetch <!-- 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/13961) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-wpt2 |
|
|
||
| // Step 14. | ||
| if credentials_flag { | ||
| // TODO: should block cookies? |
There was a problem hiding this comment.
The context parameter contains an http_state which in turns contains a content_blocker of type RuleList which has rules that tell us whether cookies should be blocked.
Looks like that's the only problem. I think I'll just change to returning network errors for r? @jdm, but review the dependent PRs first :) |
|
☔ The latest upstream changes (presumably #13742) made this pull request unmergeable. Please resolve the merge conflicts. |
|
@bors-servo try |
[WIP] Sync fetch <!-- 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/13961) <!-- Reviewable:end -->
|
☀️ Test successful - arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-dev |
|
This is good to merge once #13931 merges. |
This matches the previous default (network.mime.sniff off) behaviour in all but one case: we will now accept a font without a `Content-Type` header, which would previously have been ignored.
|
@bors-servo r=jdm Let's land them all at once. |
|
📌 Commit cecd60b has been approved by |
|
☀️ Test successful - arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-dev |
Fixes #13931.
Fixes #13714.
This change is