summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mixed-content/allowed/meta-csp/same-host-https/fetch-request/top-level/no-redirect/allowed.https.html
blob: 825fb2441b4fc836b570e71fe79785c041903739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<!-- DO NOT EDIT! Generated by mixed-content/generic/tools/generate.py using mixed-content/generic/template/test.release.html.template. -->
<html>
  <head>
    <title>Mixed-Content: Allowed content</title>
    <meta charset='utf-8'>
    <meta name="description" content="Test behavior of allowed content.">
    <link rel="author" title="Kristijan Burnik" href="burnik@chromium.org">
    <link rel="help" href="http://www.w3.org/TR/mixed-content/">
    <meta name="assert" content="opt_in_method: meta-csp
                                 origin: same-host-https
                                 source_scheme: https
                                 context_nesting: top-level
                                 redirection: no-redirect
                                 subresource: fetch-request
                                 expectation: allowed">
    <meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/mixed-content/generic/common.js"></script>
    <script src="/mixed-content/generic/mixed-content-test-case.js?pipe=sub"></script>
  </head>
  <body>
    <script>
      MixedContentTestCase(
        {
          "opt_in_method": "meta-csp",
          "origin": "same-host-https",
          "source_scheme": "https",
          "context_nesting": "top-level",
          "redirection": "no-redirect",
          "subresource": "fetch-request",
          "expectation": "allowed"
        },
        document.querySelector("meta[name=assert]").content,
        new SanityChecker()
      ).start();
      </script>
    <div id="log"></div>
  </body>
</html>