blob: 0b9be6f38d83996df813d0ea1c89c82064e7b462 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="/js-test-resources/js-test.js"></script>
<script>
description("Tests that JS prompts are allowed in cross-origin frames");
jsTestIsAsync = true;
onmessage = (e) => {
if (e.data == "done")
finishJSTest();
else
debug(e.data);
}
</script>
<iframe src="http://localhost:8000/security/resources/cross-origin-js-prompt-allowed.html"></iframe>
</body>
</html>