blob: 027f6d624ada1c73b0069176a5ca5c61fa4ae55e [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script>
frame = document.createElement('iframe');
document.body.appendChild(frame);
frame.contentWindow.Promise.resolve("test").then(() => {
parent.postMessage("Promise was resolved", "*");
});
</script>
</body>
</html>