summaryrefslogtreecommitdiffstats
path: root/dom/security/test/csp/file_allow_https_schemes.html
blob: 787e683e873e0e848951387834f62a443f5f7a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE HTML>
<html>
  <head>
    <title>Bug 826805 - CSP: Allow http and https for scheme-less sources</title>
  </head>
  <body>
  <div id="testdiv">blocked</div>
  <!--
    We resue file_path_matching.js which just updates the contents of 'testdiv' to contain allowed.
    Note, that we are loading the file_path_matchting.js using a scheme of 'https'.
   -->
  <script src="https://example.com/tests/dom/security/test/csp/file_path_matching.js#foo"></script>
</body>
</html>