1
0
Fork 0
firefox/testing/web-platform/tests/reporting/resources/middle-frame.https.sub.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

16 lines
584 B
HTML

<!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>