WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 83799
Convert layout test resource PNGs to sRGB
https://bugs.webkit.org/show_bug.cgi?id=83799
Summary
Convert layout test resource PNGs to sRGB
Tony Payne
Reported
2012-04-12 11:48:17 PDT
Convert layout test resource PNGs to sRGB
Attachments
Patch
(703.59 KB, patch)
2012-04-12 11:48 PDT
,
Tony Payne
no flags
Details
Formatted Diff
Diff
Patch
(703.91 KB, patch)
2012-04-12 14:40 PDT
,
Tony Payne
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Tony Payne
Comment 1
2012-04-12 11:48:56 PDT
Created
attachment 136946
[details]
Patch
Adam Barth
Comment 2
2012-04-12 14:32:32 PDT
Comment on
attachment 136946
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=136946&action=review
This seems fine. We have PNGs for testing color profiles, so I think its ok to remove the profiles from these PNGs, which are for testing other aspects of the engine.
> LayoutTests/ChangeLog:6 > + Convert layout test resource PNGs to sRGB > +
https://bugs.webkit.org/show_bug.cgi?id=83799
> + > + Reviewed by NOBODY (OOPS!).
Can you add some information to the ChangeLog about why we're making this change?
Tony Payne
Comment 3
2012-04-12 14:40:50 PDT
Created
attachment 136977
[details]
Patch
Tony Payne
Comment 4
2012-04-12 14:41:35 PDT
(In reply to
comment #2
)
> (From update of
attachment 136946
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=136946&action=review
> > This seems fine. We have PNGs for testing color profiles, so I think its ok to remove the profiles from these PNGs, which are for testing other aspects of the engine. > > > LayoutTests/ChangeLog:6 > > + Convert layout test resource PNGs to sRGB > > +
https://bugs.webkit.org/show_bug.cgi?id=83799
> > + > > + Reviewed by NOBODY (OOPS!). > > Can you add some information to the ChangeLog about why we're making this change?
Done.
Adam Barth
Comment 5
2012-04-12 14:52:15 PDT
Comment on
attachment 136977
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=136977&action=review
> LayoutTests/ChangeLog:9 > +
https://bugs.webkit.org/show_bug.cgi?id=83799
The usual format for ChangeLogs is to have the bug title, followed by the bug link on the next line, followed by a blank line and then the description. It's probably not worth re-uploading this patch, but it's something for next time.
WebKit Review Bot
Comment 6
2012-04-12 17:26:49 PDT
Comment on
attachment 136977
[details]
Patch Clearing flags on attachment: 136977 Committed
r114056
: <
http://trac.webkit.org/changeset/114056
>
WebKit Review Bot
Comment 7
2012-04-12 17:26:55 PDT
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 8
2012-04-13 09:26:55 PDT
Multiple people recently worked on ensuring that layout tests don't fail because of color matching issues. Did you consult with any of the people involved before suggesting this change? Adam, did you consult with them before reviewing? In this bug itself, there is no indication that this is a thought through change - the system is convoluted enough for obvious answer to not necessarily be correct. See also:
bug 67880
.
Tony Payne
Comment 9
2012-04-13 09:37:51 PDT
(In reply to
comment #8
)
> Multiple people recently worked on ensuring that layout tests don't fail because of color matching issues. Did you consult with any of the people involved before suggesting this change? Adam, did you consult with them before reviewing?
I posted on webkit-dev and got no reply.
> In this bug itself, there is no indication that this is a thought through change - the system is convoluted enough for obvious answer to not necessarily be correct. > > See also:
bug 67880
.
Note that this is a separate issue from color profiles in the expectation PNGs. Here, the issue is color profiles in the test resources. For me, the fact that the image-color-matching test was expecting a non-sRGB image to match an image without a profile was extremely suspect. I've spent almost a month trying to understand why the LayoutTests are the way they are. I won't claim to be an expert, but I've had no luck finding anyone who can explain the current situation.
Adam Barth
Comment 10
2012-04-13 09:43:55 PDT
Alexey, I don't understand what you're concerned about.
Bug 67880
seems unrelated to this issue. Can you explain more explicitly what you're worried about?
Alexey Proskuryakov
Comment 11
2012-04-13 09:53:27 PDT
> I posted on webkit-dev and got no reply.
That's sufficient, thank you. It usually helps to mention previous webkit-dev discussion in Bugzilla, because bugs do feel like they have incomplete rationale and/or vetting otherwise.
Simon Fraser (smfr)
Comment 12
2012-04-13 10:31:30 PDT
I think many sample images have no color profile. So now we have some with sRGB, and many with no profile.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug