Bug 188203

Summary: Hardcode some system colors to avoid fingerprinting exposure
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: CSSAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, bfulgham, commit-queue, ews-watchlist, ggaren, megan_gardner, rniwa, thorton, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=210719
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from ews103 for mac-sierra
none
Archive of layout-test-results from ews107 for mac-sierra-wk2
none
Archive of layout-test-results from ews117 for mac-sierra
none
Patch
none
Archive of layout-test-results from ews100 for mac-sierra
none
Archive of layout-test-results from ews104 for mac-sierra-wk2
none
Archive of layout-test-results from ews117 for mac-sierra
none
Patch none

Description Timothy Hatcher 2018-07-31 12:05:58 PDT
Don't expose system colors that are based on user appearance preference.
Comment 1 Radar WebKit Bug Importer 2018-07-31 12:06:16 PDT
<rdar://problem/42781630>
Comment 2 Timothy Hatcher 2018-07-31 12:07:45 PDT Comment hidden (obsolete)
Comment 3 Tim Horton 2018-07-31 12:38:06 PDT
Comment on attachment 346186 [details]
Patch

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

> Source/WebCore/rendering/RenderThemeMac.mm:761
> +            return 0xFF7DADD9;

We can’t get these un-accented from the system?
Comment 4 Timothy Hatcher 2018-07-31 13:02:33 PDT
Comment on attachment 346186 [details]
Patch

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

>> Source/WebCore/rendering/RenderThemeMac.mm:761
>> +            return 0xFF7DADD9;
> 
> We can’t get these un-accented from the system?

Not that I could find.
Comment 5 EWS Watchlist 2018-07-31 13:14:27 PDT Comment hidden (obsolete)
Comment 6 EWS Watchlist 2018-07-31 13:14:29 PDT Comment hidden (obsolete)
Comment 7 EWS Watchlist 2018-07-31 13:21:55 PDT Comment hidden (obsolete)
Comment 8 EWS Watchlist 2018-07-31 13:21:56 PDT Comment hidden (obsolete)
Comment 9 EWS Watchlist 2018-07-31 15:17:46 PDT Comment hidden (obsolete)
Comment 10 EWS Watchlist 2018-07-31 15:17:47 PDT Comment hidden (obsolete)
Comment 11 Timothy Hatcher 2018-07-31 15:19:08 PDT Comment hidden (obsolete)
Comment 12 EWS Watchlist 2018-07-31 16:26:38 PDT Comment hidden (obsolete)
Comment 13 EWS Watchlist 2018-07-31 16:26:40 PDT Comment hidden (obsolete)
Comment 14 EWS Watchlist 2018-07-31 16:31:45 PDT Comment hidden (obsolete)
Comment 15 EWS Watchlist 2018-07-31 16:31:47 PDT Comment hidden (obsolete)
Comment 16 EWS Watchlist 2018-07-31 16:44:31 PDT Comment hidden (obsolete)
Comment 17 EWS Watchlist 2018-07-31 16:44:33 PDT Comment hidden (obsolete)
Comment 18 Timothy Hatcher 2018-07-31 20:55:59 PDT
Created attachment 346254 [details]
Patch
Comment 19 Tim Horton 2018-08-01 11:40:38 PDT
Comment on attachment 346254 [details]
Patch

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

> Source/WebCore/rendering/RenderThemeMac.mm:768
> +                return Color(0x4C1AA9FF, Color::Semantic);

You could neaten this up with the ternary operator but maybe this is easier to read.
Comment 20 WebKit Commit Bot 2018-08-01 12:07:49 PDT
Comment on attachment 346254 [details]
Patch

Clearing flags on attachment: 346254

Committed r234466: <https://trac.webkit.org/changeset/234466>
Comment 21 WebKit Commit Bot 2018-08-01 12:07:51 PDT
All reviewed patches have been landed.  Closing bug.