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

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: Rebasing + Fix merge conflicts. 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 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',

Powered by Google App Engine
This is Rietveld 408576698