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

Unified Diff: third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js

Issue 1922923002: bluetooth: Move requestDevice to mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-separate-tests-request-device
Patch Set: Remove debug log Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js
diff --git a/third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js b/third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js
index 6735a3b04e706217177533717911ac0baa13a87d..bd558ceabbb3cdece27ecf1616cef868db0b7b66 100644
--- a/third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js
+++ b/third_party/WebKit/LayoutTests/resources/bluetooth/bluetooth-helpers.js
@@ -328,12 +328,3 @@ function generateRequestDeviceArgsWithServices(services = ['heart_rate']) {
optionalServices: ['heart_rate']
}];
}
-
-// Bluetooth tests sometimes have left-over state that could leak into the
-// next test. add_result_callback which is exposed by testharness.js allows us
-// to clean up this state after each test. Once the move to Mojo is complete
-// we will no longer need to clean up the state manually.
-// https://crbug.com/508771
-add_result_callback(() => {
- setBluetoothFakeAdapter('');
-});

Powered by Google App Engine
This is Rietveld 408576698