Index: chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js |
diff --git a/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js b/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js |
index 1a053497181df4aa5143d6aff2e4a7e9390eefa5..d5325442c9d154a69278149554305c3eab2a7b0f 100644 |
--- a/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js |
+++ b/chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js |
@@ -18,8 +18,8 @@ chrome.bluetooth.onConnection.addListener( |
function(socket) { |
deviceName = socket.device.name; |
deviceAddress = socket.device.address; |
- profileUuid = socket.profile.uuid; |
- chrome.bluetooth.disconnect({'socket': socket}); |
+ profileUuid = socket.uuid; |
+ chrome.bluetooth.disconnect({'socketId': socket.id}); |
}); |
chrome.test.sendMessage('ready', |