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

Changeset 284813 in webkit


Ignore:
Timestamp:
Oct 25, 2021, 12:10:17 PM (5 years ago)
Author:
Alan Coon
Message:

Cherry-pick r284712. rdar://problem/81586485

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):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@284712 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-612-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-612-branch/Source/WebKit/ChangeLog

    r284811 r284813  
     12021-10-25  Null  <null@apple.com>
     2
     3        Cherry-pick r284712. rdar://problem/81586485
     4
     5    AX: Inform AX when the injected bundle sends a synchronous message
     6    https://bugs.webkit.org/show_bug.cgi?id=232159
     7   
     8    Reviewed by Andres Gonzalez.
     9   
     10    When an injected bundle sends a synchronous message we need to inform accessibility clients, so they don't get
     11    stuck trying to message the WebContent process. This is already handled for synchronous messages
     12    generated from the WebPage.
     13   
     14    * WebProcess/InjectedBundle/InjectedBundle.cpp:
     15    (WebKit::InjectedBundle::postSynchronousMessage):
     16   
     17   
     18    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@284712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     19
     20    2021-10-22  Chris Fleizach  <cfleizach@apple.com>
     21
     22            AX: Inform AX when the injected bundle sends a synchronous message
     23            https://bugs.webkit.org/show_bug.cgi?id=232159
     24
     25            Reviewed by Andres Gonzalez.
     26
     27            When an injected bundle sends a synchronous message we need to inform accessibility clients, so they don't get
     28            stuck trying to message the WebContent process. This is already handled for synchronous messages
     29            generated from the WebPage.
     30
     31            * WebProcess/InjectedBundle/InjectedBundle.cpp:
     32            (WebKit::InjectedBundle::postSynchronousMessage):
     33
    1342021-10-25  Null  <null@apple.com>
    235
  • branches/safari-612-branch/Source/WebKit/WebProcess/InjectedBundle/InjectedBundle.cpp

    r277830 r284813  
    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.