function testLoadAPISameIdAndSrc(extensionId) {
  var extensionview = document.querySelector('extensionview');
  extensionview.load(extensionScheme + extensionId + '/' + srcOne)
      .then(function() {
        return extensionview.load(extensionScheme + extensionId + '/' + srcOne);
      })
      .then(function() {
        checkExtensionAttribute(extensionview, extensionId);
        checkSrcAttribute(
            extensionview, extensionScheme + extensionId + '/' + srcOne);
      })
      .then(embedder.test.succeed, embedder.test.fail);
}
// Call load with the same extension Id and src.
Call load with the same extension Id and src.
Call load with the same extension Id and src .
function testLoadAPISameIdAndSrc(extensionId) {
  var extensionview = document.querySelector('extensionview');
  extensionview.load(extensionScheme + extensionId + '/' + srcOne)
      .then(function() {
        return extensionview.load(extensionScheme + extensionId + '/' + srcOne);
      })
      .then(function() {
        checkExtensionAttribute(extensionview, extensionId);
        checkSrcAttribute(
            extensionview, extensionScheme + extensionId + '/' + srcOne);
      })
      .then(embedder.test.succeed, embedder.test.fail);
}
function testLoadAPISameIdAndSrc ( extensionId ) { var extensionview = document . querySelector ( 'extensionview' ) ; extensionview . load ( extensionScheme + extensionId + '/' + srcOne ) . then ( function ( ) { return extensionview . load ( extensionScheme + extensionId + '/' + srcOne ) ; } ) . then ( function ( ) { checkExtensionAttribute ( extensionview , extensionId ) ; checkSrcAttribute ( extensionview , extensionScheme + extensionId + '/' + srcOne ) ; } ) . then ( embedder . test . succeed , embedder . test . fail ) ; }
Call load with the same extension Id and src.
Call load with the same extension Id and src .