Skip to content
  • mario@webkit.org's avatar
    [GTK] Do not hide accessibility root object from AT's · 2deff01e
    mario@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=72390
    
    Reviewed by Martin Robinson.
    
    * tests/testatk.c:
    (getWebAreaObject): New helper function, to bypass the new root
    object in the accessibility hierarchy, since it's not usually
    needed for the unit tests.
    (testWebkitAtkCaretOffsets): Use getWebAreaObject().
    (testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces): Ditto.
    (testWebkitAtkComboBox): Ditto.
    (testWebkitAtkEmbeddedObjects): Ditto.
    (testWebkitAtkGetTextAtOffsetForms): Ditto.
    (testWebkitAtkGetTextAtOffset): Ditto.
    (testWebkitAtkGetTextAtOffsetNewlines): Ditto.
    (testWebkitAtkGetTextAtOffsetTextarea): Ditto.
    (testWebkitAtkGetTextAtOffsetTextInput): Ditto.
    (testWebkitAtkGetTextAtOffsetWithSpecialCharacters): Ditto.
    (testWebkitAtkGetTextInParagraphAndBodySimple): Ditto.
    (testWebkitAtkGetTextInParagraphAndBodyModerate): Ditto.
    (testWebkitAtkGetTextInTable): Ditto.
    (testWebkitAtkGetHeadersInTable): Ditto.
    (testWebkitAtkTextAttributes): Ditto.
    (testWebkitAtkTextSelections): Ditto.
    (testWebkitAtkGetExtents): Ditto.
    (testWebkitAtkLayoutAndDataTables): Ditto.
    (testWebkitAtkLinksWithInlineImages): Ditto.
    (testWebkitAtkHypertextAndHyperlinks): Ditto.
    (testWebkitAtkListsOfItems): Ditto.
    (testWebkitAtkTextChangedNotifications): Ditto.
    (testWebkitAtkParentForRootObject): New test, to make sure that
    both top-down and bottom-up navigation among GTK and WebKit worlds
    matches accordingly.
    (main): Added new test.
    
    * webkit/webkitwebview.cpp:
    (webkit_web_view_get_accessible): Remove the hack introduced
    because of bug 51932, to bypass the root object here.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2deff01e