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

Side by Side Diff: chrome/browser/ui/webui/options/options_browsertest.js

Issue 2475813002: Enable Native CUPS printing on Chrome OS. (Closed)
Patch Set: rebase Created 3 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 unified diff | Download patch
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 GEN_INCLUDE(['options_browsertest_base.js']); 5 GEN_INCLUDE(['options_browsertest_base.js']);
6 GEN('#include "chrome/browser/ui/webui/options/options_browsertest.h"'); 6 GEN('#include "chrome/browser/ui/webui/options/options_browsertest.h"');
7 7
8 /** @const */ var SUPERVISED_USERS_PREF = 'profile.managed_users'; 8 /** @const */ var SUPERVISED_USERS_PREF = 'profile.managed_users';
9 9
10 /** 10 /**
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // AX_ARIA_10: http://crbug.com/559329 88 // AX_ARIA_10: http://crbug.com/559329
89 this.accessibilityAuditConfig.ignoreSelectors( 89 this.accessibilityAuditConfig.ignoreSelectors(
90 'unsupportedAriaAttribute', 90 'unsupportedAriaAttribute',
91 '#profiles-list'); 91 '#profiles-list');
92 92
93 var linkWithUnclearPurposeSelectors = [ 93 var linkWithUnclearPurposeSelectors = [
94 '#sync-overview > A', 94 '#sync-overview > A',
95 '#privacy-explanation > A', 95 '#privacy-explanation > A',
96 '#languages-section > .settings-row > A', 96 '#languages-section > .settings-row > A',
97 '#cloudprint-options-mdns > .settings-row > A', 97 '#cloudprint-options-mdns > .settings-row > A',
98 '#cups-printers-section > .settings-row > A',
98 '#do-not-track-confirm-overlay > .action-area > .hbox.stretch > A', 99 '#do-not-track-confirm-overlay > .action-area > .hbox.stretch > A',
99 ]; 100 ];
100 101
101 // Enable when failure is resolved. 102 // Enable when failure is resolved.
102 // AX_TEXT_04: http://crbug.com/559318 103 // AX_TEXT_04: http://crbug.com/559318
103 this.accessibilityAuditConfig.ignoreSelectors( 104 this.accessibilityAuditConfig.ignoreSelectors(
104 'linkWithUnclearPurpose', 105 'linkWithUnclearPurpose',
105 linkWithUnclearPurposeSelectors); 106 linkWithUnclearPurposeSelectors);
106 107
107 // Causes testDefaultZoomFactor to flake. See http://crbug.com/611233. 108 // Causes testDefaultZoomFactor to flake. See http://crbug.com/611233.
(...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 __proto__: OptionsWebUIExtendedTest.prototype, 960 __proto__: OptionsWebUIExtendedTest.prototype,
960 961
961 /** @override */ 962 /** @override */
962 browsePreload: 'chrome://settings-frame/nonexistantPage', 963 browsePreload: 'chrome://settings-frame/nonexistantPage',
963 }; 964 };
964 965
965 TEST_F('OptionsWebUIRedirectTest', 'TestURL', function() { 966 TEST_F('OptionsWebUIRedirectTest', 'TestURL', function() {
966 assertEquals('chrome://settings-frame/', document.location.href); 967 assertEquals('chrome://settings-frame/', document.location.href);
967 this.verifyHistory_([''], testDone); 968 this.verifyHistory_([''], testDone);
968 }); 969 });
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.cc ('k') | chrome/browser/ui/webui/print_preview/print_preview_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698