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 fca8ec07edbe8c7ffa3061cc0c91b9af21febcf4..44462f30e7eb80c47f8726150a98ccdfe09e1f33 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', |