function sendToTest(message) {
  messagePort.postMessage(JSON.stringify({
    'type': 'sendToTest',
    'data': message
  }));
}
// Sends a message to the test, via the page.
Sends a message to the test, via the page.
Sends a message to the test via the page .
function sendToTest(message) {
  messagePort.postMessage(JSON.stringify({
    'type': 'sendToTest',
    'data': message
  }));
}
function sendToTest ( message ) { messagePort . postMessage ( JSON . stringify ( { 'type' : 'sendToTest' , 'data' : message } ) ) ; }
Sends a message to the test, via the page.
Sends a message to the test via the page .