<!doctype html>
<head>
<title>Test Clear-Site-Data and partitioned storage</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/storage/resources/testharness-helpers.js"></script>
</head>
<body>
<script>
if (window.location.hostname != ORIGINAL_HOST) {
window.location.hostname = ORIGINAL_HOST;
}
const iframe = document.createElement("iframe");
const url = new URL(
"/storage/partitioned-storage/resources/" +
"clear-site-data-cross-site-frame.html?step=1",
`https://${TEST_HOST}:${window.location.port}`);
iframe.src = String(url);
document.body.appendChild(iframe);
fetch_tests_from_window(iframe.contentWindow);
</script>
</body>