Revision a337d7247981123b1c81810227bd49c9d9bedd98 authored by Anne van Kesteren on 24 April 2018, 09:35:09 UTC, committed by Anne van Kesteren on 24 April 2018, 09:35:09 UTC
The plan of record is for CSP to define X-Frame-Options (with small parts of it in HTML). Moving this directory there to reduce top-level directories (without owner).

Helps with #5915.
1 parent 0d56422
Raw File
access-control-basic-allow-star.htm
<!DOCTYPE html>
<html>
  <head>
    <title>Tests "*" setting for Access-Control-Allow-Origin header</title>
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/common/get-host-info.sub.js"></script>
  </head>
  <body>
    <script type="text/javascript">
    const xhr = new XMLHttpRequest;

    test(function(test) {
      xhr.open("GET", get_host_info().HTTP_REMOTE_ORIGIN + "/xhr/resources/access-control-basic-allow-star.py", false);

      xhr.send();

      assert_equals(xhr.responseText, "PASS: Cross-domain access allowed.");
    }, "Allow star");
    </script>
  </body>
</html>
back to top