Bug 183108 - Font smoothing doesn't get disabled if the preference is set before launching WebContent process
Summary: Font smoothing doesn't get disabled if the preference is set before launching...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-02-25 12:01 PST by Alexey Proskuryakov
Modified: 2018-02-25 18:14 PST (History)
6 users (show)

See Also:


Attachments
proposed fix (1.56 KB, patch)
2018-02-25 12:03 PST, Alexey Proskuryakov
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2018-02-25 12:01:04 PST
WebProcess::initializeWebProcess() can only enable font smoothing, never disable it - but it's enabled by default in WebCore.

This manifests in sporadic font rendering related failures on WebKit tests, as the first test that runs after killing a frozen WebContent doesn't get font smoothing disabled.
Comment 1 Alexey Proskuryakov 2018-02-25 12:03:04 PST
Created attachment 334582 [details]
proposed fix
Comment 2 Alexey Proskuryakov 2018-02-25 18:13:29 PST
Committed http://trac.webkit.org/r228982
Comment 3 Radar WebKit Bug Importer 2018-02-25 18:14:20 PST
<rdar://problem/37883871>