  });

  return Promise.all(tests).then(function() {
    return support;
  });
}

function getWidevineCdmInfo() {
  if (!('Widevine Content Decryption Module' in navigator.plugins)) {
    return "Widevine CDM plugin not loaded.";
  }

  var plugin = navigator.plugins['Widevine Content Decryption Module'];
  return "Widevine CDM plugin:\n" + JSON.stringify({
    "name": plugin.name,
    "filename": plugin.filename,
    "description": plugin.description,
  }, null, '  ')
}

function printSupport(support) {
  