| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-allowed.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-allowed.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-allowed.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..3e8d5cd6c839445e5e98792e23fe226efacd1ba4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/service-worker-allowed.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<meta http-equiv="Content-Security-Policy" content="child-src 'self';">
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script>
|
| + var t = async_test('Test that a service worker can be registered');
|
| + navigator.serviceWorker.register("resources/service-worker.js").then(function (registration) {
|
| + t.done();
|
| + });
|
| +</script>
|
| +</head>
|
| +<body>
|
|
|