blob: a933532c28875e67031ff38b8778f8d9efd31316 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
window.onmessage = (event) => {
document.body.innerHTML = event.data === false ? "PASS" : "FAIL";
if (window.testRunner)
testRunner.notifyDone();
}
window.onload = () => {
var url = 'data:text/html,<scri' + 'pt>parent.postMessage(window.isSecureContext, "*");</scri' + 'pt>';
document.body.innerHTML = "<iframe src='" + url + "'></iframe>";
};
</script>