<commit_before><script>

var pass = chrome.test.callbackPass;
var fail = chrome.test.callbackFail;

var tabId;
var debuggee;
var protocolVersion = "0.1";

chrome.test.runTests([

  function attachMalformedVersion() {
    chrome.tabs.getSelected(null, function(tab) {
      chrome.experimental.debugger.attach({tabId: tab.id}, "malformed-version",
          fail("Given protocol version is not supported: malformed-version."));
    });
  },

  function attachUnsupportedVersion() {
    chrome.tabs.getSelected(null, function(tab) {
      chrome.experimental.debugger.attach({tabId: tab.id}, "1.0",
          fail("Given protocol version is not supported: 1.0."));
    });
  },

  function attach() {
    chrome.tabs.getSelected(null, function(tab) {
      tabId = tab.id;
      debuggee = {tabId: tab.id};
      chrome.experimental.debugger.attach(debuggee, protocolVersion, pass());
    });
  },

  function attachAgain() {
    chrome.experimental.debugger.attach(debuggee, protocolVersion,
        fail("Another debugger is already attached to the tab with id: " +
                 tabId + "."));
  },

  function sendCommand() {
    function onResponse() {
      if (chrome.extension.lastError &&<commit_msg>DevTools: unbreak extensions debugger tests.<commit_after><script>

var pass = chrome.test.callbackPass;
var fail = chrome.test.callbackFail;

var tabId;
var debuggee;
var protocolVersion = "0.1";

chrome.test.runTests([

  function attachMalformedVersion() {
    chrome.tabs.getSelected(null, function(tab) {
      chrome.experimental.debugger.attach({tabId: tab.id}, "malformed-version",
          fail("Requested protocol version is not supported: malformed-version."));
    });
  },

  function attachUnsupportedVersion() {
    chrome.tabs.getSelected(null, function(tab) {
      chrome.experimental.debugger.attach({tabId: tab.id}, "1.0",
          fail("Requested protocol version is not supported: 1.0."));
    });
  },

  function attach() {
    chrome.tabs.getSelected(null, function(tab) {
      tabId = tab.id;
      debuggee = {tabId: tab.id};
      chrome.experimental.debugger.attach(debuggee, protocolVersion, pass());
    });
  },

  function attachAgain() {
    chrome.experimental.debugger.attach(debuggee, protocolVersion,
        fail("Another debugger is already attached to the tab with id: " +
                 tabId + "."));
  },

  function sendCommand() {
    function onResponse() {
      if (chrome.extension.lastError &&
{'fraction_non_alphanumeric': 0.13582757218381455, 'fraction_numerical': 0.004880032533550223, 'mean_word_length': 3.377224199288256, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '136395', 'n_tokens_mistral': 767, 'n_tokens_neox': 722, 'n_words': 156}