| 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 643385aa185b4e103c5cdb4144828c7320783d58..7868d5a2caff7ba742acf22c7abc030b0c345c1b 100644
|
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
|
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp
|
| @@ -92,6 +92,10 @@ DOMException* BluetoothError::take(ScriptPromiseResolver*,
|
| "No Characteristics with specified UUID found in Service.");
|
| MAP_ERROR(NO_CHARACTERISTICS_FOUND, NotFoundError,
|
| "No Characteristics found in service.");
|
| + MAP_ERROR(DESCRIPTOR_NOT_FOUND, NotFoundError,
|
| + "No Descriptors with specified UUID found in Characteristic.");
|
| + MAP_ERROR(NO_DESCRIPTORS_FOUND, NotFoundError,
|
| + "No Descriptors found in Characteristic.");
|
| MAP_ERROR(BLUETOOTH_LOW_ENERGY_NOT_AVAILABLE, NotFoundError,
|
| "Bluetooth Low Energy not available.");
|
|
|
| @@ -112,6 +116,9 @@ DOMException* BluetoothError::take(ScriptPromiseResolver*,
|
| MAP_ERROR(BLOCKLISTED_CHARACTERISTIC_UUID, SecurityError,
|
| "getCharacteristic(s) called with blocklisted UUID. "
|
| "https://goo.gl/4NeimX");
|
| + MAP_ERROR(BLOCKLISTED_DESCRIPTOR_UUID, SecurityError,
|
| + "getDescriptor(s) called with blocklisted UUID. "
|
| + "https://goo.gl/4NeimX");
|
| MAP_ERROR(BLOCKLISTED_READ, SecurityError,
|
| "readValue() called on blocklisted object marked "
|
| "exclude-reads. https://goo.gl/4NeimX");
|
|
|