function sendToInterstitialAndWait(testName) {
  testPort.postMessage(testName);
  chrome.test.listenOnce(testPort.onMessage, function(msg) {
    chrome.test.assertEq(testName, msg);
  });
}
// Start a test and wait until the set-up (not necessarily the test!) is done.
Start a test and wait until the set-up (not necessarily the test!) is done.
Start a test and wait until the set - up ( not necessarily the test! ) is done .
function sendToInterstitialAndWait(testName) {
  testPort.postMessage(testName);
  chrome.test.listenOnce(testPort.onMessage, function(msg) {
    chrome.test.assertEq(testName, msg);
  });
}
function sendToInterstitialAndWait ( testName ) { testPort . postMessage ( testName ) ; chrome . test . listenOnce ( testPort . onMessage , function ( msg ) { chrome . test . assertEq ( testName , msg ) ; } ) ; }
Start a test and wait until the set-up (not necessarily the test!)
Start a test and wait until the set - up ( not necessarily the test! )