function failOnError(result) {
  if (chrome.runtime.lastError || !result) {
    chrome.test.fail(chrome.runtime.lastError.message);
    return true;
  }
  return false;
}
// found in the LICENSE file.
found in the LICENSE file.
found in the LICENSE file .
function failOnError(result) {
  if (chrome.runtime.lastError || !result) {
    chrome.test.fail(chrome.runtime.lastError.message);
    return true;
  }
  return false;
}
function failOnError ( result ) { if ( chrome . runtime . lastError || ! result ) { chrome . test . fail ( chrome . runtime . lastError . message ) ; return true ; } return false ; }
found in the LICENSE file.
found in the LICENSE file .