Chromium Code Reviews| 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 3c3374a062f86334a8f3e2ebc23cafc37cac2a63..a3f600a3c8d3085164e8469a09da522704f15b83 100644 |
| --- a/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
| +++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothError.cpp |
| @@ -36,6 +36,13 @@ DOMException* BluetoothError::take(ScriptPromiseResolver*, const WebBluetoothErr |
| MAP_ERROR(ConnectAuthRejected, NetworkError, "Authentication rejected."); |
| MAP_ERROR(ConnectAuthTimeout, NetworkError, "Authentication timeout."); |
| MAP_ERROR(ConnectUnsupportedDevice, NetworkError, "Unsupported device."); |
| + MAP_ERROR(ConnectAttributeLengthInvalid, NetworkError, "Write operation exceeds the maximum length of the attribute."); |
|
scheib
2015/11/26 00:02:51
Sort alphabetically all NetworkError items.
Kai Jiang
2015/11/29 10:40:52
Done.
|
| + MAP_ERROR(ConnectConnectionCongested, NetworkError, "Remote device connection is congested."); |
| + MAP_ERROR(ConnectInsufficientEncryption, NetworkError, "Insufficient encryption for a given operation"); |
| + MAP_ERROR(ConnectOffsetInvalid, NetworkError, "Read or write operation was requested with an invalid offset."); |
| + MAP_ERROR(ConnectReadFailed, NetworkError, "GATT read operation is not permitted."); |
|
scheib
2015/11/26 00:02:51
ConnectReadNotPermitted
Kai Jiang
2015/11/29 10:40:52
Done.
|
| + MAP_ERROR(ConnectRequestNotSupported, NetworkError, "The given request is not supported."); |
| + MAP_ERROR(ConnectWriteFailed, NetworkError, "GATT write operation is not permitted."); |
|
scheib
2015/11/26 00:02:51
ConnectWriteNotPermitted
Kai Jiang
2015/11/29 10:40:52
Done.
|
| MAP_ERROR(UntranslatedConnectErrorCode, NetworkError, "Unknown ConnectErrorCode."); |
| // NotFoundErrors: |