OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/chromeos/' + | 6 GEN('#include "chrome/browser/ui/webui/options/chromeos/' + |
7 'guest_mode_options_browsertest.h"'); | 7 'guest_mode_options_browsertest.h"'); |
8 | 8 |
9 /** | 9 /** |
10 * TestFixture for guest mode options WebUI testing. | 10 * TestFixture for guest mode options WebUI testing. |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 expectTrue($('timezone-value-select').disabled); | 63 expectTrue($('timezone-value-select').disabled); |
64 expectFalse($('resolve-timezone-by-geolocation').disabled); | 64 expectFalse($('resolve-timezone-by-geolocation').disabled); |
65 expectFalse($('use-24hour-clock').disabled); | 65 expectFalse($('use-24hour-clock').disabled); |
66 | 66 |
67 // Privacy section. | 67 // Privacy section. |
68 expectTrue(this.getControlForPref('search.suggest_enabled').disabled); | 68 expectTrue(this.getControlForPref('search.suggest_enabled').disabled); |
69 expectTrue($('networkPredictionOptions').disabled); | 69 expectTrue($('networkPredictionOptions').disabled); |
70 | 70 |
71 // Web content section. | 71 // Web content section. |
72 expectTrue($('defaultZoomFactor').disabled); | 72 expectTrue($('defaultZoomFactor').disabled); |
| 73 expectTrue($('defaultZoomScope').disabled); |
73 | 74 |
74 // Downloads section. | 75 // Downloads section. |
75 expectTrue(this.getControlForPref('gdata.disabled').disabled); | 76 expectTrue(this.getControlForPref('gdata.disabled').disabled); |
76 | 77 |
77 // Content settings overlay. | 78 // Content settings overlay. |
78 expectTrue(this.getControlForPref('settings.privacy.drm_enabled').disabled); | 79 expectTrue(this.getControlForPref('settings.privacy.drm_enabled').disabled); |
79 expectTrue($('protected-content-exceptions').disabled); | 80 expectTrue($('protected-content-exceptions').disabled); |
80 }); | 81 }); |
OLD | NEW |