function testPluginElement() {
    var plugin = document.getElementById('plugin');
    chrome.test.assertEq('embed', plugin.localName);

    chrome.test.assertTrue(
        plugin.getAttribute('src').indexOf('/pdf/test.pdf') != -1);
    chrome.test.succeed();
  }
/**
   * Test that the plugin element exists and is navigated to the correct URL.
   */
Test that the plugin element exists and is navigated to the correct URL.
Test that the plugin element exists and is navigated to the correct URL .
function testPluginElement() {
    var plugin = document.getElementById('plugin');
    chrome.test.assertEq('embed', plugin.localName);
    chrome.test.assertTrue(
        plugin.getAttribute('src').indexOf('/pdf/test.pdf') != -1);
    chrome.test.succeed();
  }
function testPluginElement ( ) { var plugin = document . getElementById ( 'plugin' ) ; chrome . test . assertEq ( 'embed' , plugin . localName ) ; chrome . test . assertTrue ( plugin . getAttribute ( 'src' ) . indexOf ( '/pdf/test.pdf' ) != - 1 ) ; chrome . test . succeed ( ) ; }
Test that the plugin element exists and is navigated to the correct URL.
Test that the plugin element exists and is navigated to the correct URL .