| Index: chrome/test/data/webui/net_internals/net_internals_test.js
|
| diff --git a/chrome/test/data/webui/net_internals/net_internals_test.js b/chrome/test/data/webui/net_internals/net_internals_test.js
|
| index 56bc93f61c1d2020280c025a8d30a67e1eb7a59a..eaacc8b5bfdc6b9adcdaf17fb6ec97f455f971e8 100644
|
| --- a/chrome/test/data/webui/net_internals/net_internals_test.js
|
| +++ b/chrome/test/data/webui/net_internals/net_internals_test.js
|
| @@ -56,6 +56,8 @@ var NetInternalsTest = (function() {
|
| isAsync: true,
|
|
|
| setUp: function() {
|
| + testing.Test.prototype.setUp.call(this);
|
| +
|
| // Enforce accessibility auditing, but suppress some false positives.
|
| this.accessibilityIssuesAreErrors = true;
|
| // False positive because a unicode character is used to draw a square.
|
| @@ -79,6 +81,27 @@ var NetInternalsTest = (function() {
|
| this.accessibilityAuditConfig.auditRulesToIgnore.push(
|
| 'focusableElementNotVisibleAndNotAriaHidden');
|
|
|
| + var controlsWithoutLabelSelectors = [
|
| + '#export-view-user-comments',
|
| + '#hsts-view-add-input',
|
| + '#hsts-view-delete-input',
|
| + '#hsts-view-query-input',
|
| + ];
|
| +
|
| + // Enable when failure is resolved.
|
| + // AX_TEXT_01: http://crbug.com/559203
|
| + controlsWithoutLabelSelectors.forEach(function(selector) {
|
| + this.accessibilityAuditConfig.ignoreSelectors(
|
| + 'controlsWithoutLabel',
|
| + selector);
|
| + }.bind(this));
|
| +
|
| + // Enable when warning is resolved.
|
| + // AX_HTML_01: http://crbug.com/559204
|
| + this.accessibilityAuditConfig.ignoreSelectors(
|
| + 'humanLangMissing',
|
| + 'html');
|
| +
|
| // Wrap g_browser.receive around a test function so that assert and expect
|
| // functions can be called from observers.
|
| g_browser.receive =
|
|
|