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

Changeset 284712 in webkit


Ignore:
Timestamp:
Oct 22, 2021, 1:45:28 PM (5 years ago)
Author:
Chris Fleizach
Message:

AX: Inform AX when the injected bundle sends a synchronous message
https://bugs.webkit.org/show_bug.cgi?id=232159

Reviewed by Andres Gonzalez.

When an injected bundle sends a synchronous message we need to inform accessibility clients, so they don't get
stuck trying to message the WebContent process. This is already handled for synchronous messages
generated from the WebPage.

  • WebProcess/InjectedBundle/InjectedBundle.cpp:

(WebKit::InjectedBundle::postSynchronousMessage):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r284710 r284712  
     12021-10-22  Chris Fleizach  <cfleizach@apple.com>
     2
     3        AX: Inform AX when the injected bundle sends a synchronous message
     4        https://bugs.webkit.org/show_bug.cgi?id=232159
     5
     6        Reviewed by Andres Gonzalez.
     7
     8        When an injected bundle sends a synchronous message we need to inform accessibility clients, so they don't get
     9        stuck trying to message the WebContent process. This is already handled for synchronous messages
     10        generated from the WebPage.
     11
     12        * WebProcess/InjectedBundle/InjectedBundle.cpp:
     13        (WebKit::InjectedBundle::postSynchronousMessage):
     14
    1152021-10-22  Alex Christensen  <achristensen@webkit.org>
    216
  • trunk/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp

    r277830 r284712  
    143143    auto& webProcess = WebProcess::singleton();
    144144    if (!webProcess.parentProcessConnection()->sendSync(Messages::WebProcessPool::HandleSynchronousMessage(messageName, UserData(webProcess.transformObjectsToHandles(messageBody))),
    145         Messages::WebProcessPool::HandleSynchronousMessage::Reply(returnUserData), 0))
     145        Messages::WebProcessPool::HandleSynchronousMessage::Reply(returnUserData), 0, IPC::Timeout::infinity(), IPC::SendSyncOption::InformPlatformProcessWillSuspend))
    146146        returnData = nullptr;
    147147    else
Note: See TracChangeset for help on using the changeset viewer.