OLD | NEW |
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)'); |
8 | 8 |
9 /** | 9 /** |
10 * TestFixture for certificate manager WebUI testing. | 10 * TestFixture for certificate manager WebUI testing. |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 expectFalse($('personalCertsTab-import').disabled); | 193 expectFalse($('personalCertsTab-import').disabled); |
194 if (this.isChromeOS) | 194 if (this.isChromeOS) |
195 expectFalse($('personalCertsTab-import-and-bind').disabled); | 195 expectFalse($('personalCertsTab-import-and-bind').disabled); |
196 // Tree should be empty. | 196 // Tree should be empty. |
197 expectTrue(personalCerts.querySelector('div.tree-item') === null); | 197 expectTrue(personalCerts.querySelector('div.tree-item') === null); |
198 }); | 198 }); |
199 | 199 |
200 // TODO(mattm): add more tests. | 200 // TODO(mattm): add more tests. |
201 | 201 |
202 GEN('#endif // defined(USE_NSS)'); | 202 GEN('#endif // defined(USE_NSS)'); |
OLD | NEW |