Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upnet: Don't load the placeholder image for background images, only for image fragments. #5586
Conversation
hoppipolla-critic-bot
commented
Apr 7, 2015
|
Critic review: https://critic.hoppipolla.co.uk/r/4578 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
|
|
ddce50b
to
b76ae2a
|
@bors-servo: r=jdm |
|
|
|
|
|
|
I think I'll wait on #5767 to land first, because the test failure is a Linux-only race that's tightly coupled to the image cache task. |
|
|
b76ae2a
to
e3703c9
e3703c9
to
72c3866
| @@ -0,0 +1,104 @@ | |||
| /* This Source Code Form is subject to the terms of the Mozilla Public | |||
This comment has been minimized.
This comment has been minimized.
| @@ -0,0 +1,174 @@ | |||
| /* This Source Code Form is subject to the terms of the Mozilla Public | |||
This comment has been minimized.
This comment has been minimized.
72c3866
to
7fb7b49
|
Review comments addressed. @bors-servo: r=glennw |
|
|
7fb7b49
to
4be567e
|
@bors-servo: r=glennw |
|
|
…ennw r? @jdm <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5586) <!-- Reviewable:end -->
|
|
|
|
|
image fragments. This also changes the way the placeholder is handled in the image cache task to decode it up front instead of each time an image fails to load, both because it was more convenient to implement that way and because it saves CPU cycles to do so. This matches the behavior of Gecko and WebKit. It improves the look of our cached copy of Wikipedia.
4be567e
to
7e7675c
|
@bors-servo: r=glennw Apologies for trying again, but I've run the tests multiple times on both Mac and Linux and have been unable to reproduce. I want to rule out the possibility that this was a manifestation of the flakiness that @glennw fixed. If this fails again I will SSH into the bots to try to reproduce. |
|
|
…ennw r? @jdm <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5586) <!-- Reviewable:end -->
pcwalton commentedApr 7, 2015
r? @jdm