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

Unified Diff: chrome/test/data/webui/settings/bluetooth_page_tests.js

Issue 2670833007: MD Settings: Fix bluetooth_page_tests.js in Vulcanized mode. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/webui/settings/bluetooth_page_tests.js
diff --git a/chrome/test/data/webui/settings/bluetooth_page_tests.js b/chrome/test/data/webui/settings/bluetooth_page_tests.js
index dd38476cdfd853902cd1f5da437cffdd607e0756..6e1ccfc4d059e563b497346c9c2bb04e22ef18f2 100644
--- a/chrome/test/data/webui/settings/bluetooth_page_tests.js
+++ b/chrome/test/data/webui/settings/bluetooth_page_tests.js
@@ -38,8 +38,7 @@ suite('Bluetooth', function() {
];
suiteSetup(function() {
- window.loadTimeData = new LoadTimeData;
- loadTimeData.data = {
+ loadTimeData.overrideValues({
bluetoothEnabled: 'bluetoothEnabled',
bluetoothDisabled: 'bluetoothDisabled',
bluetoothOn: 'bluetoothOn',
@@ -48,8 +47,7 @@ suite('Bluetooth', function() {
bluetoothDisconnect: 'bluetoothDisconnect',
bluetoothPair: 'bluetoothPair',
bluetoothStartConnecting: 'bluetoothStartConnecting',
-
- };
+ });
bluetoothApi_ = new settings.FakeBluetooth();
bluetoothPrivateApi_ = new settings.FakeBluetoothPrivate(bluetoothApi_);

Powered by Google App Engine
This is Rietveld 408576698