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

Unified Diff: chrome/test/data/webui/media_router/media_router_elements_browsertest.js

Issue 1820763003: [Media Router WebUI] Handle on dialog load focus on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 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
« no previous file with comments | « chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/media_router/media_router_elements_browsertest.js
diff --git a/chrome/test/data/webui/media_router/media_router_elements_browsertest.js b/chrome/test/data/webui/media_router/media_router_elements_browsertest.js
index 26e66889eed907b38a1f8b9fdd48d25f74a7e72d..a9ecef949344067513770e313b7b470f457ef78f 100644
--- a/chrome/test/data/webui/media_router/media_router_elements_browsertest.js
+++ b/chrome/test/data/webui/media_router/media_router_elements_browsertest.js
@@ -39,6 +39,17 @@ MediaRouterElementsBrowserTest.prototype = {
'media_router_search_highlighter.js',
'route_details_tests.js',
]),
+
+ /** @override */
+ setUp: function() {
+ PolymerTest.prototype.setUp.call(this);
+
+ // This element is used as a focus placeholder on dialog open, then
+ // deleted. The user will be unable to tab to it. Remove when there is a
+ // long term fix.
+ this.accessibilityAuditConfig.ignoreSelectors(
+ 'focusableElementNotVisibleAndNotAriaHidden', '#focus-placeholder');
+ },
};
TEST_F('MediaRouterElementsBrowserTest', 'MediaRouterElementsTestIssueBanner',
« no previous file with comments | « chrome/browser/resources/media_router/elements/media_router_header/media_router_header.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698