blob: d91a23443a1d9d530151d757429a683d7f8f138e [file] [log] [blame]
<!doctype html>
<meta charset="utf-8">
<title>Grandchild that posts a message to the window.top</title>
<script>
var top_location = '';
var result = '';
try {
top_location = window.top.location.href;
result = 'allowed';
} catch (err) {
result = 'noaccess';
}
window.top.postMessage(result, '*');
</script>