blob: 5a4a48969985210e9a49db5414f1c4c2acd32e10 [file] [log] [blame] [edit]
<!DOCTYPE HTML>
<html>
<head>
<title>Utility page which embeds a reporting page on the chosen host</title>
</head>
<body>
<script>
const searchParams = new URLSearchParams(window.location.search);
const host = searchParams.get('host') || '{{hosts[][]}}';
const reportID = searchParams.get('reportID') || '';
const frame = document.createElement('iframe');
frame.src = `https://${host}:{{ports[https][0]}}/reporting/resources/same-origin-report.https.sub.html?reportID=${reportID}`;
document.body.appendChild(frame);
</script>
</body>
</html>