gecko-dev/servo
Emilio Cobos Álvarez f70b32956b Bug 1685796 - Return BAD_IMAGE when sync-decoding an incomplete, errored image. r=tnikkel
The only way that this can happen is if we get through the
ShouldTreatAsCompleteDueToSyncDecode check returning true in the case of
the image being errored.

https://hg.mozilla.org/integration/autoland/rev/645a4d6461ca was
supposed to deal with this, but my guess is that there is a slight race
condition in which the error status isn't there at the beginning, but is
there after the StartDecoding call.

It seems returning BAD_IMAGE rather than painting transparent if we hit
a broken image is a better thing to do than what we're doing now, and
should fix the intermittent issue.

Differential Revision: https://phabricator.services.mozilla.com/D101361
2021-01-12 02:28:00 +00:00
..
components Bug 1685917 - Remove layout.css.file-selector-button.enabled pref. r=heycam 2021-01-11 01:55:50 +00:00
ports/geckolib Bug 1685796 - Return BAD_IMAGE when sync-decoding an incomplete, errored image. r=tnikkel 2021-01-12 02:28:00 +00:00
tests/unit Bug 1685078 - Support full <image> syntax in list-style-image as per spec. r=jrmuizel,TYLin 2021-01-08 09:44:24 +00:00
moz.build
rustfmt.toml