summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_link_rel_preload.html
blob: 8af49a77fec6f32bb063f6824822a49fff55ac98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<html>
<head>
  <title>Bug 1599791 - Test link rel=preload</title>
  <!-- Please note that fakeServer does not exist in our testsuite -->
  <meta http-equiv="Content-Security-Policy" content="default-src 'none'">
  <link rel="preload" as="script" href="fakeServer?script"></link>
  <link rel="preload" as="style" href="fakeServer?style"></link>
  <link rel="preload" as="image" href="fakeServer?image"></link>
  <link rel="preload" as="fetch" href="fakeServer?fetch"></link>
  <link rel="preload" as="font" href="fakeServer?font"></link>

  <link rel="stylesheet" href="fakeServer?style">
</head>
<body>
<script src="fakeServer?script"></script>
<img src="fakeServer?image"></img>
</body>
</html>