<!DOCTYPE html><!-- webkit-test-runner [ WebAuthenticationModernEnabled=false ] -->
<html>
<head>
    <meta charset="utf-8">
    <title>Web Authentication API: Tests that a frame that is cross-origin with feature policy can access the API.</title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/common/utils.js"></script>
    <script src="/common/get-host-info.sub.js"></script>
    <script src="./util.js"></script>
</head>
<body>
    <script>
        promise_test(t => {
            // localhost is cross-origin here.
            return withSameSiteIframe("samesite-iframe.html", "publickey-credentials-get").then((message) => {
                assert_equals(message.data, "PASS!");
            });
        }, "Tests that a frame that is cross-origin, NOT same-site with publickey-credentials-get feature policy can use get().");
    </script>
</body>
</html>
