Index: Source/modules/bluetooth/BluetoothError.cpp |
diff --git a/Source/modules/bluetooth/BluetoothError.cpp b/Source/modules/bluetooth/BluetoothError.cpp |
index 6e5c28dbcbbfac6ef26c537ee224db0346b7809b..c6e87c57908480dbd3b61e6e1661a9350082cef7 100644 |
--- a/Source/modules/bluetooth/BluetoothError.cpp |
+++ b/Source/modules/bluetooth/BluetoothError.cpp |
@@ -39,14 +39,9 @@ DOMException* BluetoothError::take(ScriptPromiseResolver*, const WebBluetoothErr |
MAP_ERROR(UntranslatedConnectErrorCode, NetworkError, "Unknown ConnectErrorCode."); |
// NotFoundErrors: |
- MAP_ERROR(BluetoothAdapterOff, NotFoundError, "Bluetooth adapter is off."); |
MAP_ERROR(NoBluetoothAdapter, NotFoundError, "Bluetooth adapter not available."); |
- MAP_ERROR(NoBluetoothChooser, NotFoundError, "Can't show Bluetooth chooser dialog."); |
- MAP_ERROR(DiscoverySessionStartFailed, NotFoundError, "Couldn't start discovery session."); |
- MAP_ERROR(DiscoverySessionStopFailed, NotFoundError, "Failed to stop discovery session."); |
MAP_ERROR(ChosenDeviceVanished, NotFoundError, "User selected a device that doesn't exist anymore."); |
MAP_ERROR(ChooserCancelled, NotFoundError, "User cancelled the requestDevice() chooser."); |
- MAP_ERROR(NoDevicesFound, NotFoundError, "No Bluetooth devices in range."); |
MAP_ERROR(ServiceNotFound, NotFoundError, "Service not found in device."); |
MAP_ERROR(CharacteristicNotFound, NotFoundError, "Characteristic not found in device."); |