| Index: third_party/WebKit/LayoutTests/http/tests/feature-policy/cross-origin-feature-disabled.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/feature-policy/cross-origin-feature-disabled.php b/third_party/WebKit/LayoutTests/http/tests/feature-policy/cross-origin-feature-disabled.php
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cf84fb15af504f548ea67f21481223746ec2d926
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/feature-policy/cross-origin-feature-disabled.php
|
| @@ -0,0 +1,19 @@
|
| +<?php
|
| +Header("Feature-Policy: {\"docwrite\": [\"self\"]}");
|
| +?>
|
| +<html>
|
| +<head>
|
| +<script>
|
| +if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.dumpChildFramesAsText();
|
| +}
|
| +</script>
|
| +</head>
|
| +<body>
|
| +<p>This iframe should not return any errors:</p>
|
| +<iframe src="http://localhost:8000/feature-policy/resources/cross-origin-iframe-for-feature-disabled.html"></iframe>
|
| +<p>This iframe should not return any errors:</p>
|
| +<iframe src="http://127.0.0.1:8000/feature-policy/resources/cross-origin-iframe-for-feature-enabled.html"></iframe>
|
| +</body>
|
| +</html>
|
|
|