<!DOCTYPE html>
<html>
<head>
<script>
function test() {
window.top.console.log('Timeout in subframe-1 created');
setTimeout(function() {
alert('Timeout created in subframe-1.html fired');
}, 50);
}
</script>
</head>
<body>
I am subframe-1.html
</body>
</html>