testing/web-platform/tests/content-security-policy/gen/top.http-rp/worker-src-none/worker-module.http.html
author Serban Stanca <sstanca@mozilla.com>
Mon, 14 Jul 2025 00:37:50 +0300 (11 hours ago)
changeset 796395 57c30f1adca5fb5ccd4a9a09192c41e207e28d88
parent 571108 a38522fd269a283208d9868135fac87e7742e98e
permissions -rw-r--r--
Revert "Bug 1950748 part 3: Don't return a caret inside an editor when no editor is focused. r=morgan" as requested for causing accessibility crashes (bug 1977012). This reverts commit aaf970807d281c28c1e937491719d996cb11648a. This reverts commit f5f2e3cf4d34c2430372ba790d77620837d56b75. This reverts commit 5565c5899c32c0b0f5446561a21c5b6499fd44c6.
<!DOCTYPE html>
<!-- DO NOT EDIT! Generated by `common/security-features/tools/generate.py --spec content-security-policy/` -->
<html>
  <head>
    <meta charset="utf-8">
    <meta name="timeout" content="long">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/common/security-features/resources/common.sub.js"></script>
    <script src="../../../generic/test-case.sub.js"></script>
  </head>
  <body>
    <script>
      TestCase(
        [
          {
            "expectation": "blocked",
            "origin": "same-http",
            "redirection": "keep-origin",
            "source_context_list": [],
            "source_scheme": "http",
            "subresource": "worker-module",
            "subresource_policy_deliveries": [],
            "test_description": "Content Security Policy: Expects blocked for worker-module to same-http origin and keep-origin redirection from http context."
          },
          {
            "expectation": "blocked",
            "origin": "same-http",
            "redirection": "no-redirect",
            "source_context_list": [],
            "source_scheme": "http",
            "subresource": "worker-module",
            "subresource_policy_deliveries": [],
            "test_description": "Content Security Policy: Expects blocked for worker-module to same-http origin and no-redirect redirection from http context."
          }
        ],
        new SanityChecker()
      ).start();
    </script>
    <div id="log"></div>
  </body>
</html>