diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-02-22 17:50:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-22 17:50:48 -0800 |
commit | 854d720b21dda68034233a25385c4f2564a4a2d5 (patch) | |
tree | 447ba0490ee2f42aa0d9590908fe741f1c6d2ae6 /components/script/dom/cssrule.rs | |
parent | af292c4a7180a35c632b16a4fb0aff9ae2933f77 (diff) | |
parent | 5af2603ec4f59f2bbabc8aa9d73deed29acf9492 (diff) | |
download | servo-854d720b21dda68034233a25385c4f2564a4a2d5.tar.gz servo-854d720b21dda68034233a25385c4f2564a4a2d5.zip |
Auto merge of #14962 - jdm:image_script_load, r=Ms2ger,glennw,emilio
Remove network requests from image cache thread
The design of initiating network requests from the image cache thread was simple, but it makes it difficult to implement image loading that conforms to the HTML specification. These changes make the implementation of HTMLImageElement responsible for network requests for `<img>` elements, and CSS-based images (background-image, bullets, etc.) are requested by the script thread to ensure that the layout thread does not attempt to retain unsafe pointers to DOM nodes during asynchronous operations.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #7708
- [X] There are tests for these changes
<!-- 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/14962)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/cssrule.rs')
0 files changed, 0 insertions, 0 deletions