Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / http / tests / security / contentSecurityPolicy / worker-script-src.html
index c8402f8..52ebbb1 100644 (file)
@@ -6,14 +6,13 @@
 if (window.testRunner) {
     testRunner.dumpAsText();
 }
-if (window.internals)
-    internals.settings.setExperimentalContentSecurityPolicyFeaturesEnabled(false);
 </script>
 </head>
 <body>
 <script>
 try {
-    var foo = new Worker('http://127.0.0.1:8000/security/contentSecurityPolicy/resources/alert-fail.js');
+    var foo = new Worker('http://127.0.0.1:8000/security/contentSecurityPolicy/resources/alert-pass.js');
+    alert("PASS");
 } catch (e) {
    alert(e);
 }