Changeset 227151 in webkit
- Timestamp:
- Jan 18, 2018 10:38:15 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r227148 r227151 1 2018-01-18 Joanmarie Diggs <jdiggs@igalia.com> 2 3 [GTK] AX: Two layout tests crash with error 'g_strstr_len: assertion 'haystack != NULL' failed' in Accessibility::UIElement::url 4 https://bugs.webkit.org/show_bug.cgi?id=176796 5 6 Reviewed by Chris Fleizach. 7 8 Remove failing tests from Test Expectations. Update expected results of 9 xml-roles-exposed to reflect several bug fixes which were made in the 10 interim. Modify add-children-pseudo-element.html to account for platform 11 differences in the accessibility tree. Add an additional URL test because 12 we didn't have coverage for getting the URL of accessible links resulting 13 from native anchor elements. 14 15 * accessibility/add-children-pseudo-element.html: Modified. 16 * accessibility/gtk/link-url-expected.txt: Added. 17 * accessibility/gtk/link-url.html: Added. 18 * accessibility/gtk/xml-roles-exposed-expected.txt: Updated. 19 * platform/gtk/TestExpectations: Removed failing tests. 20 * platform/gtk/accessibility/add-children-pseudo-element-expected.txt: Added. 21 1 22 2018-01-18 Matt Lewis <jlewis3@apple.com> 2 23 -
trunk/LayoutTests/accessibility/add-children-pseudo-element.html
r220551 r227151 44 44 if (window.accessibilityController) { 45 45 var element = accessibilityController.accessibleElementById("float"); 46 shouldBe("element.childrenCount", "3"); 46 if (accessibilityController.platformName != "atk") 47 shouldBe("element.childrenCount", "3"); 48 else 49 shouldBe("element.childrenCount", "2"); 47 50 48 51 eventSender.keyDown('\t'); 49 52 eventSender.keyDown('\t'); 50 53 51 shouldBe("element.childrenCount", "2"); 54 if (accessibilityController.platformName != "atk") 55 shouldBe("element.childrenCount", "2"); 56 else 57 shouldBe("element.childrenCount", "1"); 52 58 showPseudo(); 53 59 -
trunk/LayoutTests/accessibility/gtk/xml-roles-exposed-expected.txt
r221671 r227151 21 21 AXRequired: 0 22 22 AXChecked: 0 23 AXPlatformAttributes: computed-role:alert, xml-roles:alert, tag:div, toolkit:WebKitGtk23 AXPlatformAttributes: atomic:true, relevant:additions text, live:assertive, container-live-role:alert, container-atomic:true, container-relevant:additions text, container-live:assertive, computed-role:alert, xml-roles:alert, tag:div, toolkit:WebKitGtk 24 24 ------------ 25 25 AXRole: AXDialog … … 40 40 AXRequired: 0 41 41 AXChecked: 0 42 AXPlatformAttributes: computed-role:alertdialog, xml-roles:alertdialog, tag:div, toolkit:WebKitGtk42 AXPlatformAttributes: relevant:additions text, live:assertive, container-live-role:alertdialog, container-relevant:additions text, container-live:assertive, computed-role:alertdialog, xml-roles:alertdialog, tag:div, toolkit:WebKitGtk 43 43 ------------ 44 44 AXRole: AXEmbedded … … 308 308 AXPlatformAttributes: computed-role:figure, xml-roles:figure, tag:div, toolkit:WebKitGtk 309 309 ------------ 310 AXRole: AX Form310 AXRole: AXLandmarkForm 311 311 AXParent: AXWebArea 312 312 AXChildren: 0 … … 421 421 AXRequired: 0 422 422 AXChecked: 0 423 AXPlatformAttributes: computed-role:log, xml-roles:log, tag:div, toolkit:WebKitGtk423 AXPlatformAttributes: relevant:additions text, live:polite, container-live-role:log, container-relevant:additions text, container-live:polite, computed-role:log, xml-roles:log, tag:div, toolkit:WebKitGtk 424 424 ------------ 425 425 AXRole: AXLandmarkMain … … 459 459 AXRequired: 0 460 460 AXChecked: 0 461 AXPlatformAttributes: computed-role:marquee, xml-roles:marquee, tag:div, toolkit:WebKitGtk461 AXPlatformAttributes: relevant:additions text, live:off, container-live-role:marquee, container-relevant:additions text, container-live:off, computed-role:marquee, xml-roles:marquee, tag:div, toolkit:WebKitGtk 462 462 ------------ 463 463 AXRole: AXMath … … 725 725 AXRequired: 0 726 726 AXChecked: 0 727 AXPlatformAttributes: computed-role:status, xml-roles:status, tag:div, toolkit:WebKitGtk727 AXPlatformAttributes: atomic:true, relevant:additions text, live:polite, container-live-role:status, container-atomic:true, container-relevant:additions text, container-live:polite, computed-role:status, xml-roles:status, tag:div, toolkit:WebKitGtk 728 728 ------------ 729 729 AXRole: AXToggleButton … … 801 801 AXRequired: 0 802 802 AXChecked: 0 803 AXPlatformAttributes: computed-role:timer, xml-roles:timer, tag:div, toolkit:WebKitGtk803 AXPlatformAttributes: relevant:additions text, live:off, container-live-role:timer, container-relevant:additions text, container-live:off, computed-role:timer, xml-roles:timer, tag:div, toolkit:WebKitGtk 804 804 ------------ 805 805 AXRole: AXToolbar -
trunk/LayoutTests/platform/gtk/TestExpectations
r227097 r227151 1292 1292 webkit.org/b/175575 imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/ready-states/autoplay-with-slow-text-tracks.html [ Crash Pass ] 1293 1293 1294 webkit.org/b/176796 accessibility/gtk/xml-roles-exposed.html [ Crash ]1295 1296 1294 webkit.org/b/176797 accessibility/aria-listbox-no-selection.html [ Crash ] 1297 1295 … … 3198 3196 webkit.org/b/175134 fast/text/line-height-minimumFontSize-zoom.html [ ImageOnlyFailure ] 3199 3197 3200 # Crash is webkit.org/b/1767963201 webkit.org/b/175418 accessibility/add-children-pseudo-element.html [ Failure Crash ]3202 3203 3198 webkit.org/b/175420 fullscreen/requestFullscreen-escape-key.html [ Failure ] 3204 3199 -
trunk/Tools/ChangeLog
r227150 r227151 1 2018-01-18 Joanmarie Diggs <jdiggs@igalia.com> 2 3 [GTK] AX: Two layout tests crash with error 'g_strstr_len: assertion 'haystack != NULL' failed' in Accessibility::UIElement::url 4 https://bugs.webkit.org/show_bug.cgi?id=176796 5 6 Reviewed by Chris Fleizach. 7 8 Add sanity check that we have a URL before calling g_strstr_len(). 9 10 * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp: 11 (WTR::AccessibilityUIElement::url): 12 1 13 2018-01-18 Ryan Haddad <ryanhaddad@apple.com> 2 14 -
trunk/Tools/WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp
r226432 r227151 2033 2033 GUniquePtr<char> hyperlinkURI(atk_hyperlink_get_uri(hyperlink, 0)); 2034 2034 2035 if (!hyperlinkURI.get()) 2036 return JSStringCreateWithUTF8CString("AXURL: (null)"); 2037 2035 2038 // Build the result string, stripping the absolute URL paths if present. 2036 2039 char* localURI = g_strstr_len(hyperlinkURI.get(), -1, "LayoutTests");
Note: See TracChangeset
for help on using the changeset viewer.