function runTest(testName) {
  chrome.test.getConfig(function(config) {
    embedder.baseGuestURL = 'http://localhost:' + config.testServer.port;
    embedder.guestURL = embedder.baseGuestURL + '/media_access_guest.html';
    chrome.test.log('Guest url is: ' + embedder.guestURL);

    var testFunction = embedder.tests.list[testName];
    if (!testFunction) {
      embedder.failTest('No such test: ' + testName);
      return;
    }
    testFunction();
  });
}
// Entry point for test, called by WebViewTest.
Entry point for test, called by WebViewTest.
Entry point for test called by WebViewTest .
function runTest(testName) {
  chrome.test.getConfig(function(config) {
    embedder.baseGuestURL = 'http://localhost:' + config.testServer.port;
    embedder.guestURL = embedder.baseGuestURL + '/media_access_guest.html';
    chrome.test.log('Guest url is: ' + embedder.guestURL);
    var testFunction = embedder.tests.list[testName];
    if (!testFunction) {
      embedder.failTest('No such test: ' + testName);
      return;
    }
    testFunction();
  });
}
function runTest ( testName ) { chrome . test . getConfig ( function ( config ) { embedder . baseGuestURL = 'http://localhost:' + config . testServer . port ; embedder . guestURL = embedder . baseGuestURL + '/media_access_guest.html' ; chrome . test . log ( 'Guest url is: ' + embedder . guestURL ) ; var testFunction = embedder . tests . list [ testName ] ; if ( ! testFunction ) { embedder . failTest ( 'No such test: ' + testName ) ; return ; } testFunction ( ) ; } ) ; }
Entry point for test, called by WebViewTest.
Entry point for test called by WebViewTest .