Summary: | [GTK] Add support in DRT to log "accessibility events" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mario Sanchez Prada <mario> | ||||||
Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | cfleizach, mrobinson, xan.lopez | ||||||
Priority: | P2 | Keywords: | Gtk | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 53146 | ||||||||
Attachments: |
|
Description
Mario Sanchez Prada
2011-02-09 10:10:45 PST
Blocking bug 53146, as this stuff (or something similar) would be required to implement a proper test. Created attachment 81837 [details]
Patch proposal
Attaching a patch proposal, with a specific implementation for GTK and dummy ones for Mac and Win.
Created attachment 81867 [details]
Patch proposal
Sorry, this is the right one to review
Comment on attachment 81867 [details] Patch proposal View in context: https://bugs.webkit.org/attachment.cgi?id=81867&action=review r=me > Tools/DumpRenderTree/AccessibilityController.cpp:86 > + Seems like this should take an argument (true/false) so you can turn this on or off (In reply to comment #4) > (From update of attachment 81867 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=81867&action=review > > r=me > Thanks for the quick review! > > Tools/DumpRenderTree/AccessibilityController.cpp:86 > > + > > Seems like this should take an argument (true/false) so you can turn this on or off I just followed the same pattern I've seen for other functions, such as logFocusEvents and logValueChangeEvents: you just enable the feature once per test (with accessibilityController.logAccessibilityEvents()) and it gets always reset in the AccessibilityController::resetToConsistentState() method. I think that's enough for this cases, but if you (well, or somebody else) think it would be better to add that extra flexibility just file a bug, or ask me to do it so, and I gladly add that feature as well. Committed r78179: <http://trac.webkit.org/changeset/78179> |