<!DOCTYPE html>
<html>
<head>
	<script>
	onpagehide = function() {
	  window.top.document.getElementById('a-frame').contentWindow.test();
	}
	</script>
</head>
<body>
I am subframe-2.html
</body>
</html>
