Bug 208960

Summary: [macOS] Register with accessibility when the WebContent process starts
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: WebKit Misc.Assignee: Per Arne Vollan <pvollan>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch bfulgham: review+

Description Per Arne Vollan 2020-03-11 17:11:35 PDT
When we reenabled CF prefs direct mode in <https://bugs.webkit.org/show_bug.cgi?id=208690>, we started to register with accessibility when we received a message to do so from the UI process. This would typically happen when the user enabled accessibility. On macOS, this notification does not work the same way as on iOS, and it is assumed that accessibility should always be enabled. Therefore we should go back to registering with accessibility on the startup of the WebContent process on macOS.
Comment 1 Per Arne Vollan 2020-03-11 17:21:54 PDT
Created attachment 393314 [details]
Patch
Comment 2 Brent Fulgham 2020-03-11 17:38:13 PDT
Comment on attachment 393314 [details]
Patch

Seems reasonable. r=me.
Comment 3 Radar WebKit Bug Importer 2020-03-11 18:10:32 PDT
<rdar://problem/60350731>
Comment 4 Per Arne Vollan 2020-03-11 18:22:50 PDT
Committed r258304: <https://trac.webkit.org/changeset/258304/webkit>