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

Unified Diff: chrome/test/data/extensions/api_test/bluetooth_low_energy/uuid_permission_events/runtest.js

Issue 593163002: Short-circuit failures in BLE js tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 6 years, 3 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/extensions/api_test/bluetooth_low_energy/uuid_permission_events/runtest.js
diff --git a/chrome/test/data/extensions/api_test/bluetooth_low_energy/uuid_permission_events/runtest.js b/chrome/test/data/extensions/api_test/bluetooth_low_energy/uuid_permission_events/runtest.js
index 9acd2dcac2bbc5f6b66175558d01963e7f12f579..ed840f4e788eef9f0d301f3a59d0b47c4d50ea4f 100644
--- a/chrome/test/data/extensions/api_test/bluetooth_low_energy/uuid_permission_events/runtest.js
+++ b/chrome/test/data/extensions/api_test/bluetooth_low_energy/uuid_permission_events/runtest.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
function listener(data) {
- chrome.test.fail('Event should not have been received.');
+ chrome.test.sendMessage('Event should not have been received.');
}
chrome.bluetoothLowEnergy.onServiceChanged.addListener(listener);

Powered by Google App Engine
This is Rietveld 408576698