Closed
Bug 489133
Opened 16 years ago
Closed 16 years ago
PNGs on the web with bogus cHRM chunks display as all black (silhouette)
Categories
(Core :: Graphics: Color Management, defect, P2)
Core
Graphics: Color Management
Tracking
()
VERIFIED
FIXED
People
(Reporter: phiw2, Assigned: jrmuizel)
References
Details
(Keywords: regression, verified1.9.1)
Attachments
(3 files, 1 obsolete file)
(deleted),
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
joe
:
review+
|
Details | Diff | Splinter Review |
This was originally uncovered (and fixed for Shiretoko 3.1b3) in bug 460520.
Bug 481926 undid/broke this.
Since bug 481926, all color information in those images is lost; they display as black silhouettes. In Shiretoko 3.1b3 the images display correctly
testcases:
https://bugzilla.mozilla.org/attachment.cgi?id=343609
https://bugzilla.mozilla.org/attachment.cgi?id=343611
(linked in bug 460520); those are images from real websites.
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090419 Minefield/3.6a1pre
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2a1pre) Gecko/20090418 Minefield/3.6a1pre
Flags: wanted1.9.1?
Flags: blocking1.9.1?
Assignee | ||
Comment 1•16 years ago
|
||
Attachment #373663 -
Flags: review?(joe)
Comment 2•16 years ago
|
||
Comment on attachment 373663 [details] [diff] [review]
have set_rgb_colorants return whether it succeeded or not
r+ as long as we check in a reftest along with this fix.
Attachment #373663 -
Flags: review?(joe) → review+
Flags: wanted1.9.1?
Flags: blocking1.9.1?
Flags: blocking1.9.1+
Priority: -- → P2
Assignee | ||
Comment 3•16 years ago
|
||
This fixes another one of the pngs with a bad cHRM chunk
Assignee | ||
Comment 4•16 years ago
|
||
Tests for bugs 460520, 489133 and 488955
Attachment #373921 -
Flags: review?(joe)
Assignee | ||
Updated•16 years ago
|
Attachment #373920 -
Flags: review?(joe)
Assignee | ||
Comment 5•16 years ago
|
||
Actually get the reftests running
Attachment #373921 -
Attachment is obsolete: true
Attachment #373934 -
Flags: review?(joe)
Attachment #373921 -
Flags: review?(joe)
Updated•16 years ago
|
Attachment #373920 -
Flags: review?(joe) → review+
Updated•16 years ago
|
Attachment #373934 -
Flags: review?(joe) → review+
Comment 6•16 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/2c04f555a23b
http://hg.mozilla.org/mozilla-central/rev/f517a1635447
http://hg.mozilla.org/mozilla-central/rev/91d04ba2a833
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 7•16 years ago
|
||
Had to disable the colour management reftests, since one failed at least on the OS X box:
http://hg.mozilla.org/mozilla-central/rev/824f4ab3bfec
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1240367171.1240370132.13059.gz&fulltext=1
Assignee | ||
Comment 8•16 years ago
|
||
I probably should've let you know but the patch from bug 488955 needs to be applied before that test will pass :)
Comment 9•16 years ago
|
||
Tests re-enabled. http://hg.mozilla.org/mozilla-central/rev/b5ce248b389f
Updated•16 years ago
|
Assignee: nobody → jmuizelaar
Assignee | ||
Updated•16 years ago
|
Attachment #373663 -
Flags: approval1.9.1?
Assignee | ||
Updated•16 years ago
|
Attachment #373920 -
Flags: approval1.9.1?
Updated•16 years ago
|
Keywords: checkin-needed
Whiteboard: [c-n for 1.9.1]
Updated•16 years ago
|
Attachment #373663 -
Flags: approval1.9.1?
Updated•16 years ago
|
Attachment #373920 -
Flags: approval1.9.1?
Comment 10•16 years ago
|
||
Landed on 1.9.1:
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/65bacadf0ebf
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/7e29034f8e45
http://hg.mozilla.org/releases/mozilla-1.9.1/rev/216a122fb651
Keywords: checkin-needed → fixed1.9.1
Whiteboard: [c-n for 1.9.1]
Comment 11•16 years ago
|
||
Verified FIXED on builds:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090527 Minefield/3.6a1pre ID:20090527031500
and
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1pre) Gecko/20090527 Shiretoko/3.5pre ID:20090527031214
Status: RESOLVED → VERIFIED
Keywords: fixed1.9.1 → verified1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•