Changeset 228350 in webkit


Ignore:
Timestamp:
Feb 9, 2018 5:46:04 PM (6 years ago)
Author:
n_wang@apple.com
Message:

AX: Accessibility is not notified when a web process cancels the suspension
https://bugs.webkit.org/show_bug.cgi?id=182659

Reviewed by Ryosuke Niwa.

We were notifying Accessibility with the web process suspended information in actualPrepareToSuspend
and processDidResume. However, the suspension can be canceled during the prepare call. So that we
should also post a notification in cancelPrepareToSuspend.

  • WebProcess/WebProcess.cpp:

(WebKit::WebProcess::cancelPrepareToSuspend):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r228341 r228350  
     12018-02-09  Nan Wang  <n_wang@apple.com>
     2
     3        AX: Accessibility is not notified when a web process cancels the suspension
     4        https://bugs.webkit.org/show_bug.cgi?id=182659
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        We were notifying Accessibility with the web process suspended information in actualPrepareToSuspend
     9        and processDidResume. However, the suspension can be canceled during the prepare call. So that we
     10        should also post a notification in cancelPrepareToSuspend.
     11
     12        * WebProcess/WebProcess.cpp:
     13        (WebKit::WebProcess::cancelPrepareToSuspend):
     14
    1152018-02-09  Brent Fulgham  <bfulgham@apple.com>
    216
  • trunk/Source/WebKit/WebProcess/WebProcess.cpp

    r228230 r228350  
    14081408
    14091409    cancelMarkAllLayersVolatile();
     1410   
     1411#if PLATFORM(IOS)
     1412    accessibilityProcessSuspendedNotification(false);
     1413#endif
    14101414
    14111415    RELEASE_LOG(ProcessSuspension, "%p - WebProcess::cancelPrepareToSuspend() Sending DidCancelProcessSuspension IPC message", this);
Note: See TracChangeset for help on using the changeset viewer.