Bug 141260

Summary: LayoutTestHelper should set the color profile of all displays
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: New BugsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, simon.fraser, thorton
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
No more ARC thorton: review+

Simon Fraser (smfr)
Reported 2015-02-04 14:01:03 PST
LayoutTestHelper should set the color profile of all displays
Attachments
Patch (10.68 KB, patch)
2015-02-04 14:03 PST, Simon Fraser (smfr)
no flags
Patch (10.77 KB, patch)
2015-02-04 14:12 PST, Simon Fraser (smfr)
no flags
No more ARC (10.15 KB, patch)
2015-02-04 14:30 PST, Simon Fraser (smfr)
thorton: review+
Simon Fraser (smfr)
Comment 1 2015-02-04 14:03:56 PST
Simon Fraser (smfr)
Comment 2 2015-02-04 14:12:14 PST
Tim Horton
Comment 3 2015-02-04 14:14:15 PST
Comment on attachment 246046 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=246046&action=review > Tools/DumpRenderTree/mac/LayoutTestHelper.m:58 > + CFUUIDRef uuid = CFUUIDCreateFromString(kCFAllocatorDefault, (__bridge CFStringRef)displayUUIDString); Leak. > Tools/DumpRenderTree/mac/LayoutTestHelper.m:82 > + static const uint32_t maxDisplayCount = 10; :| > Tools/DumpRenderTree/mac/LayoutTestHelper.m:98 > + CFUUIDRef displayUUIDRef = CGDisplayCreateUUIDFromDisplayID(displayIDs[i]); leak here too > Tools/DumpRenderTree/mac/LayoutTestHelper.m:124 > + CFUUIDRef uuid = CFUUIDCreateFromString(kCFAllocatorDefault, (__bridge CFStringRef)displayUUIDString); yep > Tools/DumpRenderTree/mac/LayoutTestHelper.m:132 > + NSMutableDictionary* userColorProfiles = originalColorProfileURLs(); star's on the wrong side > Tools/DumpRenderTree/mac/LayoutTestHelper.m:149 > + // space of the display), we force the generic RGB color profile on all displays. This should say SRGB.
Simon Fraser (smfr)
Comment 4 2015-02-04 14:30:53 PST
Created attachment 246052 [details] No more ARC
Tim Horton
Comment 5 2015-02-04 14:34:22 PST
Comment on attachment 246052 [details] No more ARC View in context: https://bugs.webkit.org/attachment.cgi?id=246052&action=review > Tools/DumpRenderTree/mac/LayoutTestHelper.m:138 > + NSMutableDictionary* userColorProfiles = originalColorProfileURLs(); Star's on the wrong side. > Tools/DumpRenderTree/mac/LayoutTestHelper.m:155 > + // space of the display), we force the generic sRGB color profile on all displays. not generic :D
Simon Fraser (smfr)
Comment 6 2015-02-04 15:03:24 PST
Note You need to log in before you can comment on or make changes to this bug.