зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
470 B
HTML
17 строки
470 B
HTML
|
|
<!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>
|