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

Unified Diff: chrome/test/data/extensions/api_test/bluetooth/on_connection/runtest.js

Issue 180163009: chrome.bluetooth API improvements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address code review feedback. Created 6 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/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',

Powered by Google App Engine
This is Rietveld 408576698