gecko-dev/servo/ports/geckolib
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
..
tests Bug 1661961 - Upgrade cstr to 0.2.x. r=emilio 2020-12-07 08:01:04 +00:00
Cargo.toml Bug 1661961 - Upgrade cstr to 0.2.x. r=emilio 2020-12-07 08:01:04 +00:00
cbindgen.toml Bug 1685796 - Return BAD_IMAGE when sync-decoding an incomplete, errored image. r=tnikkel 2021-01-12 02:28:00 +00:00
error_reporter.rs Bug 1678881 - Run latest rustfmt in servo/. r=xidorn 2020-11-22 00:41:29 +00:00
glue.rs Bug 1684673 - Use an AutoTArray for atom arrays in attributes (class / part). r=smaug 2021-01-04 17:56:33 +00:00
lib.rs Bug 1429305 - Use serde to serialize LengthPercentage and StyleRayFunction. r=emilio 2019-10-31 21:35:05 +00:00
stylesheet_loader.rs Bug 1678881 - Run latest rustfmt in servo/. r=xidorn 2020-11-22 00:41:29 +00:00