| Index: third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js | 
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js b/third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js | 
| index a6f9310c828e78020a41e9ec14b2ea6184242e0d..9667135fc81c91037b7679d1f1ad28438bfffad3 100644 | 
| --- a/third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js | 
| +++ b/third_party/WebKit/LayoutTests/bluetooth/resources/bluetooth-helpers.js | 
| @@ -150,6 +150,12 @@ function getBluetoothManualChooserEvents(expected_count) { | 
| }); | 
| } | 
|  | 
| +function setBluetoothFakeAdapter(adapter_name) { | 
| +  return new Promise(resolve => { | 
| +    testRunner.setBluetoothFakeAdapter(adapter_name, resolve); | 
| +  }); | 
| +} | 
| + | 
| // errorUUID(alias) returns a UUID with the top 32 bits of | 
| // '00000000-97e5-4cd7-b9f1-f5a427670c59' replaced with the bits of |alias|. | 
| // For example, errorUUID(0xDEADBEEF) returns | 
| @@ -318,5 +324,6 @@ add_result_callback(() => { | 
| // https://crbug.com/581855 | 
| testRunner.setPageVisibility('hidden'); | 
| testRunner.setPageVisibility('visible'); | 
| -  testRunner.setBluetoothMockDataSet(''); | 
| +  testRunner.setBluetoothManualChooser(false); | 
| +  setBluetoothFakeAdapter(''); | 
| }); | 
|  |