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

Unified Diff: third_party/WebKit/LayoutTests/bluetooth/getCharacteristic-blacklist.html

Issue 1815483003: bluetooth: Create Mojo equivalent of SetBluetoothMockDataSet (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-mojo
Patch Set: MMerge with ToT Created 4 years, 9 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/bluetooth/getCharacteristic-blacklist.html
diff --git a/third_party/WebKit/LayoutTests/bluetooth/getCharacteristic-blacklist.html b/third_party/WebKit/LayoutTests/bluetooth/getCharacteristic-blacklist.html
index fc2c8f589f7d385668e65d6777acf5650772f745..ecf4539d3705d01b6c36cc768469b7c9524d4416 100644
--- a/third_party/WebKit/LayoutTests/bluetooth/getCharacteristic-blacklist.html
+++ b/third_party/WebKit/LayoutTests/bluetooth/getCharacteristic-blacklist.html
@@ -9,11 +9,9 @@ test(t => { assert_true(window.testRunner instanceof Object); t.done(); },
'window.testRunner is required for the following tests.');
promise_test(() => {
- testRunner.setBluetoothMockDataSet('BlacklistTestAdapter');
- return requestDeviceWithKeyDown(
- {
- filters: [{services: ['device_information']}]
- })
+ return setBluetoothFakeAdapter('BlacklistTestAdapter')
+ .then(() => requestDeviceWithKeyDown({
+ filters: [{services: ['device_information']}]}))
.then(device => device.gatt.connect())
.then(gattServer => gattServer.getPrimaryService('device_information'))
.then(service => {

Powered by Google App Engine
This is Rietveld 408576698