Changeset 183684 in webkit


Ignore:
Timestamp:
May 1, 2015 12:39:28 PM (9 years ago)
Author:
jdiggs@igalia.com
Message:

[GTK] accessibility/secure-textfield-title-ui.html is failing
https://bugs.webkit.org/show_bug.cgi?id=98375

Reviewed by Chris Fleizach.

Modify the test to check the childrenCount of the titleUIElement in order
to determine where the element text is exposed. On the Mac, it's exposed
in StaticText children; in ATK, in the element itself. The test was failing
because it assumed the text was in the first child of the element.

  • accessibility/secure-textfield-title-ui.html: Modified.
  • platform/gtk/TestExpectations: Unskipped the failing test.
Location:
trunk/LayoutTests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r183682 r183684  
     12015-05-01  Joanmarie Diggs  <jdiggs@igalia.com>
     2
     3        [GTK] accessibility/secure-textfield-title-ui.html is failing
     4        https://bugs.webkit.org/show_bug.cgi?id=98375
     5
     6        Reviewed by Chris Fleizach.
     7
     8        Modify the test to check the childrenCount of the titleUIElement in order
     9        to determine where the element text is exposed. On the Mac, it's exposed
     10        in StaticText children; in ATK, in the element itself. The test was failing
     11        because it assumed the text was in the first child of the element.
     12
     13        * accessibility/secure-textfield-title-ui.html: Modified.
     14        * platform/gtk/TestExpectations: Unskipped the failing test.
     15
    1162015-05-01  Brady Eidson  <beidson@apple.com>
    217
  • trunk/LayoutTests/accessibility/secure-textfield-title-ui.html

    r131871 r183684  
    2121            pass.focus();
    2222            var titleUIElement = accessibilityController.focusedElement.titleUIElement();
    23             var titleText = titleUIElement.childAtIndex(0);
     23            // On the Mac, element text is exposed in StaticText children; in ATK, in the element itself.
     24            var titleText = titleUIElement.childrenCount ? titleUIElement.childAtIndex(0) : titleUIElement;
    2425            if (titleText.stringValue == "AXValue: Password") {
    2526                result.innerText += "Test passed\n";
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r183681 r183684  
    16601660webkit.org/b/98371 accessibility/loading-iframe-updates-axtree.html [ Failure ]
    16611661webkit.org/b/98372 accessibility/onclick-handlers.html [ Failure ]
    1662 webkit.org/b/98375 accessibility/secure-textfield-title-ui.html [ Failure ]
    16631662webkit.org/b/98377 accessibility/textarea-insertion-point-line-number.html [ Failure ]
    16641663webkit.org/b/98380 accessibility/th-as-title-ui.html [ Failure ]
Note: See TracChangeset for help on using the changeset viewer.