Summary: | Web Inspector: Add a new layout test for better coverage of accessibility "focused" in inspector-protocol DOM.getAccessibilityPropertiesForNode | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | James Craig <jcraig> | ||||||||||||||||||||
Component: | Web Inspector | Assignee: | Diego Pino <dpino> | ||||||||||||||||||||
Status: | REOPENED --- | ||||||||||||||||||||||
Severity: | Normal | CC: | buildbot, commit-queue, ews-watchlist, graouts, hi, inspector-bugzilla-changes, pangle, rniwa, webkit-bug-importer | ||||||||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||||||||||
Hardware: | All | ||||||||||||||||||||||
OS: | All | ||||||||||||||||||||||
Bug Depends on: | 129779, 130952 | ||||||||||||||||||||||
Bug Blocks: | |||||||||||||||||||||||
Attachments: |
|
Description
James Craig
2014-03-13 09:38:14 PDT
Diego, would you like to take this one since you worked on the focused/focusable bits? If not, kick it back to unassigned and I'll get to it eventually. (In reply to comment #1) > Diego, would you like to take this one since you worked on the focused/focusable bits? If not, kick it back to unassigned and I'll get to it eventually. Yes sure, nice. Created attachment 226729 [details]
Patch
I tried to add a non-focusable element and focus on it, with the expectation that focused were false, but what actually happened was that I got a protocol error: PROTOCOL ERROR: {"code":-32000,"message":"Element is not focusable"} That means that DOM.focus cannot focus a non-focusable element, and that's the reason why there's no test with "focused: false". Comment on attachment 226729 [details]
Patch
The result might need rebaselined for new properties.
Created attachment 227654 [details]
Patch
Comment on attachment 227654 [details] Patch Rejecting attachment 227654 [details] from commit-queue. New failing tests: inspector-protocol/dom/getAccessibilityPropertiesForNode-focused.html Full output: http://webkit-queues.appspot.com/results/4766140945399808 Created attachment 227815 [details]
Archive of layout-test-results from webkit-cq-02 for mac-mountainlion
The attached test failures were seen while running run-webkit-tests on the commit-queue.
Bot: webkit-cq-02 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Comment on attachment 227654 [details] Patch Attachment 227654 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4668046509604864 New failing tests: inspector-protocol/dom/getAccessibilityPropertiesForNode-focused.html Created attachment 227856 [details]
Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2
The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-15 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Comment on attachment 227654 [details] Patch Attachment 227654 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/4707749187289088 New failing tests: inspector-protocol/dom/getAccessibilityPropertiesForNode-focused.html Created attachment 227859 [details]
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-07 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Comment on attachment 227654 [details] Patch Attachment 227654 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/4610112769490944 New failing tests: inspector-protocol/dom/getAccessibilityPropertiesForNode-focused.html Created attachment 227866 [details]
Archive of layout-test-results from webkit-ews-05 for mac-mountainlion
The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-05 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Created attachment 228132 [details]
Patch
Comment on attachment 228132 [details] Patch Clearing flags on attachment: 228132 Committed r166467: <http://trac.webkit.org/changeset/166467> All reviewed patches have been landed. Closing bug. This test fails on all or nearly all bots, will roll out. http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=inspector-protocol%2Fdom%2FgetAccessibilityPropertiesForNode-focused.html Re-opened since this is blocked by bug 130952 Created attachment 444948 [details]
Patch
Created attachment 445171 [details]
Patch
Comment on attachment 445171 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445171&action=review > LayoutTests/inspector/dom/getAccessibilityPropertiesForNode_focused.html:129 > + InspectorProtocol.sendCommand("DOM.getDocument", {}, onGotDocument); Can we redo this test to be an inspector test (i.e. `InspectorTest`) instead? We usually prefer that instead of a protocol test (i.e. `InspectorProtocol`) unless the thing being tested is is specific to the nature of the protocol itself, as inspector tests give greater coverage for the thing being tested within the greater Web Inspector instead of standalone. |