1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 function testPasskeyPairing() {
6 chrome
.bluetoothPrivate
.onPairing
.addListener(function(pairingEvent
) {
7 chrome
.test
.assertEq('requestPasskey', pairingEvent
.pairing
);
8 chrome
.bluetoothPrivate
.setPairingResponse({
9 device
: pairingEvent
.device
,
13 chrome
.test
.assertNoLastError();
14 chrome
.test
.succeed();
19 chrome
.test
.runTests([testPasskeyPairing
]);