Bug 235613

Summary: Fix the lldb Color formatter
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Tools / TestsAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, sam, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch darin: review+

Description Simon Fraser (smfr) 2022-01-25 15:17:01 PST
Fix the lldb Color formatter
Comment 1 Simon Fraser (smfr) 2022-01-25 15:17:25 PST
Created attachment 449972 [details]
Patch
Comment 2 Darin Adler 2022-01-25 15:21:23 PST
Comment on attachment 449972 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=449972&action=review

> Tools/lldb/lldb_webkit.py:537
> +        # From ColorSpace.h.

Should we add a comment to ColorSpace.h telling anyone who edits that they need to update this too?
Comment 3 Simon Fraser (smfr) 2022-01-25 15:23:56 PST
Will do.
Comment 4 Simon Fraser (smfr) 2022-01-25 16:00:41 PST
https://trac.webkit.org/changeset/288587/webkit
Comment 5 Radar WebKit Bug Importer 2022-01-25 16:01:17 PST
<rdar://problem/88049212>
Comment 6 Sam Weinig 2022-01-25 16:21:08 PST
Comment on attachment 449972 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=449972&action=review

>> Tools/lldb/lldb_webkit.py:537
>> +        # From ColorSpace.h.
> 
> Should we add a comment to ColorSpace.h telling anyone who edits that they need to update this too?

"anyone" == "that idiot Sam who has broken this like 10 times now :(" And yes please.
Comment 7 Darin Adler 2022-01-25 17:07:19 PST
The fact that we don’t generate one or both of these from a single source is just "because we are cowards".