Log Message
[Win] Accessibility implementation unable to recurse through document (sometimes) to find named elements https://bugs.webkit.org/show_bug.cgi?id=140798
Reviewed by Brent Fulgham. Make sure layout is up-to-date before trying to find named elements. * DumpRenderTree/win/AccessibilityControllerWin.cpp: (AccessibilityController::rootElement):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (202148 => 202149)
--- trunk/Tools/ChangeLog 2016-06-16 23:39:29 UTC (rev 202148)
+++ trunk/Tools/ChangeLog 2016-06-17 00:00:40 UTC (rev 202149)
@@ -1,3 +1,15 @@
+2016-06-16 Per Arne Vollan <[email protected]>
+
+ [Win] Accessibility implementation unable to recurse through document (sometimes) to find named elements
+ https://bugs.webkit.org/show_bug.cgi?id=140798
+
+ Reviewed by Brent Fulgham.
+
+ Make sure layout is up-to-date before trying to find named elements.
+
+ * DumpRenderTree/win/AccessibilityControllerWin.cpp:
+ (AccessibilityController::rootElement):
+
2016-06-16 Chris Dumez <[email protected]>
Unreviewed, rolling out r202002 and r202111.
Modified: trunk/Tools/DumpRenderTree/win/AccessibilityControllerWin.cpp (202148 => 202149)
--- trunk/Tools/DumpRenderTree/win/AccessibilityControllerWin.cpp 2016-06-16 23:39:29 UTC (rev 202148)
+++ trunk/Tools/DumpRenderTree/win/AccessibilityControllerWin.cpp 2016-06-17 00:00:40 UTC (rev 202149)
@@ -160,6 +160,11 @@
if (FAILED(viewPrivate->viewWindow(&webViewWindow)))
return 0;
+ // Make sure the layout is up to date, so we can find all accessible elements.
+ COMPtr<IWebFramePrivate> framePrivate(Query, frame);
+ if (framePrivate)
+ framePrivate->layout();
+
// Get the root accessible object by querying for the accessible object for the
// WebView's window.
COMPtr<IAccessible> rootAccessible;
_______________________________________________ webkit-changes mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-changes
