Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8482)

Unified Diff: chrome/test/data/extensions/api_test/bluetooth_low_energy/gatt_connection/runtest.js

Issue 2727683003: bluetooth: Clean up connection errors (Closed)
Patch Set: merge Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 77161fcebb6f7e96a249cede2d6a8a18c8fe7071..73615a6e438dd6d14fb7055abf6ad1eab0d3e321 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,13 +17,6 @@ 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)
@@ -76,13 +69,6 @@ queue = [function() {
makeConnectErrorFunction(errorCanceled),
makeConnectErrorFunction(errorTimeout),
makeConnectErrorFunction(errorUnsupportedDevice),
- makeConnectErrorFunction(errorAttributeLengthInvalid),
- makeConnectErrorFunction(errorConnectionCongested),
- makeConnectErrorFunction(errorInsufficientEncryption),
- makeConnectErrorFunction(errorOffsetInvalid),
- makeConnectErrorFunction(errorReadNotPermitted),
- makeConnectErrorFunction(errorRequestNotSupported),
- makeConnectErrorFunction(errorWriteNotPermitted),
function () {
expectSuccess();
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/bluetooth_options_handler.cc ('k') | content/browser/bluetooth/bluetooth_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698