|Summary:||REGRESSION(r230323): UIProcess needs to notify WebContent process of Accessibility setting changes|
|Product:||WebKit||Reporter:||Brent Fulgham <bfulgham>|
|Component:||WebKit Misc.||Assignee:||Brent Fulgham <bfulgham>|
|Severity:||Normal||CC:||achristensen, bfulgham, cdumez, cfleizach, commit-queue, jcraig, youennf|
|Version:||WebKit Nightly Build|
|Bug Depends on:||184337|
Description Brent Fulgham 2018-05-10 10:09:10 PDT
In Bug 184337 I started caching the state of CGDisplayUsesInvertedPolarity (and other accessibility settings) so that we could message them from the UIProcess, and avoid interacting with the Window Server in the WebContent process. Unfortunately, this caused certain accessibility features (such as inverted colors) to only be read when the UIProcess launched, because WebKit was not registered to be notified when screen-affecting accessibility changes were made. Instead, WebKit needs to register to be notified if accessibility preferences change so that it can notify the related WebContent processes that their screen characteristics may have changed.
Comment 3 Brent Fulgham 2018-05-10 10:54:27 PDT
Created attachment 340104 [details] Patch for landing
Comment 4 WebKit Commit Bot 2018-05-10 11:32:05 PDT
Comment on attachment 340104 [details] Patch for landing Clearing flags on attachment: 340104 Committed r231648: <https://trac.webkit.org/changeset/231648>
Comment 5 WebKit Commit Bot 2018-05-10 11:32:06 PDT
All reviewed patches have been landed. Closing bug.