testing/web-platform/tests/content-security-policy/frame-ancestors/frame-ancestors-nested-cross-in-same-none-block.html
author Lando <lando@lando.test>
Fri, 11 Jul 2025 04:32:24 +0000 (4 hours ago)
changeset 796014 f14d1c1492bc6791542a001365abbca4bd9b28db
parent 357850 1ee09646e328f0d43feb567f209ab99f123776af
permissions -rw-r--r--
Merge autoland to mozilla-central

<!DOCTYPE html>
<html>
<head>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="support/frame-ancestors-test.sub.js"></script>
</head>
<body>
    <script>
        test = async_test("A 'frame-ancestors' CSP directive with a value 'none' should block rendering in nested frames.");

        testNestedIFrame("'none'", SAME_ORIGIN, CROSS_ORIGIN, EXPECT_BLOCK);
    </script>
</body>
</html>