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

Side by Side Diff: chrome/test/data/webui/test_api.js

Issue 290493004: Bring accessibility-audit up to date (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: rebase Created 6 years, 7 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/accessibility-audit/README.chromium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Library providing basic test framework functionality. 6 * @fileoverview Library providing basic test framework functionality.
7 */ 7 */
8 8
9 /** 9 /**
10 * Namespace for |Test|. 10 * Namespace for |Test|.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 135
136 /** 136 /**
137 * Returns the configuration for the accessibility audit, creating it 137 * Returns the configuration for the accessibility audit, creating it
138 * on-demand. 138 * on-demand.
139 * @return {axs.AuditConfiguration} 139 * @return {axs.AuditConfiguration}
140 */ 140 */
141 get accessibilityAuditConfig() { 141 get accessibilityAuditConfig() {
142 if (!this.accessibilityAuditConfig_) { 142 if (!this.accessibilityAuditConfig_) {
143 this.accessibilityAuditConfig_ = new axs.AuditConfiguration(); 143 this.accessibilityAuditConfig_ = new axs.AuditConfiguration();
144 144
145 this.accessibilityAuditConfig_.showUnsupportedRulesWarning = false;
146
145 this.accessibilityAuditConfig_.auditRulesToIgnore = [ 147 this.accessibilityAuditConfig_.auditRulesToIgnore = [
146 // The "elements with meaningful background image" accessibility 148 // The "elements with meaningful background image" accessibility
147 // audit (AX_IMAGE_01) does not apply, since Chrome doesn't 149 // audit (AX_IMAGE_01) does not apply, since Chrome doesn't
148 // disable background images in high-contrast mode like some 150 // disable background images in high-contrast mode like some
149 // browsers do. 151 // browsers do.
150 "elementsWithMeaningfulBackgroundImage", 152 "elementsWithMeaningfulBackgroundImage",
151 153
152 // Most WebUI pages are inside an IFrame, so the "web page should 154 // Most WebUI pages are inside an IFrame, so the "web page should
153 // have a title that describes topic or purpose" test (AX_TITLE_01) 155 // have a title that describes topic or purpose" test (AX_TITLE_01)
154 // generally does not apply. 156 // generally does not apply.
(...skipping 1607 matching lines...) Expand 10 before | Expand all | Expand 10 after
1762 exports.TEST = TEST; 1764 exports.TEST = TEST;
1763 exports.TEST_F = TEST_F; 1765 exports.TEST_F = TEST_F;
1764 exports.RUNTIME_TEST_F = TEST_F; 1766 exports.RUNTIME_TEST_F = TEST_F;
1765 exports.GEN = GEN; 1767 exports.GEN = GEN;
1766 exports.GEN_INCLUDE = GEN_INCLUDE; 1768 exports.GEN_INCLUDE = GEN_INCLUDE;
1767 exports.WhenTestDone = WhenTestDone; 1769 exports.WhenTestDone = WhenTestDone;
1768 1770
1769 // Import the Mock4JS helpers. 1771 // Import the Mock4JS helpers.
1770 Mock4JS.addMockSupport(exports); 1772 Mock4JS.addMockSupport(exports);
1771 })(this); 1773 })(this);
OLDNEW
« no previous file with comments | « no previous file | third_party/accessibility-audit/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698