mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Update content-security-policy.
This commit is contained in:
parent
0fef1bfbec
commit
19216627d3
7 changed files with 16 additions and 6 deletions
|
@ -39,7 +39,7 @@ bitflags = "1.0"
|
|||
bluetooth_traits = {path = "../bluetooth_traits"}
|
||||
canvas_traits = {path = "../canvas_traits"}
|
||||
caseless = "0.2"
|
||||
content-security-policy = {version = "0.3.0", features = ["serde"]}
|
||||
content-security-policy = {version = "0.4.0", features = ["serde"]}
|
||||
cookie = "0.11"
|
||||
chrono = "0.4"
|
||||
crossbeam-channel = "0.4"
|
||||
|
|
|
@ -460,6 +460,7 @@ impl HTMLScriptElement {
|
|||
&text,
|
||||
) == csp::CheckResult::Blocked
|
||||
{
|
||||
warn!("Blocking inline script due to CSP");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue