docs: function send() {
    'use strict';
    var req = new XMLHttpRequest(),
      specs = jsApiReporter.specs(),
      payload;
  
    if (specs.length) {
      specs.push(logs);
    }
    payload = JSON.stringify(specs);
  
    req.open('post', 'http://localhost:' + port + '/put', true);
    req.onload = function () {
      if (this.responseText === 'kill') {
        chrome.app.window.current().close();
      }
    };
    req.send(payload);
  }