OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <meta http-equiv="Content-Security-Policy" content="connect-src http://foobar.te st:8000; script-src http://127.0.0.1:8000 'unsafe-inline'"> | |
5 <script src="../../resources/testharness.js"></script> | |
6 <script src="../../resources/testharnessreport.js"></script> | |
7 <link rel=preload href="../../resources/dummy.js" id=preload> | |
8 <script> | |
9 var t = async_test('Makes sure that connect-src allows link preload resource s with no as type'); | |
10 var preload = document.getElementById("preload"); | |
11 preload.onerror = t.step(function(){ | |
12 t.done(); | |
13 }); | |
14 </script> | |
15 </head> | |
16 <body> | |
OLD | NEW |