⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 279855 in webkit


Ignore:
Timestamp:
Jul 12, 2021, 4:07:14 PM (5 years ago)
Author:
Chris Fleizach
Message:

AX: Make WebKit observe spatial audio accessibility settings
https://bugs.webkit.org/show_bug.cgi?id=227848

Reviewed by Sam Weinig.

Source/WebKit:

Allow mac and iOS to read from accessibility domains.
Allow mac sandbox to read from com.apple.Accessibility.

  • PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:
  • UIProcess/Cocoa/PreferenceObserver.mm:

(-[WKPreferenceObserver init]):

Source/WTF:

This flag was using the wrong format for a HAVE setting, so the code wasn't being compiled in.

  • wtf/PlatformHave.h:
Location:
trunk/Source
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r279847 r279855  
     12021-07-12  Chris Fleizach  <cfleizach@apple.com>
     2
     3        AX: Make WebKit observe spatial audio accessibility settings
     4        https://bugs.webkit.org/show_bug.cgi?id=227848
     5
     6        Reviewed by Sam Weinig.
     7
     8        This flag was using the wrong format for a HAVE setting, so the code wasn't being compiled in.
     9
     10        * wtf/PlatformHave.h:
     11
    1122021-07-12  Simon Fraser  <simon.fraser@apple.com>
    213
  • trunk/Source/WTF/wtf/PlatformHave.h

    r279786 r279855  
    10411041#if (((PLATFORM(IOS) || PLATFORM(MACCATALYST)) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 150000) \
    10421042    || (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 120000))
    1043 #define UPDATE_WEB_ACCESSIBILITY_SETTINGS 1
     1043#define HAVE_UPDATE_WEB_ACCESSIBILITY_SETTINGS 1
    10441044#endif
    10451045
  • trunk/Source/WebKit/ChangeLog

    r279840 r279855  
     12021-07-12  Chris Fleizach  <cfleizach@apple.com>
     2
     3        AX: Make WebKit observe spatial audio accessibility settings
     4        https://bugs.webkit.org/show_bug.cgi?id=227848
     5
     6        Reviewed by Sam Weinig.
     7
     8        Allow mac and iOS to read from accessibility domains.
     9        Allow mac sandbox to read from com.apple.Accessibility.
     10
     11        * PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in:
     12        * UIProcess/Cocoa/PreferenceObserver.mm:
     13        (-[WKPreferenceObserver init]):
     14
    1152021-07-12  Chris Dumez  <cdumez@apple.com>
    216
  • trunk/Source/WebKit/PluginProcess/mac/com.apple.WebKit.plugin-common.sb.in

    r279145 r279855  
    262262    ".GlobalPreferences"
    263263    "com.apple.ATS"
     264    "com.apple.Accessibility"
    264265    "com.apple.Bluetooth"
    265266    "com.apple.CoreGraphics"
  • trunk/Source/WebKit/UIProcess/Cocoa/PreferenceObserver.mm

    r279354 r279855  
    130130
    131131    std::initializer_list<NSString*> domains = {
     132        @"com.apple.Accessibility",
     133        @"com.apple.mediaaccessibility",
    132134#if PLATFORM(IOS_FAMILY)
    133         @"com.apple.Accessibility",
    134135        @"com.apple.AdLib",
    135136        @"com.apple.SpeakSelection",
     
    150151        @"com.apple.driver.AppleBluetoothMultitouch.mouse",
    151152        @"com.apple.driver.AppleBluetoothMultitouch.trackpad",
    152         @"com.apple.mediaaccessibility",
    153153        @"com.apple.speech.voice.prefs",
    154154        @"com.apple.universalaccess",
Note: See TracChangeset for help on using the changeset viewer.