<!DOCTYPE html>
<html>
<head>
<script>
function test() {
window.top.console.log('XMLHttpRequest in subframe-1 created');
var xhr = new XMLHttpRequest();
xhr.open('GET', 'about:empty', true);
}
</script>
</head>
<body>
I am subframe-1
</body>
</html>