summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/protectionsUI/file_protectionsUI_fetch.html
blob: 4a7f1a168271e4ae90b6ab66b4c32fe575b9b16e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Testing the shield from fetch and XHR</title>
</head>
<body>
  <p>Hello there!</p>
  <script type="application/javascript">
    function test_fetch() {
      // eslint-disable-next-line @microsoft/sdl/no-insecure-url
      let url = "http://trackertest.org/browser/browser/base/content/test/protectionsUI/file_protectionsUI_fetch.js";
      return fetch(url);
    }
  </script>
</body>
</html>