| Index: chrome/test/data/extensions/api_test/bluetooth_socket/listen/runtest.js
|
| diff --git a/chrome/test/data/extensions/api_test/bluetooth_socket/listen/runtest.js b/chrome/test/data/extensions/api_test/bluetooth_socket/listen/runtest.js
|
| index 2372faadff6d62720b10ce20aaf2ccd594960e3c..63a05af6f2efabc97d8a5f532bdf38af196572a0 100644
|
| --- a/chrome/test/data/extensions/api_test/bluetooth_socket/listen/runtest.js
|
| +++ b/chrome/test/data/extensions/api_test/bluetooth_socket/listen/runtest.js
|
| @@ -75,7 +75,26 @@ function secondStage() {
|
| function() {
|
| expectError("Permission denied");
|
|
|
| - chrome.test.sendMessage('ready', startTests);
|
| + chrome.bluetoothSocket.listenUsingL2cap(
|
| + socket.socketId, uuid, {'psm': 1234},
|
| + function() {
|
| + expectError("Invalid PSM");
|
| +
|
| + chrome.bluetoothSocket.listenUsingL2cap(
|
| + socket.socketId, uuid, {'psm': 4369},
|
| + function() {
|
| + expectError("Invalid PSM");
|
| +
|
| + chrome.bluetoothSocket.listenUsingL2cap(
|
| + socket.socketId, uuid, {'psm': 13},
|
| + function() {
|
| + expectError("Invalid PSM");
|
| +
|
| + chrome.test.sendMessage(
|
| + 'ready', startTests);
|
| + });
|
| + });
|
| + });
|
| });
|
| });
|
| });
|
|
|