Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / security / contentSecurityPolicy / 1.1 / child-src / worker-shared-blocked.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <script src="/js-test-resources/js-test.js"></script>
5     <script src="/security/contentSecurityPolicy/resources/child-src-test.js"></script>
6     <meta http-equiv="Content-Security-Policy" content="child-src 'none';">
7 </head>
8 <body>
9     <script>
10         description("SharedWorkers should be governed by 'child-src'.");
11         injectSharedWorker("/security/contentSecurityPolicy/resources/alert-fail.js", EXPECT_BLOCK);
12     </script>
13 </body>
14 </html>