Bug 208960 - [macOS] Register with accessibility when the WebContent process starts
Summary: [macOS] Register with accessibility when the WebContent process starts
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-03-11 17:11 PDT by Per Arne Vollan
Modified: 2020-03-11 18:22 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.91 KB, patch)
2020-03-11 17:21 PDT, Per Arne Vollan
bfulgham: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>