chromium/third_party/blink/web_tests/http/tests/security/secureContexts/resources/post-securecontext-status.html

<script>
    if (window.top && window.top != window)
        window.top.postMessage({ "isSecureContext": window.isSecureContext }, "*");
</script>