| Index: chrome/test/data/extensions/api_test/bluetooth_low_energy/gatt_connection/runtest.js
|
| diff --git a/chrome/test/data/extensions/api_test/bluetooth_low_energy/gatt_connection/runtest.js b/chrome/test/data/extensions/api_test/bluetooth_low_energy/gatt_connection/runtest.js
|
| index 73615a6e438dd6d14fb7055abf6ad1eab0d3e321..77161fcebb6f7e96a249cede2d6a8a18c8fe7071 100644
|
| --- a/chrome/test/data/extensions/api_test/bluetooth_low_energy/gatt_connection/runtest.js
|
| +++ b/chrome/test/data/extensions/api_test/bluetooth_low_energy/gatt_connection/runtest.js
|
| @@ -17,6 +17,13 @@ var errorCanceled = 'Request canceled';
|
| var errorTimeout = 'Operation timed out';
|
| var errorUnsupportedDevice = 'This device is not supported on ' +
|
| 'the current platform';
|
| +var errorAttributeLengthInvalid = 'Attribute length invalid';
|
| +var errorConnectionCongested = 'Connection congested';
|
| +var errorInsufficientEncryption = 'Insufficient encryption';
|
| +var errorOffsetInvalid = 'Offset invalid';
|
| +var errorReadNotPermitted = 'Permission denied';
|
| +var errorRequestNotSupported = 'Request not supported';
|
| +var errorWriteNotPermitted = 'Permission denied';
|
|
|
| function expectError(message) {
|
| if (!chrome.runtime.lastError)
|
| @@ -69,6 +76,13 @@ queue = [function() {
|
| makeConnectErrorFunction(errorCanceled),
|
| makeConnectErrorFunction(errorTimeout),
|
| makeConnectErrorFunction(errorUnsupportedDevice),
|
| + makeConnectErrorFunction(errorAttributeLengthInvalid),
|
| + makeConnectErrorFunction(errorConnectionCongested),
|
| + makeConnectErrorFunction(errorInsufficientEncryption),
|
| + makeConnectErrorFunction(errorOffsetInvalid),
|
| + makeConnectErrorFunction(errorReadNotPermitted),
|
| + makeConnectErrorFunction(errorRequestNotSupported),
|
| + makeConnectErrorFunction(errorWriteNotPermitted),
|
| function () {
|
| expectSuccess();
|
|
|
|
|