| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-preload-blocked.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-preload-blocked.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-preload-blocked.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..efd3cf04b40adf5a9f851d3b2720d3bcef4c15ea
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-preload-blocked.html
|
| @@ -0,0 +1,16 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<meta http-equiv="Content-Security-Policy" content="connect-src http://foobar.test:8000; script-src http://127.0.0.1:8000 'unsafe-inline'">
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<link rel=preload href="../../resources/dummy.js" id=preload>
|
| +<script>
|
| + var t = async_test('Makes sure that connect-src allows link preload resources with no as type');
|
| + var preload = document.getElementById("preload");
|
| + preload.onerror = t.step(function(){
|
| + t.done();
|
| + });
|
| +</script>
|
| +</head>
|
| +<body>
|
|
|