function testCancelPairing() {
  chrome.bluetoothPrivate.onPairing.addListener(function(pairingEvent) {
    chrome.test.assertEq('requestAuthorization', pairingEvent.pairing);
    chrome.bluetoothPrivate.setPairingResponse({
        device: pairingEvent.device,
        response: 'cancel',
    }, function() {
      chrome.test.assertNoLastError();
      chrome.test.succeed();
    });
  });
}
// found in the LICENSE file.
found in the LICENSE file.
found in the LICENSE file .
function testCancelPairing() {
  chrome.bluetoothPrivate.onPairing.addListener(function(pairingEvent) {
    chrome.test.assertEq('requestAuthorization', pairingEvent.pairing);
    chrome.bluetoothPrivate.setPairingResponse({
        device: pairingEvent.device,
        response: 'cancel',
    }, function() {
      chrome.test.assertNoLastError();
      chrome.test.succeed();
    });
  });
}
function testCancelPairing ( ) { chrome . bluetoothPrivate . onPairing . addListener ( function ( pairingEvent ) { chrome . test . assertEq ( 'requestAuthorization' , pairingEvent . pairing ) ; chrome . bluetoothPrivate . setPairingResponse ( { device : pairingEvent . device , response : 'cancel' , } , function ( ) { chrome . test . assertNoLastError ( ) ; chrome . test . succeed ( ) ; } ) ; } ) ; }
found in the LICENSE file.
found in the LICENSE file .