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

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

Issue 298553002: Options: maintain history entries on the parent frame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dbeam comments Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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('#if defined(OS_CHROMEOS)'); 5 GEN('#if defined(OS_CHROMEOS)');
6 6
7 function BluetoothWebUITest() {} 7 function BluetoothWebUITest() {}
8 8
9 BluetoothWebUITest.prototype = { 9 BluetoothWebUITest.prototype = {
10 __proto__: testing.Test.prototype, 10 __proto__: testing.Test.prototype,
11 11
12 /** 12 /**
13 * Start tests from the main-settings page. 13 * Start tests from the main-settings page.
14 */ 14 */
15 browsePreload: 'chrome://settings-frame/settings', 15 browsePreload: 'chrome://settings-frame/',
16 16
17 /** 17 /**
18 * @override 18 * @override
19 */ 19 */
20 preLoad: function() { 20 preLoad: function() {
21 this.makeAndRegisterMockHandler([ 21 this.makeAndRegisterMockHandler([
22 'bluetoothEnableChange', 22 'bluetoothEnableChange',
23 'updateBluetoothDevice', 23 'updateBluetoothDevice',
24 'findBluetoothDevices', 24 'findBluetoothDevices',
25 'stopBluetoothDeviceDiscovery', 25 'stopBluetoothDeviceDiscovery',
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 assertTrue(!!element); 365 assertTrue(!!element);
366 var label = element.querySelector('.bluetooth-device-label'); 366 var label = element.querySelector('.bluetooth-device-label');
367 assertTrue(!!label); 367 assertTrue(!!label);
368 assertEquals(maliciousStrings[i], label.textContent); 368 assertEquals(maliciousStrings[i], label.textContent);
369 assertEquals(pairDeviceDialogSize, nodeCount(pairDeviceDialog)); 369 assertEquals(pairDeviceDialogSize, nodeCount(pairDeviceDialog));
370 } 370 }
371 371
372 }); 372 });
373 373
374 GEN('#endif'); 374 GEN('#endif');
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/browser_options_browsertest.js ('k') | chrome/browser/ui/webui/options/options_browsertest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698