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

Changeset 243991 in webkit


Ignore:
Timestamp:
Apr 8, 2019, 3:23:31 AM (7 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r243860 - [ATK] Don't touch accessibility tree in WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld
https://bugs.webkit.org/show_bug.cgi?id=193914

Reviewed by Michael Catanzaro.

Move it to dispatchDidFinishDocumentLoad, since we know we have the document at that point and we can create the
root accessibility object wrapper.

  • WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:

(WebKit::WebFrameLoaderClient::dispatchDidFinishDocumentLoad):
(WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):

Location:
releases/WebKitGTK/webkit-2.24/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.24/Source/WebKit/ChangeLog

    r243988 r243991  
     12019-04-03  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [ATK] Don't touch accessibility tree in WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld
     4        https://bugs.webkit.org/show_bug.cgi?id=193914
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        Move it to dispatchDidFinishDocumentLoad, since we know we have the document at that point and we can create the
     9        root accessibility object wrapper.
     10
     11        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
     12        (WebKit::WebFrameLoaderClient::dispatchDidFinishDocumentLoad):
     13        (WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld):
     14
    1152019-03-26  Tomoki Imai  <Tomoki.Imai@sony.com>
    216
  • releases/WebKitGTK/webkit-2.24/Source/WebKit/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp

    r242461 r243991  
    600600    // Notify the UIProcess.
    601601    webPage->send(Messages::WebPageProxy::DidFinishDocumentLoadForFrame(m_frame->frameID(), navigationID, UserData(WebProcess::singleton().transformObjectsToHandles(userData.get()).get())));
     602
     603#if HAVE(ACCESSIBILITY) && PLATFORM(GTK)
     604    // Ensure the accessibility hierarchy is updated.
     605    webPage->updateAccessibilityTree();
     606#endif
    602607}
    603608
     
    16951700    webPage->injectedBundleLoaderClient().didClearWindowObjectForFrame(*webPage, *m_frame, world);
    16961701
    1697 
    16981702    WebAutomationSessionProxy* automationSessionProxy = WebProcess::singleton().automationSessionProxy();
    16991703    if (automationSessionProxy && world.isNormal())
    17001704        automationSessionProxy->didClearWindowObjectForFrame(*m_frame);
    1701 
    1702 #if HAVE(ACCESSIBILITY) && PLATFORM(GTK)
    1703     // Ensure the accessibility hierarchy is updated.
    1704     webPage->updateAccessibilityTree();
    1705 #endif
    17061705}
    17071706
Note: See TracChangeset for help on using the changeset viewer.