(apng) Implement graceful error handling for APNG

ASSIGNED

Status

()

Core
ImageLib
ASSIGNED
8 years ago
4 years ago

People

(Reporter: Max Stepin, Assigned: Glenn Randers-Pehrson)

Tracking

(Blocks: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4 WebMoney Advisor
Build Identifier: Trunk

Actual: Currently all errors in acTL, fcTL, fDAT chunks result in png_error().
So Firefox won't display anything, while IE will display the first frame.

Expected: Any single error in any single apng chunk should cause Firefox to throw away all information from all apng chunks, and display the file as a static PNG image (first frame).


Reproducible: Always
(Assignee)

Comment 1

8 years ago
Test case at http://www.simplesystems.org/users/glennrp/santa

Compare santa_bad_fctl.png (bad fctl chunk at the very end of the
datastream) with santaj.png (OK)
(Assignee)

Updated

8 years ago
Assignee: nobody → glennrp+bmo
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
(Assignee)

Updated

8 years ago
Blocks: 495609

Comment 2

6 years ago
Max originally brought up this issue in bug 257197 with reference to the APNG specs: 

https://wiki.mozilla.org/APNG_Specification#Error_Handling
You need to log in before you can comment on or make changes to this bug.