1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 GEN_INCLUDE(['downloads_ui_browsertest_base.js']);
6 GEN('#include "chrome/browser/ui/webui/downloads_ui_supervised_browsertest.h"');
9 * Fixture for Downloads WebUI testing for a supervised user.
10 * @extends {BaseDownloadsWebUITest}
13 function DownloadsWebUIForSupervisedUsersTest() {}
15 DownloadsWebUIForSupervisedUsersTest.prototype = {
16 __proto__: BaseDownloadsWebUITest.prototype,
19 typedefCppFixture: 'DownloadsWebUIForSupervisedUsersTest',
22 // Test UI for supervised users, removing entries should be disabled
23 // and removal controls should be hidden.
24 TEST_F('DownloadsWebUIForSupervisedUsersTest', 'SupervisedUsers', function() {
25 this.expectDeleteControlsVisible(false);