OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 /** @fileoverview Suite of tests for site-details. */ | 5 /** @fileoverview Suite of tests for site-details. */ |
6 cr.define('site_details', function() { | 6 cr.define('site_details', function() { |
7 function registerTests() { | 7 function registerTests() { |
8 suite('SiteDetails', function() { | 8 suite('SiteDetails', function() { |
9 /** | 9 /** |
10 * A site list element created before each test. | 10 * A site list element created before each test. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 }, | 58 }, |
59 ], | 59 ], |
60 javascript: [ | 60 javascript: [ |
61 { | 61 { |
62 embeddingOrigin: 'https://foo-allow.com:443', | 62 embeddingOrigin: 'https://foo-allow.com:443', |
63 origin: 'https://foo-allow.com:443', | 63 origin: 'https://foo-allow.com:443', |
64 setting: 'allow', | 64 setting: 'allow', |
65 source: 'preference', | 65 source: 'preference', |
66 }, | 66 }, |
67 ], | 67 ], |
68 keygen: [ | |
69 { | |
70 embeddingOrigin: 'https://foo-allow.com:443', | |
71 origin: 'https://foo-allow.com:443', | |
72 setting: 'allow', | |
73 source: 'preference', | |
74 }, | |
75 ], | |
76 mic: [ | 68 mic: [ |
77 { | 69 { |
78 embeddingOrigin: 'https://foo-allow.com:443', | 70 embeddingOrigin: 'https://foo-allow.com:443', |
79 origin: 'https://foo-allow.com:443', | 71 origin: 'https://foo-allow.com:443', |
80 setting: 'allow', | 72 setting: 'allow', |
81 source: 'preference', | 73 source: 'preference', |
82 }, | 74 }, |
83 ], | 75 ], |
84 notifications: [ | 76 notifications: [ |
85 { | 77 { |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 201 |
210 //expect usage to be rendered | 202 //expect usage to be rendered |
211 assertTrue(!!testElement.$$('#usage')); | 203 assertTrue(!!testElement.$$('#usage')); |
212 }); | 204 }); |
213 }); | 205 }); |
214 } | 206 } |
215 return { | 207 return { |
216 registerTests: registerTests, | 208 registerTests: registerTests, |
217 }; | 209 }; |
218 }); | 210 }); |
OLD | NEW |