Changeset 100596 in webkit
- Timestamp:
- Nov 17, 2011 3:47:31 AM (12 years ago)
- Location:
- trunk/Source/WebKit/gtk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/gtk/ChangeLog
r100424 r100596 1 2011-11-17 Mario Sanchez Prada <msanchez@igalia.com> 2 3 [GTK] ATK API tests failing because of patch for bug 72390 4 https://bugs.webkit.org/show_bug.cgi?id=72592 5 6 Reviewed by Philippe Normand. 7 8 * tests/testatk.c: 9 (testWebkitAtkParentForRootObject): Remove the offending line in 10 the unit test, which is not actually required to test the new 11 functionality and causes problems in some scenarios, due to the 12 lazy creation mechanism of AtkObjects. 13 14 * tests/testatkroles.c: 15 (finish_loading): Reflect that the document frame object is no 16 longer the root accessibility object (a scroll pane from now on), 17 but the only child of that one. Thus, skip that root object. 18 1 19 2011-11-16 Mario Sanchez Prada <msanchez@igalia.com> 2 20 -
trunk/Source/WebKit/gtk/tests/testatk.c
r100424 r100596 1626 1626 g_assert(ATK_IS_OBJECT(axBox)); 1627 1627 1628 g_assert_cmpint(atk_object_get_n_accessible_children(axBox), ==, 1);1629 1628 AtkObject* axBoxChild = atk_object_ref_accessible_child(axBox, 0); 1630 1629 g_assert(axBoxChild); -
trunk/Source/WebKit/gtk/tests/testatkroles.c
r98239 r100596 60 60 g_main_loop_quit(fixture->loop); 61 61 62 fixture->documentFrame = gtk_widget_get_accessible(fixture->webView); 62 // With the change to support WK2 accessibility, the root object 63 // has changed and it's no longer the document frame, but a scroll 64 // pane containing the document frame as its only child. See the 65 // bug 72390 for more details on this change. 66 // https://bugs.webkit.org/show_bug.cgi?id=72390 67 AtkObject* rootObject = gtk_widget_get_accessible(fixture->webView); 68 fixture->documentFrame = atk_object_ref_accessible_child(rootObject, 0); 63 69 g_assert(fixture->documentFrame); 64 70 71 // Remove the reference added by ref_accessible_child() and 72 // return, since we don't need to keep that extra ref at all. 73 g_object_unref(fixture->documentFrame); 65 74 return FALSE; 66 75 }
Note: See TracChangeset
for help on using the changeset viewer.