Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Unified Diff: LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships.html

Issue 1076453004: Show reasons why nodes are ignored in accessibility sidebar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add a catch-all return to ignoredReasonName Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships.html
diff --git a/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships.html b/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships.html
index ce26a6369f640423b7323a1b391acb6cf5e89d99..815a158ef58f7ed23b3d70061a2281216f190988 100644
--- a/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships.html
+++ b/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships.html
@@ -21,13 +21,13 @@ function test()
}
var rootNode = msg.result.root;
- InspectorTest.sendCommand("DOM.querySelector", { "nodeId": rootNode.nodeId, "selector": "ul#rg1" }, onQuerySelector.bind(null, { labelledby: ["h3#rg1_label"], activedescendant: "li#rg1-r4" }));
+ InspectorTest.sendCommand("DOM.querySelector", { "nodeId": rootNode.nodeId, "selector": "ul#rg1" }, onQuerySelector);
numPendingQuerySelectors++;
- InspectorTest.sendCommand("DOM.querySelector", { "nodeId": rootNode.nodeId, "selector": "ul#rg2" }, onQuerySelector.bind(null, { labelledby: ["h3#rg2_label"], activedescendant: null }));
+ InspectorTest.sendCommand("DOM.querySelector", { "nodeId": rootNode.nodeId, "selector": "ul#rg2" }, onQuerySelector);
numPendingQuerySelectors++;
}
- function onQuerySelector(expectation, msg)
+ function onQuerySelector(msg)
{
if (msg.error) {
InspectorTest.log(msg.error.message);

Powered by Google App Engine
This is Rietveld 408576698