Fix hash algorithm case-insensitiveness (#36962)

Part of #4577

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
Tim van der Lippe 2025-05-11 17:59:43 +02:00 committed by GitHub
parent 4821bc0ab0
commit fec6778eaa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 1 additions and 7 deletions

2
Cargo.lock generated
View file

@ -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",

View file

@ -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

View file

@ -1,3 +0,0 @@
[style-src-hash-case-insensitive.html]
[All style elements should load because they have proper hashes]
expected: FAIL