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

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

Issue 1082123003: Rename USE_NSS to USE_NSS_CERTS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@use-nss-certs
Patch Set: rebase 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 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 // Mac and Windows go to native certificate manager, and certificate manager 5 // Mac and Windows go to native certificate manager, and certificate manager
6 // isn't implemented if OpenSSL is used. 6 // isn't implemented if OpenSSL is used.
7 GEN('#if defined(USE_NSS)'); 7 GEN('#if defined(USE_NSS_CERTS)');
8 8
9 /** 9 /**
10 * TestFixture for certificate manager WebUI testing. 10 * TestFixture for certificate manager WebUI testing.
11 * @extends {testing.Test} 11 * @extends {testing.Test}
12 * @constructor 12 * @constructor
13 */ 13 */
14 function CertificateManagerWebUIBaseTest() {} 14 function CertificateManagerWebUIBaseTest() {}
15 15
16 CertificateManagerWebUIBaseTest.prototype = { 16 CertificateManagerWebUIBaseTest.prototype = {
17 __proto__: testing.Test.prototype, 17 __proto__: testing.Test.prototype,
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 // But the second should show the controlled setting badge, and the 279 // But the second should show the controlled setting badge, and the
280 // edit and delete buttons should be disabled. 280 // edit and delete buttons should be disabled.
281 var cert1 = certs[1]; 281 var cert1 = certs[1];
282 expectEquals('ca_cert1', cert1.data.name); 282 expectEquals('ca_cert1', cert1.data.name);
283 expectNotEquals(null, cert1.querySelector('.cert-policy')); 283 expectNotEquals(null, cert1.querySelector('.cert-policy'));
284 cert1.click(); 284 cert1.click();
285 expectTrue($('caCertsTab-edit').disabled); 285 expectTrue($('caCertsTab-edit').disabled);
286 expectTrue($('caCertsTab-delete').disabled); 286 expectTrue($('caCertsTab-delete').disabled);
287 }); 287 });
288 288
289 GEN('#endif // defined(USE_NSS)'); 289 GEN('#endif // defined(USE_NSS_CERTS)');
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_handler.h ('k') | chrome/browser/ui/webui/options/options_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698