diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-06-26 10:48:30 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-06-26 10:48:30 +0200 |
commit | 1359e8e4624d10ceb0bf55bcb1cb2903141c6d38 (patch) | |
tree | 131f289fd18efb5b28653f6b5d83953f8e6c820b /tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-multiple-policies-multiple-hashing-algorithms.html | |
parent | f017169ae482effc446384050e79b752bd9ddfe5 (diff) | |
download | servo-1359e8e4624d10ceb0bf55bcb1cb2903141c6d38.tar.gz servo-1359e8e4624d10ceb0bf55bcb1cb2903141c6d38.zip |
Move `tests/wpt/web-platform-tests` to `tests/wpt/tests`
Diffstat (limited to 'tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-multiple-policies-multiple-hashing-algorithms.html')
-rw-r--r-- | tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-multiple-policies-multiple-hashing-algorithms.html | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-multiple-policies-multiple-hashing-algorithms.html b/tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-multiple-policies-multiple-hashing-algorithms.html deleted file mode 100644 index 70b31457278..00000000000 --- a/tests/wpt/web-platform-tests/content-security-policy/script-src/script-src-multiple-policies-multiple-hashing-algorithms.html +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE HTML> -<html> -<head> - <title>Multiple policies with different hashing algorithms still work.</title> - <!-- nonces are here just to let all of our scripts run --> - <script nonce="abc" src='/resources/testharness.js'></script> - <script nonce="abc" src='/resources/testharnessreport.js'></script> -</head> -<body> - <script nonce="abc"> - var t = async_test("Test that script executes if allowed by proper hash values"); - document.addEventListener("securitypolicyviolation", t.unreached_func("Should not have triggered a security event")); - var executed = false; - </script> - - <!-- test will fail if this script is not allowed to run --> - <script>executed = true;</script> - - <script nonce="abc"> - t.step(function() { - assert_true(executed); - t.done(); - }); - </script> -</body> -</html> |