blob: 12247f501b38cdce9c70aba5b33058f5ddc3f387 [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="/js-test-resources/js-test.js"></script>
<script>
description("Tests that a promise in a cross-origin iframe properly gets resolved after the iframe gets detached.");
jsTestIsAsync = true;
onmessage = () => {
testPassed("Promise was resolved");
finishJSTest();
};
</script>
<iframe src="http://localhost:8000/eventloop/resources/promise-from-cross-origin-detached-iframe-subframe.html"></iframe>
</body>
</html>