| Index: third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/disconnect-called-during-success.html
|
| diff --git a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/disconnect-called-during-success.html b/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/disconnect-called-during-success.html
|
| deleted file mode 100644
|
| index aff27b39cbcf2a5cfa179d8ea96d0f3fbd91c474..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/bluetooth/getPrimaryServices/disconnect-called-during-success.html
|
| +++ /dev/null
|
| @@ -1,23 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<script src="../../resources/testharness.js"></script>
|
| -<script src="../../resources/testharnessreport.js"></script>
|
| -<script src="../../resources/bluetooth/bluetooth-helpers.js"></script>
|
| -<script>
|
| -'use strict';
|
| -promise_test(() => {
|
| - return setBluetoothFakeAdapter('TwoHeartRateServicesAdapter')
|
| - .then(() => requestDeviceWithKeyDown({
|
| - filters: [{services: ['heart_rate']}],
|
| - optionalServices: ['generic_access']}))
|
| - .then(device => device.gatt.connect())
|
| - .then(gattServer => {
|
| - let promise = assert_promise_rejects_with_message(
|
| - gattServer.getPrimaryServices(),
|
| - new DOMException('GATT Server disconnected while retrieving services.',
|
| - 'NetworkError'));
|
| - gattServer.disconnect();
|
| - return promise;
|
| - });
|
| -}, 'disconnect() called during a getPrimaryServices call that succeeds. ' +
|
| - 'Reject with NetworkError.');
|
| -</script>
|
|
|