<html>
<head>
    <script>
        window.onload = function()
        {
            document.implementation.foo = "FAIL";
            window.parent.postMessage("test", "*");
        }
    </script>
</head>
<body>
</body>
</html>
