| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta http-equiv="Content-Security-Policy" content="connect-src http://127.0.0.1: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.onload = t.step(function(){ |
| t.done(); |
| }); |
| </script> |
| </head> |
| <body> |