| Index: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/blink-contrib/function-constructor-allowed.sub.html
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/blink-contrib/function-constructor-allowed.sub.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/blink-contrib/function-constructor-allowed.sub.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..92cd088c52f511aa0f14dfde4f69753bf18ded1a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/blink-contrib/function-constructor-allowed.sub.html
|
| @@ -0,0 +1,25 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +
|
| +<head>
|
| + <!-- Programmatically converted from a WebKit Reftest, please forgive resulting idiosyncracies.-->
|
| + <title>function-constructor-allowed</title>
|
| + <script src="/resources/testharness.js"></script>
|
| + <script src="/resources/testharnessreport.js"></script>
|
| + <script src="../support/logTest.sub.js?logs=[]"></script>
|
| + <script src='../support/alertAssert.sub.js?alerts=["PASS"]'></script>
|
| + <!-- enforcing policy:
|
| +script-src 'self' 'unsafe-inline' 'unsafe-inline' 'unsafe-eval'; connect-src 'self';
|
| +-->
|
| +</head>
|
| +
|
| +<body>
|
| + <script>
|
| + (new Function("alert_assert('PASS')"))();
|
| +
|
| + </script>
|
| + <div id="log"></div>
|
| + <script async defer src="../support/checkReport.sub.js?reportExists=false"></script>
|
| +</body>
|
| +
|
| +</html>
|
|
|