diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-10-09 10:53:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-09 10:53:17 -0400 |
commit | b34fc13eee18b11f0d7b7a0a5f04187440d72450 (patch) | |
tree | e02bf6bec352ee367a0c671b24ebd501558a3303 /components/layout_2020/flow/construct.rs | |
parent | 3d529b1b8859cbb5f9f8337ec8343c3254fd4224 (diff) | |
parent | bb1fa888645e02fe68c5bf5d3f3638243be31d20 (diff) | |
download | servo-b34fc13eee18b11f0d7b7a0a5f04187440d72450.tar.gz servo-b34fc13eee18b11f0d7b7a0a5f04187440d72450.zip |
Auto merge of #24401 - gterzian:ensure_done_chan_is_none_when_revalidating, r=jdm
Fetch: ensure consistency between response, done-chan, and cache state.
This ensures that when a cached response is not used because it requires revalidation, the done chan is set back to `None`(since the cache might have set it to `Some` when constructing the response requiring revalidation).
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #24399 (GitHub issue number if applicable)
<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- 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/24401)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout_2020/flow/construct.rs')
0 files changed, 0 insertions, 0 deletions