Index: third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
index c540bdb4d4e9385232a6c0505daf52f7a81d5fb9..7e1ab26e653d38fc8259a4eebcc692c26c7700d4 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
@@ -48,6 +48,7 @@ DOMException* BluetoothError::take(ScriptPromiseResolver*, const WebBluetoothErr |
MAP_ERROR(NoBluetoothAdapter, NotFoundError, "Bluetooth adapter not available."); |
MAP_ERROR(ChosenDeviceVanished, NotFoundError, "User selected a device that doesn't exist anymore."); |
MAP_ERROR(ChooserCancelled, NotFoundError, "User cancelled the requestDevice() chooser."); |
+ MAP_ERROR(ChooserDisabled, NotFoundError, "User or their enterprise policy has disabled Web Bluetooth globally."); |
MAP_ERROR(ChooserDeniedPermission, NotFoundError, "User denied the browser permission to scan for Bluetooth devices."); |
MAP_ERROR(ServiceNotFound, NotFoundError, "Service not found in device."); |
MAP_ERROR(CharacteristicNotFound, NotFoundError, "Characteristic not found in device."); |