chromium/chrome/test/data/devtools/extensions/simple_content_script/simple_content_script.js

function buttonClickListener(e) {
  var localVar = e + 'a';
  debugger;
}


var button = document.getElementById('btn');
if (button) {
  button.addEventListener('click', buttonClickListener, false);
}