aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim van der Lippe <TimvdLippe@users.noreply.github.com>2025-05-11 17:59:43 +0200
committerGitHub <noreply@github.com>2025-05-11 15:59:43 +0000
commitfec6778eaaca48edaebcb23b91117cdf9078cab6 (patch)
treefc3ce537aacc90d7a72ca0bb60a0576be89d0283
parent4821bc0ab01e1ed0bb27e86c2df545019bd3856a (diff)
downloadservo-fec6778eaaca48edaebcb23b91117cdf9078cab6.tar.gz
servo-fec6778eaaca48edaebcb23b91117cdf9078cab6.zip
Fix hash algorithm case-insensitiveness (#36962)
Part of #4577 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
-rw-r--r--Cargo.lock2
-rw-r--r--tests/wpt/meta/content-security-policy/script-src/scripthash-case-insensitive.sub.html.ini3
-rw-r--r--tests/wpt/meta/content-security-policy/style-src/style-src-hash-case-insensitive.html.ini3
3 files changed, 1 insertions, 7 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 0dee2b21944..628135675c2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1223,7 +1223,7 @@ dependencies = [
[[package]]
name = "content-security-policy"
version = "0.5.4"
-source = "git+https://github.com/servo/rust-content-security-policy/?branch=servo-csp#fcd91e99139ca96629e04e1a8010f96374f0370f"
+source = "git+https://github.com/servo/rust-content-security-policy/?branch=servo-csp#e4c0d325022d45b90dadeb149bfa465e4a6b3047"
dependencies = [
"base64 0.22.1",
"bitflags 2.9.0",
diff --git a/tests/wpt/meta/content-security-policy/script-src/scripthash-case-insensitive.sub.html.ini b/tests/wpt/meta/content-security-policy/script-src/scripthash-case-insensitive.sub.html.ini
deleted file mode 100644
index 19b7395760a..00000000000
--- a/tests/wpt/meta/content-security-policy/script-src/scripthash-case-insensitive.sub.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[scripthash-case-insensitive.sub.html]
- [Expecting alerts: ["PASS (1/6)","PASS (2/6)","PASS (3/6)","PASS (4/6)","PASS (5/6)","PASS (6/6)"\]]
- expected: FAIL
diff --git a/tests/wpt/meta/content-security-policy/style-src/style-src-hash-case-insensitive.html.ini b/tests/wpt/meta/content-security-policy/style-src/style-src-hash-case-insensitive.html.ini
deleted file mode 100644
index fe35d3ea411..00000000000
--- a/tests/wpt/meta/content-security-policy/style-src/style-src-hash-case-insensitive.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[style-src-hash-case-insensitive.html]
- [All style elements should load because they have proper hashes]
- expected: FAIL