| Index: third_party/WebKit/LayoutTests/bluetooth/server/connect/garbage-collection-ran-during-error.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/server/connect/garbage-collection-ran-during-error.html b/third_party/WebKit/LayoutTests/bluetooth/server/connect/garbage-collection-ran-during-error.html
|
| index 29e49336778fc1b09907f32afe69e1e316fe1f95..9aa12e37f081da191561ab58776152625bbb0f8e 100644
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/server/connect/garbage-collection-ran-during-error.html
|
| +++ b/third_party/WebKit/LayoutTests/bluetooth/server/connect/garbage-collection-ran-during-error.html
|
| @@ -4,12 +4,12 @@
|
| <script src="../../../resources/bluetooth/bluetooth-helpers.js"></script>
|
| <script>
|
| 'use strict';
|
| -promise_test(() => {
|
| +promise_test(t => {
|
| return setBluetoothFakeAdapter('FailingConnectionsAdapter')
|
| .then(() => requestDeviceWithKeyDown({
|
| filters: [{services: [errorUUID(0x1) /* in progress error */]}]}))
|
| .then(device => {
|
| - device.gatt.connect();
|
| + promise_rejects(t, 'NetworkError', device.gatt.connect());
|
| })
|
| .then(runGarbageCollection);
|
| }, 'Garbage collection ran during a connect call that fails. ' +
|
|
|