| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-affects-cross-site-child-allowed.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-affects-cross-site-child-allowed.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-affects-cross-site-child-allowed.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5082621749d50e533fee5557e9f87735a8b2f19e
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-affects-cross-site-child-allowed.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <meta http-equiv="Content-Security-Policy" content="plugin-types application/x-blink-test-plugin">
|
| + <script src="../resources/dump-as-text.js"></script>
|
| +</head>
|
| +<body>
|
| + <p>
|
| + This tests a scenario where an iframe element's src attribute points
|
| + to a cross-site URI that loads a plugin. In this test the plugin
|
| + is allowed by the plugin-types Content Security Policy directive,
|
| + therefore the test passes if
|
| + 1) there is a "Blink Test Plugin: initializing" console message
|
| + 2) there is no console message indicating CSP violation
|
| + </p>
|
| +
|
| + <!-- the URI below is cross-site from the default layout tests site
|
| + http://127.0.0.1:8000 -->
|
| + <iframe type="application/x-blink-test-plugin"
|
| + src="http://localhost:8000/plugins/resources/mock-plugin.pl"></iframe>
|
| +</body>
|
| +</html>
|
|
|